• Jacob Wilkins (5/25/2015)


    Ah, I understand your thought now.

    Attaching the database files does not move them to the default data directory. They will remain in the location from which they were attached.

    Cheers!

    OMG 🙂 I cant believe it. Thank you very much for answer. I found many answers on net which says about moving mdf to default folder but I didnt realize until now why.

    Why do you think is that so, attach location is future database location? Its not logical for me at all. Is it just for attach command or restore bak file as well?

    I am new to SQL Server but work with others DB for long time.