Unix Technical Forum

SQl 7.0 issue while attaching a database

This is a discussion on SQl 7.0 issue while attaching a database within the SQL Server forums, part of the Microsoft SQL Server category; --> Hi, I am tring to attached a database in SQL using the following command. Can any one please help. ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2008, 05:26 PM
Gopinath Othayoth
 
Posts: n/a
Default SQl 7.0 issue while attaching a database

Hi,
I am tring to attached a database in SQL using the following command.
Can any one please help. Basically I have a MDF and LDF files which I
need to open in SQL 7.0, these files are from a diff SQL7.0 machine
which is crashed.

PLEASE HELP. There are many valuable info in the database.

Command :
EXEC sp_attach_db @dbname = N'Digitalindia',
@filename1= N'C:\SqlMaster.MDF',
@filename2= N'C:\SqlMaster.LDF'

Error :
Server: Msg 5172, Level 16, State 15, Line 1
The header for file 'C:\SqlMaster.MDF' is not a valid database file
header. The PageAudit property is incorrect.


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:37 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com