Use Batch SQL Scripts
Creating a Script File
Saving and Reusing a Script
Running a Script
Running in Step Mode
Running From the Command Line
Using Host Variables
Changing Host Variable Values
Parent topic:
SQL Wizard