阅读背景:

SQL分割两个整数,得到一个十进制值错误

来源:互联网 

In an SQL statement, I am trying to divide two integers (integer 1 is "abc" in my code below, integer 2 is "xyz" in my code), and get a result as a decimal (def in my code below). The decimal result should have a leading 1 or 0 only, followed by a decimal and 3 numbers after the decimal. However my code keeps returning a straight 0 with no decimals.In an SQL statement, I am trying to divide two




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: