Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Show dynamic SQL from Stored procedure

Status
Not open for further replies.

zemp

Programmer
Jan 27, 2002
3,301
CA
SQL Server 2000 SP4

Is there a way to show the finished SQL statement from within a stored procedure that dynamically creates it.

Even if all that can be done is to send it to a file.

zemp
 
Forgive me, but I can't find the message tab that was mentioned. Where is it?

zemp
 
in query analyzer

2jb7d3c.jpg


Denis The SQL Menace
--------------------
SQL Server Code,Tips and Tricks, Performance Tuning
Google Interview Questions
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top