![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Situation: Development uses MSSQL for the application. The demo application CD uses MSDE and needs to ship with data that came from the developments MSSQL server. What I've tried: I can just copy and mount the MDF and LDF files, and mount them on the MSDE system. However the only one that has access to them is sa. When I look at the database, I see the other users, and the tables that they own. However, they do not have login rights to the SQL server. If I set them up with login rights on the SQL server, I cannot allow them access to the database because I receive an error that there is already a user with the same name. Thus they are two different users with the same name. Any ideas? Thanks, Jack T. |
#3
| |||
| |||
|
|
You can use BACKUP and RESTORE. |
#4
| |||
| |||
|
|
You can use BACKUP and RESTORE. I tried that. I wasn't able to make it work. The BACKUP seems to have the path embedded because on restore it wants to overwrite or append the files in the same location that the backup came from. If there is a way to do this, that would be great. I will look at revoke and grant. Thanks tons, Jack T. |
#5
| |||
| |||
|
|
Have a look at the WITH MOVE option to the RESTORE cmd |
![]() |
| Thread Tools | |
| Display Modes | |
| |