Viewing 4 posts - 1 through 4 (of 4 total)
type C:\Scripts\Option2.txt | findstr /v \-\- > C:\Scripts\DestFile.csv
del C:\Scripts\Option2.txt
October 25, 2011 at 2:19 am
Create a batch file and save it in the directory where all the sql files are located. To do that follow the below:
1) Open notepad and copy the below:
for %%G...
October 14, 2011 at 4:58 am
Thanks, will try that and try to come up with other alternatives (this is turning out to be wayyy more complicated than I first anticipated!).
The main problem is I...
October 13, 2011 at 8:04 am
for %%G in (*.sql) do sqlcmd /S SQLSRV02 /d Accounts -E -I -i "%%G"
pause
Above is the code. I am starting to think I may have to do this in...
October 13, 2011 at 5:08 am
Viewing 4 posts - 1 through 4 (of 4 total)