Quantcast
Viewing all articles
Browse latest Browse all 12198

Example given is incorrect

It should read:DECLARE @CurrentApp nvarchar(128) --N.B APP_NAME() is NVARCHAR (128) not NVARCHAR (40)SET @CurrentApp = APP_NAME()IF @CurrentApp <> N'Microsoft SQL Server Management Studio - Query'PRINT 'This process was not started by a SQL Server Management Studio query session.';GO

Viewing all articles
Browse latest Browse all 12198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>