Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

display progress of executing query

Posted on 2006-11-28
2
Medium Priority
?
330 Views
Last Modified: 2008-02-01
I am using SSMS to execute a batch, which has multiple long running updates statements. SSMS only displays the results of the updates statements (how many rows were affected) after all the queries in the batch have completed. Is there any way to get SSMS to display the result of each query as soon as it completes?  So that i can get some feedback of it's progress while it is executing rather than waiting for it to be done?

thx,

0
Comment
Question by:brokeMyLegBiking
2 Comments
 
LVL 75

Accepted Solution

by:
Anthony Perkins earned 2000 total points
ID: 18034132
The only way you can get any feedback would be separating each query with a GO and add print statements such as:
PRINT 'Query XYZ completed'

But you should understand that adding GO statement could make your queries syntactically incorrect.
0
 
LVL 4

Author Comment

by:brokeMyLegBiking
ID: 18036917
k, thx, I guess that's what I expected.
0

Featured Post

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Ready to get certified? Check out some courses that help you prepare for third-party exams.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question