GilaMonster (6/17/2012)
What is the exact script you are using?Why don't you contact MS press or the author and ask them for a working DB?
This is one of the scripts.
CREATE DATABASE MdxStepByStep
ON (FILENAME = 'D:\MSSQL\MdxStepByStep.mdf')
FOR ATTACH_REBUILD_LOG;
I got the Database from the CD.
The script that I provided is the same as in the CD.
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/