[dba-SQLServer] DoEvents equivalent

jwcolby jwcolby at colbyconsulting.com
Fri Jun 25 19:04:40 CDT 2010


LOL. I don't know.  This is inside of a stored procedure.

John W. Colby
www.ColbyConsulting.com


Bobby Heid wrote:
> John,
> 
> Does putting "Go" in between each set of queries give you what you want?
> 
> Bobby
> 
> 
> -----Original Message-----
> From: dba-sqlserver-bounces at databaseadvisors.com
> [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of jwcolby
> Sent: Wednesday, June 23, 2010 9:34 AM
> To: Sqlserver-Dba; Access Developers discussion and problem solving
> Subject: [dba-SQLServer] DoEvents equivalent
> 
> Is there a DoEvents equivalent in SQL Server?
> 
> I perform a set  of update queries (dynamic SQL) in a cursor, printing a
> status for each loop of the 
> cursor.  The stuff prints but only when the entire thing finishes.  I would
> like to print the 
> results as each update occurs.
> 



More information about the dba-SQLServer mailing list