Solved

display progress of executing query

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

679 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