in reply to Datatypes. A Perl T-SQL comparison
So something like
would produce reasonable output.select CAST(@number_of_years AS INT)
Of course me I'd have declared @number_of_years as INT, and then used convert() or cast() in the assignments directly...
Michael
|
|---|