Mdf integrity

  •  

    Hi all,

    Is there any way to check the integrity of .Mdf file before attaching it to a database means to check whether its valid (or) not.

    Thanks.

    //Najeed.

  • Use the DBCC CHECKDB command on the database.

    I am not sure if there is any command to check the intergrity / internal structure of the mdf file in SQL Server. If you have only the mdf file, then attach it and then run the DBCC command.

    Minaz Amin

     

     

    "More Green More Oxygen !! Plant a tree today"

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply