SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Is it possible to move database from sql server 2005 to server 2000 ..??


Is it possible to move database from sql server 2005 to server 2000 ..??

Author
Message
vaibhav.a
vaibhav.a
Old Hand
Old Hand (321 reputation)Old Hand (321 reputation)Old Hand (321 reputation)Old Hand (321 reputation)Old Hand (321 reputation)Old Hand (321 reputation)Old Hand (321 reputation)Old Hand (321 reputation)

Group: General Forum Members
Points: 321 Visits: 48
Actually I have developed the project using sql server 2005 as a DB. But now the client wants to go with sql server 2000 only ........
and now i want to move my DB to ita lower version ....... so how can i do this
without causing any effect to the data and to the constraints in the DB

plzzz help me out to find the way........its urgent you can see it....

Thanks
Vaibhav
RBarryYoung
RBarryYoung
SSC Guru
SSC Guru (55K reputation)SSC Guru (55K reputation)SSC Guru (55K reputation)SSC Guru (55K reputation)SSC Guru (55K reputation)SSC Guru (55K reputation)SSC Guru (55K reputation)SSC Guru (55K reputation)

Group: General Forum Members
Points: 55218 Visits: 9518
Script the metadata from 2005, apply the scripts on the 2000 server. Then BCP out the data from each of the tables, then BCP them in to SQL 2000.

-- RBarryYoung, (302)375-0451 blog: MovingSQL.com, Twitter: @RBarryYoung
Proactive Performance Solutions, Inc.
"Performance is our middle name."
GilaMonster
GilaMonster
SSC Guru
SSC Guru (370K reputation)SSC Guru (370K reputation)SSC Guru (370K reputation)SSC Guru (370K reputation)SSC Guru (370K reputation)SSC Guru (370K reputation)SSC Guru (370K reputation)SSC Guru (370K reputation)

Group: General Forum Members
Points: 370670 Visits: 46956
To add on to what Barry said, there is no way to take a backup of a 2005 database and restore it on 2000, nor is it possible to detach a SQL 2005 database and attach it to SQL 2000. The file structure is different, the system tables are different.

And before anyone suggests compatibility level, that just affects the T-SQL parser and the query processor, controlling how commands are interpreted. It does not affect the structure of the database file in an y way.

Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass


ChiragNS
ChiragNS
SSChampion
SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)

Group: General Forum Members
Points: 10211 Visits: 1865
I hope you have'nt used any of the new features in SQL 2005 which will require code changes. If you have used you will need to make code changes.

"Keep Trying"
Andries Vermaak-433333
Andries Vermaak-433333
SSC Journeyman
SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)

Group: General Forum Members
Points: 89 Visits: 259
I had the joy doing this little exercise last year. There is nothing to complex with this tasks. It is just @#$# work.
Rohan Joackhim
Rohan Joackhim
Valued Member
Valued Member (69 reputation)Valued Member (69 reputation)Valued Member (69 reputation)Valued Member (69 reputation)Valued Member (69 reputation)Valued Member (69 reputation)Valued Member (69 reputation)Valued Member (69 reputation)

Group: General Forum Members
Points: 69 Visits: 264
I have done this few years ago.It's not hard as everyone thinks.I used SQL compare from redgate.

"First, create a new database on the SQL Server 2000 instance using Enterprise Manager, SSMS or writing a CREATE DATABASE [databasename] query.
Launch SQL Compare and choose your SQL 2005 database as the source and specify the empty SQL 2000 database as the target.
SQL Compare will produce a script to CREATE all objects in dependency order, and use syntax that is compatible with SQL Server 2000. Where possible, new features such as CLR assemblies are filtered out because they are incompatible with SQL Server 2000. Sometimes this is not possible, for instance if a stored procedure relies on a CLR function. Since the function cannot be created, the stored procedure cannot be successfully scripted. Analyzing your databases for these conditions first is recommended." from Redgate website.

Thanks,
Rohan
evilatwork
evilatwork
Valued Member
Valued Member (65 reputation)Valued Member (65 reputation)Valued Member (65 reputation)Valued Member (65 reputation)Valued Member (65 reputation)Valued Member (65 reputation)Valued Member (65 reputation)Valued Member (65 reputation)

Group: General Forum Members
Points: 65 Visits: 29
Hello

What I have used is the Microsoft SQL Server Database Publishing Wizard , you can download it from the MSwebsite, it will generate a file with the T-SQL scripts for the objects in your database.
You can also include the data!

Then you can create the database in SQL 2000 and run the file in Query Analyzer and that's all.

However you need to be careful because if you're using some SQL 2005 features in your code (like Try-catch error in Stored Procedures) that won't work for SQL 2000

Hope this will be useful for you!
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search