Hi,
On a nightly basis I restore a database called 'tmg2', from a backup set called 'tmg'. But everytime i do it I lose a user, the user still shows up in the database but you cannot log on using that user. I then have to delete the user and re-create it for the user to be able to log on again.
The syntax I using is as follows:
RESTORE DATABASE TMG2
FROM DISK = 'D:\data\TMG_DUMP_PM.BAK'
WITH MOVE 'TMG_Dat' TO 'D:\Data\TMG2.MDF' , MOVE 'TMG_Log' TO 'E:\TMG_Log2.LDF'
, REPLACE
Has anyone had this kind of prob before?
On a nightly basis I restore a database called 'tmg2', from a backup set called 'tmg'. But everytime i do it I lose a user, the user still shows up in the database but you cannot log on using that user. I then have to delete the user and re-create it for the user to be able to log on again.
The syntax I using is as follows:
RESTORE DATABASE TMG2
FROM DISK = 'D:\data\TMG_DUMP_PM.BAK'
WITH MOVE 'TMG_Dat' TO 'D:\Data\TMG2.MDF' , MOVE 'TMG_Log' TO 'E:\TMG_Log2.LDF'
, REPLACE
Has anyone had this kind of prob before?