February 12, 2010 at 9:02 am
I have my database set up in SQL server 2000. Our company has currently decided to upgrade it to SQL server 2008. I wanted to know the steps to be followed to migrate the data from SQL 2000 to SQL 2008. I am a complete fresher at this. I have no knowledge at all. Detailed explanation will be highly appreciated.
Regards,
Punit
February 12, 2010 at 2:06 pm
Well there a various approaches ...
Perhaps the simplest is to perform a full backup of your existing SQL 2000 database, restore this onto your SQL 2008 instance.
Ensure that the database still runs in SQL 2000 compatability level, and only switch to full SQL 2008 compatability if you are certain nothing breaks.
I know you asked for a detailed explanation, but I hope the above prompts you to make a start and if necessary come back with further questions.
I appreciate it is not fun when your organisation dumps a problem on you that you do not know at the start how to solve.
February 12, 2010 at 3:56 pm
Are you doing an in-place upgrade? I assume not. I haven't done SQL 2000 -> SQL 2008 but have done SQL 2000 -> SQL 2005.
Back and restore (and check compatability as previous poster noted) and transfer your logins.
If you are using DELL...
February 12, 2010 at 4:45 pm
You might want to download and use:
Microsoft SQL Server 2008 Upgrade Advisor
Brief Description
Download the Microsoft SQL Server 2008 Upgrade Advisor. Upgrade Advisor analyzes instances of SQL Server 2000 and SQL Server 2005 to help you prepare for upgrades to SQL Server 2008.
At:
Also refer to
SQL Server Database Engine Backward Compatibility
http://technet.microsoft.com/en-us/library/ms143532.aspx
Another item
ALTER DATABASE Compatibility Level (Transact-SQL)
http://technet.microsoft.com/en-us/library/bb510680.aspx
And then to show your company that you are budget conscious purchase SQL Server Developer Edition, although it can NOT be used for production, it would make a good sandbox for you to test your databases. It is available from Amazon.com for less that $50 (USD).
Hope this gets you started .
February 22, 2010 at 9:30 am
Thanks a lot everyone for your suggestions...I migrated the data by backing it up in sql 2000 and restoring with sql 2008. It worked fine. The only problem that I found was that my ntext datatype in sql 2000 was automatically converted to varchar(2000). As a result my text got truncated to 2000 characters. Any suggestions with what I can do about that data type? It does not allow me to change it in sql 2008 either.
Regards,
Punit
February 22, 2010 at 10:19 am
Pretty sure a backup/restore from SQL 2000 to SQL 2008 cannot convert an ntext datatype to varchar(2000).
text, ntext and image are all deprecated in SQL 2008, but they still exist. How did you do the backup/restore?
The proper non-deprecated replacement for ntext is nvarchar(max), so if you need unicode support and > 8000 chars then this is what you should use going forward, but you can still work with text/ntext in this version.
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply