How to pass param from bat script to sql script

前端 未结 0 971
陌清茗
陌清茗 2021-02-02 12:53

BAT file: SQLCMD -s SQL-SL_SQL01 -E -I “C:\\Users\\sqladmin\\SqlLocationChange.sql”

SQL file: EXEC xp_instance_regwrite N\'HKEY_LOCAL_MACHINE\' , N\'SoftwareMicrosoftMSSQ

相关标签:
回答
  • 消灭零回复
提交回复
热议问题