2017-05-09 8 views

答えて

0

以下のSQLCMDを使用してfilename.sqlを実行するコマンドプロンプトクエリを使用します。

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. 
関連する問題