Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Incrementing a variable
Message
 
 
To
17/06/2008 16:05:43
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01324913
Message ID:
01324915
Views:
11
>I get this error on the block below:
>
>Msg 2716, Level 16, State 1, Line 243
>Column, parameter, or variable #42: Cannot specify a column width on data type int.
>
>
>
>DECLARE @Count AS INTEGER(4)
>
>SET @Count = 0
>.
>.
>.
>SET @Count = @Count + 1
>
Instead of INTEGER (4) should it be Integer?
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform