Solved

display progress of executing query

Posted on 2006-11-28
2
308 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 500 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

919 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now