• I missed it because of the typo in sp_attachdb. Thought it might be intentional, but was wrong.

    As an aside, Microsoft recommends against that specific method. They say to use Alter Database in preference, and to use Create Database For Attach instead of sp_attach_db.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon