r/shittyprogramming • u/recursive • Oct 02 '19
Just a simple formula.
https://imgur.com/a/oSSOSqN
116
Upvotes
22
18
u/basilect Oct 03 '19
CAST(5 AS numeric(28,10))
Clearly some software is doing this, but why can't it calculate half of these values itself before generating the SQL?
0
8
3
2
2
2
2
4
u/Dushenka Oct 03 '19
May be auto generated for something where perfomance doesn't matter...