Есть файл mdf с другого компа с разными учетными записями
При замене файла mdf на другой пишет the database is not accessible. (objectexplorer)
Если делать attach :
Msg 1813, Level 16, State 2, Line 1
Could not open new database 'nt2'. CREATE DATABASE is aborted.
Msg 1813, Level 16, State 2, Line 1
Could not open new database 'nt2'. CREATE DATABASE is aborted.
Msg 9003, Level 20, State 1, Line 1
The log scan number (5611:196301:37) passed to log scan in database 'nt2' is not valid. This error may indicate data corruption or that the log file (.ldf) does not match the data file (.mdf). If this error occurred during replication, re-create the publication. Otherwise, restore from backup if the problem results in a failure during startup.