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 co
Hope this will work...
SELECT CONVERT(DECIMAL(4,3), abc/10.0) AS def FROM dbo.whatever;