How to use the new function fn_get_sql()

By Bill Graziano on 16 October 2003 | 0 Comments | Tags: Administration


Narayana Vyas Kondreddi submitted "This article shows you how to use the new function fn_get_sql() and the 3 new columns of master.dbo.sysprocesses. These changes were introduced in SQL Server 2000 SP3/SP3A. In this article, you will find a general purpose stored procedure called ShowCodeLine. It makes use of these new features, to inspect a given spid, and display the currently executing line/query." Follow the link to How to use the new function fn_get_sql()...

Discuss this article: 0 Comments so far. Print this Article. This page has been read 7,637 times.

If you like this article you can sign up for our newsletter. We send it out each week that we post a new article. There's an opt-out link at the bottom of each newsletter so it's easy to unsubscribe at any time.

Email Address:

Email ThisSubscribe to this feedKick itSave to del.icio.usView blog reactions

Related Articles

Using xp_ReadErrorLog in SQL Server 2005 (12 May 2008)

Moving the tempdb database (5 November 2007)

Centralized Asynchronous Auditing across Instances and Servers with Service Broker (20 August 2007)

Centralized Asynchronous Auditing with Service Broker (16 July 2007)

SQL Server 2005 Best Practices on TechNet (4 December 2006)

Scripting Database Objects using SMO (Updated) (29 November 2005)

Troubleshooting Performance Problems in SQL Server 2005 (3 November 2005)

Dynamic Management Views (30 October 2005)

Other Recent Forum Posts

Foreign Key References Invalid Table (0 Replies)

Failed to import Excel Data (1 Reply)

pending transactions (2 Replies)

hardware requairment for 1200 concurrent connetion (6 Replies)

Question about considering scaling while designing (5 Replies)

SQL Server Job fails (6 Replies)

database purging (6 Replies)

Installation Error - packagefortheweb (3 Replies)

Subscribe to SQLTeam.com

Weekly SQL Server newsletter with articles, forum posts, and blog posts via email:

SQLTeam.com Articles via RSS

SQLTeam.com Weblog via RSS

- Advertisement -

SQL Server Jobs