Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 7,2000
»
General
»
Is it possible to move database from sql...
Is it possible to move database from sql server 2005 to server 2000 ..??
Rate Topic
Display Mode
Topic Options
Author
Message
vaibhav.a
vaibhav.a
Posted Wednesday, January 07, 2009 10:09 PM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Tuesday, April 27, 2010 1:12 AM
Points: 133,
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
Post #632097
RBarryYoung
RBarryYoung
Posted Wednesday, January 07, 2009 11:17 PM
SSCrazy Eights
Group: General Forum Members
Last Login: Saturday, May 04, 2013 11:13 AM
Points: 9,855,
Visits: 9,374
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."
Post #632122
GilaMonster
GilaMonster
Posted Wednesday, January 07, 2009 11:25 PM
SSC-Dedicated
Group: General Forum Members
Last Login: Today @ 12:59 PM
Points: 37,640,
Visits: 29,895
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 2008, MVP
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
Post #632126
ChiragNS
ChiragNS
Posted Wednesday, January 07, 2009 11:43 PM
SSCrazy
Group: General Forum Members
Last Login: Wednesday, April 24, 2013 5:02 AM
Points: 2,365,
Visits: 1,825
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"
Post #632136
Andries Vermaak-433333
Andries Vermaak-433333
Posted Monday, February 08, 2010 2:01 AM
Forum Newbie
Group: General Forum Members
Last Login: Thursday, December 06, 2012 3:37 AM
Points: 7,
Visits: 166
I had the joy doing this little exercise last year. There is nothing to complex with this tasks. It is just @#$# work.
Post #861482
Rohan Joackhim
Rohan Joackhim
Posted Monday, February 08, 2010 12:41 PM
Grasshopper
Group: General Forum Members
Last Login: Tuesday, May 14, 2013 10:32 AM
Points: 11,
Visits: 229
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
Post #861978
evilatwork
evilatwork
Posted Wednesday, February 10, 2010 7:40 AM
SSC Rookie
Group: General Forum Members
Last Login: Wednesday, April 13, 2011 9:52 PM
Points: 29,
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!
Post #863243
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.