none
Question about different between DECLARE @local_variable and DECLARE @@local_variable

    Question

  • What's the different between

    DECLARE @local_variable

    abd 

    DECLARE @@local_variable

    Thanks!


    mulder

    Wednesday, April 03, 2013 10:57 PM

Answers

  • The first @ symbol shows that its an user defined variable, rest of @s are considered as string characters( other than system variables).

    Thanks Sarat --Please use Marked as Answer if my post solved your problem and use Vote As Helpful if the post was useful.


    • Edited by Sarat Babu (SS) Thursday, April 04, 2013 7:14 AM
    • Marked as answer by szmulder Wednesday, April 10, 2013 10:43 PM
    Thursday, April 04, 2013 7:10 AM

All replies