?
Solved

Export SQL Server Tables from SQL Server 2005 Express to SQL Server 2000

Posted on 2007-04-04
4
Medium Priority
?
296 Views
Last Modified: 2010-03-19
I have created a database on Microsoft SQL Server Express and I need to export a number of tables (but not all tables) complete with the index information  to a SQL Server 2000 database.

The problem is that the CREATE scripts generated by SQL Server Express are not compatible with SQL2000 so that, when I try to run the scripts on the SQL 2000 server, they fail the syntax check.

What's the easiest way of doing this?
0
Comment
Question by:ccravenbartle
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 28

Expert Comment

by:imran_fast
ID: 18849866
When generating the script on sql 2005 express select the option of 2000 compatible and then run it on sql 2000 server
0
 

Author Comment

by:ccravenbartle
ID: 18850020
I can't find the 2000 compatible option on my copy of SQL Server Express.  I am generating the scripts by right clicking on the table to be exported, selecting the Script Table as CREATE TO, selecting the File option and then entering the name of the .sql file.  Where is the 2000 compatible option?
0
 
LVL 28

Accepted Solution

by:
imran_fast earned 1000 total points
ID: 18850265
Because you have express edition, its there in the other editions like standard and developer editions.

Try using DTS of sql 2000 to import the objects from sql 2005 express to sql 2000.
0
 
LVL 7

Assisted Solution

by:assyst
assyst earned 1000 total points
ID: 18850627
compatability level is available with sql2005 express edition
..for changing the compatabiliity level ..right click the database, select properties...goto options and there u can see the compatability level ..

or else use [sp_dbcmptlevel] to change the compatability level to 2000
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question