このコマンドを使用して、行を除外していますset timing on;
type filea.sql | findstr /v "^set timing on;$"
そして出力、私が得ているのは次のとおりです:
whenever sqlerror exit 9;
grant select on exfdsfds;
exit;
filea.sqlの内容は次のとおりです。
set timing on;
whenever sqlerror exit 9;
grant select on exfdsfds;
timing on; cool
exit;
なぜ削除するtiming on; cool
のですか?そのような結果を回避するには、コマンドにどのような変更が必要ですか?