irani
Grasshopper
Points: 13
More actions
April 3, 2016 at 12:04 pm
#317663
How to print out a SQL statement in a stored procedure when I am debugging an ASP.NET web site in Visual Studio 2015?
BLOB EATER
SSChampion
Points: 14609
April 4, 2016 at 1:45 am
#1869415
errrhm.. PRINT command?
Grant Fritchey
SSC Guru
Points: 399278
April 4, 2016 at 3:48 am
#1869432
Do you mean, capture the information? In SQL Server 2008 you can use trace events. In 2012 or greater you use extended events.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"- Theodore Roosevelt
Author of:SQL Server Execution PlansSQL Server Query Performance Tuning
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply