use DATABASE_NAME
source SQL_FILE_PATH
e.g.
use test
source c://users.sql
sqlcmd -S SERVERNAME -d MYDATABASE -U USERNAME -P PASSWORD -i C:pathmysqlfile.sql -o C:path
esults.txt
- Go to the DB-Connection
- Create a new DB
- Right-Click on this DB,
- Choose Tools > Import. Than choose the .sql-file.