Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase «««1234

Incremental additions Expand / Collapse
Author
Message
Posted Friday, December 3, 2010 2:26 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Friday, July 11, 2014 5:06 AM
Points: 1,090, Visits: 63
hi,

I think this will give diif result in SQL Server 2008.
if question is

select @a += @b
select @a

then result will be
like 0,-21
bcoz it supports Compound Operators.


Regards,
Nitin Parthe
Post #1029700
Posted Tuesday, April 19, 2011 4:35 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Friday, June 17, 2011 7:09 AM
Points: 44, Visits: 14
Good Question, understanding for increment / decrement in SQL SEVER
Post #1095511
« Prev Topic | Next Topic »

Add to briefcase «««1234

Permissions Expand / Collapse