Home Forums Article Discussions Article Discussions by Author Discuss content posted by Tariq TSQL variable RE: TSQL variable
shini2007
Valued Member
Points: 55
More actions
August 29, 2008 at 1:14 am
#864847
isnull function select the 1 whn @var is null or first time , second time @var=2 , n third time it will 3 n next so ans is 5
but in @var=1+value1
the @var1 is always 1
so ans is 3