How do I import a sql data file into SQL Server?

后端 未结 7 1818
北海茫月
北海茫月 2020-12-08 03:41

I have a .sql file and I am trying to import it into SQL Server 2008. What is the proper way to do this?

7条回答
  •  爱一瞬间的悲伤
    2020-12-08 04:14

    Try this process -

    Open the Query Analyzer

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

    Once opened, connect to the database that you are wish running the script on.

    Next, open the SQL file using File --> Open option. Select .sql file.

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

提交回复
热议问题