SQL Server Interesting Fact

Just try out this

DECLARE @ AS INT
SET @= 6
PRINT @

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

Comments

Popular posts from this blog

TFS API: Get list of associated work item from work item of any type

Associate Test Case Automation using TFS API

How To: Bulk upload Test Case results to Microsoft Test Manager