5 replies
by asizemore Accepted solution
by cmiller5400 Accepted solution
by Former member Accepted solution
A few pointers.
Copied from:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=162455&SiteID=1
To restore a SQL 2000 database on SQL 2005
create a new database in 2005 with the same name and compatibility set for SQL 2000 or the version you want to restore from.
restore this database with options 'overwrite existing database'
i did this from one server to another, but it is also possible from a .bak file ofcourse.
Hope this helps you.
Please post back if you have more problems or questions.
by sigman Accepted solution
Are you using SQL Server or Windows Authentication (i.e., do you connect with your network account or enter a separate username and password)?
Do you know what username you are trying to connect as?
If SQL Server, you will need to create the (probably) non-existent SQL Server login and give it a password, then you will need to run "sp_change_users_login 'auto_fix', , '" to link the login to the database username. Then you should be able to make that login dbo and/or do whatever you need to.
If Windows Authentication, open a query analyzer window, change the current database to the recovered database and run "sp_grantdbaccess 'domainname\windowsaccount', "
Obviously replace the info in the angle brackets with your choices.
I'm in Gaithersburg, too, so let me know if you still need help.
by mjdevlugt Accepted solution
Sometimes you can script out the SQL users that exist with drop / create but the passwords would need to be reset.
You can right click the database and go to Tasks, Generate scripts.
Hope that Helps.
This discussion is closed to new replies.
Trending Networks posts
Sort by Trending