Viewing 6 posts - 1 through 6 (of 6 total)
Oops, sorry Tremorden. I was looking at your level instead of your name. Cheers,
Jim
September 9, 2008 at 5:14 pm
An excellent suggestion from Enthusiastic.
September 9, 2008 at 5:06 pm
How are you executing the batch file? Are you double clicking it or are you opening a command window and executing it manually? I usually find that the...
September 9, 2008 at 12:31 am
Yes,
here I have told the FOR command to use forward slash instead of space as a delimiter. This stops it splitting the filename at the space (and / cannot...
September 7, 2008 at 5:55 pm
If you are asking how to schedule the query then yes, a SQL Server Agent job will do the trick. If you are asking about the SQL, then check...
September 3, 2008 at 2:04 am
Try the following changes to your batch file syntax
for /F %%X in ('dir /b /ON *.sql') do SQLCMD -S ServerName -d DatabasesName -U UserName -P UserPassword -I...
September 2, 2008 at 1:37 am
Viewing 6 posts - 1 through 6 (of 6 total)