Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase ««12

CONTEXT_INFO() and the SQL Calling Stack Expand / Collapse
Posted Tuesday, August 30, 2011 9:39 AM



Group: General Forum Members
Last Login: Today @ 7:20 PM
Points: 21,751, Visits: 15,449
Great information. Thanks for putting it together.

Jason AKA CirqueDeSQLeil
I have given a name to my pain...
MCM SQL Server


Posting Performance Based Questions - Gail Shaw
Posting Data Etiquette - Jeff Moden
Hidden RBAR - Jeff Moden
VLFs and the Tran Log - Kimberly Tripp
Post #1167638
Posted Friday, September 2, 2011 12:04 PM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Tuesday, March 4, 2014 8:41 AM
Points: 48, Visits: 266
context_info() is a good way to fake a global variable which is not available in sql. (something that will survive "go" and "use" statements).
Post #1169433
« Prev Topic | Next Topic »

Add to briefcase ««12

Permissions Expand / Collapse