Search found 1 match

by exppost
05 Oct 2021 15:01
Forum: DOS Batch Forum
Topic: Looping sqlcmd until condition is met
Replies: 1
Views: 1570

Looping sqlcmd until condition is met

Am trying to loop through the below code until the count returns value greater than 0 (Each iteration should get paused for 5 minutes). Once count returns value greater than 0 it has to exit the indefinite loop and fire insert query to specific table. Am connecting to sql server DB for /f %%a in ('s...