Hi all,
The exercise I am doing is upgrading from Nav 3.70/SQL2000 -> Nav 4.03/SQL2000 -> Nav 5.01/SQL2000. All of this went good. Now I need ti finalize by migrating to SQL2005.
Can I simply detach the databse from SQL2000 and attach it to SQL2005, or is there some security settings etc. I need to do?
Someone has asked a similar question in a different forum -
http://dynamicsuser.net/forums/p/19762/115251.aspx - but I can't quite find the answer to my question.
/G
Comments
Technically you should be able to just detach and attach the database files to the new server - but there may be compatability level issues and other issues that prevent you from getting the full use of SQL 200 5 capabilities on the database.
Epimatic Corp.
http://www.epimatic.com
But you are saying it's safest to take the export/import road rather than detach/attach?
This posting is provided "AS IS" with no warranties, and confers no rights.
Thanks guys!
Well, I've done that plenty of times: detach 2000 - copy/move - attach 2005: no problems, never. As soon as you attach a SQL 2000 database to a 2005 server it is converted to a SQL 2005 db; but you have to change the "Database Compatibility Level" from "80 (2000)" to "90 (2005)". This "Compatibility Level" defines how the TSQL syntax is interpreted; e.g. to use all the new DMV etc. you need to set it to "90".
The only aspect to consider might be: which is faster? Making a SQL backup and restore, or detach/attach? This actually depends on the size of the database files, the space used and the capabilities of the disk-subsystem ...
When it is about "security", of course, you have to set up the Logins and Users in the new server, too. But this script/process will help you: http://support.microsoft.com/kb/246133
Kind regards,
Jörg
NAV/SQL Performance Optimization & Troubleshooting
STRYK System Improvement
The Blog - The Book - The Tool
I described one thing you need to take into account when moving DB from MS SQL 2000 to higher version...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.