We walk in the dark places no others will enterWe stand on the bridge and no one may pass
CREATE DATABASE MdxStepByStep ON (FILENAME = 'D:\MSSQL\MdxStepByStep.mdf') FOR ATTACH;
sg 5173, Level 16, State 1, Line 1One or more files do not match the primary file of the database. If you are attempting to attach a database, retry the operation with the correct files. If this is an existing database, the file may be corrupted and should be restored from a backup.Log file 'C:\Microsoft Press\MDX SBS\Setup\SQL Server\MdxStepByStep_log.LDF' does not match the primary file. It may be from a different database or the log may have been rebuilt previously.Msg 1813, Level 16, State 2, Line 1Could not open new database 'MdxStepByStep'. CREATE DATABASE is aborted.