Viewing 2 posts - 1 through 2 (of 2 total)
ups!! pasted from my batch directly:)...actually only first line is sufficient:
@for %%s in (output\sql\*.sql) do ( sqlcmd -S server-name -d database-name -U user-name -P password -i "%%s" )
😉
November 17, 2008 at 8:38 am
#899369
Create batch file with the following contents and replace
server-name, database-name, user-name and password.
@for %%s in (output\sql\*.sql) do ( sqlcmd -S server-name -d database-name -U user-name -P password -i "%%s"...
November 17, 2008 at 7:48 am
#899339