Hi What is the difference between
set @flag=1 and set @@flag = 1 in SQL Server?
Thank you
Nothing. Some in-built functions have names that start with double at signs @@ as a convention. To avoid confusion it is often recommended that you do not use names that start with @@.
Source: MSDN: Using Identifiers - Rules for Regular Identifiers.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With