SQL Server Error 602, failed to find the database solution in sysindexes

Source: Internet
Author: User
This is because the additional database is in the Sql2005 format, and the Sql2000 appending is used.

This is because the additional database is in the Sql2005 format, and the Sql2000 appending is used.

Solution:

It is not possible to directly attach or attach data. It is certainly no problem to use script + to export data.

Steps for transferring Sql2005 to Sql2000

1. Generate database scripts for version 2000
Manger studio in Sql2005
-- Open "Object resource manager" (if not, press F8) to connect to your instance
-- Right-click the database to go to 2000
-- Task
-- Generate scripts
-- In the "select database" in the "script wizard", make sure that the selected database is to be transferred to 2000.
-- Select "write scripts for all objects in the selected Database"
-- In the next "select script options", find the "write script for Server version" option and select "SQL Server 2000"
-- Set other options as needed
-- Finally, save the script to A. SQL script file.

2. Create the target database in 2000
In the query analyzer (or 2005 manger studio opens the script file), connect to SQL Server 2000 and execute the script generated above to create a new database.

3. import data from 2005 to 2000
Manger studio of 2005
-- Open "Object resource manager" (if not, press F8) to connect to your instance
-- Right-click the database to go to 2000
-- Task
-- Export data
-- In the "Select data source" step of the "SQL Server Import and Export wizard", select the database to be exported.
-- In the "select target" step, connect to 2000 and select the library created in step 2.
-- In "select source table and source View", select all tables
-- Final Completion

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.