Execute a SQL script (.sql file) on MsSql Server database

To execute a .sql file, you need to open the “Query Analyzer”

Start -> Programs -> MS SQL Server -> Query Analyzer

Connect to the database that you’re running the script on.

Then open the SQL file using File -> Open

Once it is open, you can execute the file by pressing F5.

  • Email, SSL
  • 0 Usuários acharam útil
Esta resposta lhe foi útil?

Related Articles

Export the data from different tables in our shared SQL environment?

Using Enterprise Manager Expand SQL Server group Expand the server name Expand Databases...

ColdFusion DSN parameters are not updated

SYMPTOMS New CF DSN records are created.  Even the set of parameters is tried to be updated...

MySQL will not start, “MySQL File ‘/usr/share/mysql/charsets/?.conf’ not found” in error log.

The most common cause for this error, is a failed downgrade of MySQL from 4.1 to 4.0.  Many...

Fix nameservers not working for Linux servers

If you have your own namerservers or you are using nameservers provided by host, and these...

Finding what packages are installed on a Linux system

For distributions that use RPM format packages, use the command: $ rpm -qa You may want to...