Đinh Văn Đức
New member
How do I run a SQL script from the command line?
Answer
Run the script file
Answer
Run the script file
- Open a command prompt window.
- In the Command Prompt window, type: sqlcmd -S myServerinstanceName -i C:myScript.sql.
- Press ENTER.