Thursday, June 12, 2008

SQL Server Magic

Hey Pals...
Just try out this
DECLARE @ AS INT
SET @= 6
PRINT @

What you think by looking code?
Isn't it throw an error....but
thats true internally '@' is treated as variable so it will show you output as normal variable.
Just try it..

No comments: