Question: Modify the code as follows: Declare @col1 int Declare @col2 int Declare @result decimal (9,2) Set @col1 = 5 Set @col2 = 0 Set @result
Modify the code as follows: Declare @col1 int Declare @col2 int Declare @result decimal (9,2) Set @col1 = 5 Set @col2 = 0 Set @result = convert(decimal(9,2),@col1) / @col2 print @result
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
