2017-05-09 6 views

Antwort

0

Verwenden Sie die Eingabeaufforderung unter Eingabeaufforderung, um filename.sql mit SQLCMD auszuführen.

SQLCMD -d <database-name> -U <User-name> -P <Password> -i filename.sql -o output.txt 

-d = Database Name 
-U = User Name 
-P = Password 
-i = Filename.sql 
-o = output.txt 
-E = Windows Authentication mode if you specify this need to skip -U & -P parameters. 
Verwandte Themen