Hello,
I had a DB in SQL7.0 and now I have migrated the same to SQL2K. My project demands that I make a copy of the DB. I tried using the SP_ATTACH_DB stored procedure of making copies of the MASTER DB and attaching the same. When I try to attach the DB, I am getting an error as "Device activation error. The physical file name 'C:\Mssql7\data\S213_Data.mdf' may be incorrect" On further interrogation, I came to know from that I will have to change the folder structure for this. But I am not allowed to do that. There is a suggestion from the said URL that WITH MOVE can be used. I am in the dark now on how to proceed. Any pointers are most welcome....
Warnie
I had a DB in SQL7.0 and now I have migrated the same to SQL2K. My project demands that I make a copy of the DB. I tried using the SP_ATTACH_DB stored procedure of making copies of the MASTER DB and attaching the same. When I try to attach the DB, I am getting an error as "Device activation error. The physical file name 'C:\Mssql7\data\S213_Data.mdf' may be incorrect" On further interrogation, I came to know from that I will have to change the folder structure for this. But I am not allowed to do that. There is a suggestion from the said URL that WITH MOVE can be used. I am in the dark now on how to proceed. Any pointers are most welcome....
Warnie