Incremental additions

  • 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

  • Good Question, understanding for increment / decrement in SQL SEVER

Viewing 2 posts - 31 through 31 (of 31 total)

You must be logged in to reply to this topic. Login to reply