Click here to Skip to main content
15,888,162 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
How do you import .sql file into MS SQL 2000 Server?
Posted
Comments
Dylan Morley 30-Mar-11 4:49am    
See my comments.

1 solution

* Open Query Analyser
* File -> Open
* Browse to your SQL file
* The SQL file is loaded in the query window

Now you can run the SQL file. It may contain instructions such as CREATE DATABASE that will setup a new database....or it may contain SQL statements that need to be run against a particular database.
 
Share this answer
 
Comments
Dylan Morley 30-Mar-11 4:46am    
Moved OP questionL Where to find this query analyzer in MS sql server 2008
Dylan Morley 30-Mar-11 4:48am    
In SQL Server Management Studio, you can just use

File -> Open -> File from the main window, then follow the above steps

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900