Home Forums Article Discussions Article Discussions by Author Discuss content posted by Marie Bayer Calendar Table by Month RE: Calendar Table by Month
fdimartini
SSC Veteran
Points: 259
More actions
September 22, 2014 at 2:03 pm
#1747236
"Msg 139, Level 15, State 1, Line 0
Cannot assign a default value to a local variable."
You probably have an older version of sql. instead of
@variable tinyint =15
do this:
@variable tinyint
set @variable = 15