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
In reply to Re: Datatypes. A Perl T-SQL comparison
by mpeppler
in thread Datatypes. A Perl T-SQL comparison
by Win
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |