• I tried this but it does not work... any ideas?

    exec sp_attach_single_file_db N'MyxxDb' , N'E:\SQLServerData\MSSQL\Data\xx_Data.MDF'

    I got the error and the log file is not created...

    I tried also:

    EXEC sp_attach_single_file_db @dbname = N'Altiris',

       @physname = N'E:\AeXNS_Data.mdf'

    EXEC sp_attach_db @dbname = N'AeXNS_Data',

       @filename1 = N'E:\AeXNS_Data.mdf',

       @Filename2 = N'F:\AeXNS_Log.LDF'

    nothing is working...