I have an MDF file with corruption in the Header.
The error i am receiving with any attempt to attach the file is
The header for file ....\MSSQL\DATA\xxxx_data.mdf' is not a valid database file header. The FILE SIZE property is incorrect.
I have tried a number of online repair tools to see see if they can properly identify the header info and all have found no usable header data.
I have a good backup of the database that shows the properly formatted header, but i want to know if it is possible to use a hex editor and make the necessary changes to the corrupted file from the data in the backup MDF file.
Thanks
Andrew