• hi,

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

    if question is

    select @a += @b-2

    select @a

    then result will be

    like 0,-21

    bcoz it supports Compound Operators.

    Regards,

    Nitin Parthe