Home Forums Article Discussions Article Discussions by Author Discuss content posted by bitbucket DECLARE - 1 RE: DECLARE - 1
jeff.mason
SSCrazy Eights
Points: 9585
More actions
October 3, 2012 at 6:43 am
#1544874
One comment -- the syntax of the question only works on SQL 2008 and up. This line:
DECLARE @a VARCHAR ='xyz'
is not supported on earlier versions; you have to declare and select as two steps.