December 16, 2010 at 1:50 pm
Hello everyone
I'm in big trouble and need your help.
My server running Windows 2003 Server, suffered a power outage, which resulted in the destruction of the raid had.
I had to take the disks to a laboratory where it was rebuilt the raid.
He had two databases on the server, I got a file from mdf and LFD rebuild, despite having attachments without ldf therefore attach to the SQL server 2005 managed to rebuild the log.
In the case of another database strange thing happened, the date of the MDF does not match the last date of use, is dated June when the last use was in October, however the log I have the date of October.
Another strange thing is that the database typically had 700 mb and is currently at 580 mb. .
Does anyone have any suggestions to rebuild and get this database?
Help me please.
Thanks.
December 16, 2010 at 2:02 pm
What's the exact error when you try to attach?
Let me guess, no backup?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
December 16, 2010 at 2:27 pm
These are the two error messages.
The first attempt tried to use the log.
In the second he tried to rebuild the log.
thanks
December 16, 2010 at 2:29 pm
Text of the errors please. I'm not downloading 5MB of images just to see a couple hundred bytes of test data.
Do you have a backup?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
December 16, 2010 at 2:50 pm
No i don't have a backup
December 16, 2010 at 2:54 pm
GilaMonster (12/16/2010)
Text of the errors please. I'm not downloading 5MB of images just to see a couple hundred bytes of test data.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
December 16, 2010 at 2:55 pm
without log i have this message:
The log cannot rebuilt because the database was not cleanly shutdown.
December 16, 2010 at 2:58 pm
An exception occurred while executing a transact-sql statement or batch
December 16, 2010 at 3:04 pm
And with the log?
The more info you give the more likely it is that someone can help. If you're vague we're just going to keep asking for more and more details.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
December 16, 2010 at 3:11 pm
An excepcional occurred while executing a trasact-sql statement or batch.
The operating system returned error 38 (end of file) to sql Server during a read at offset 0x000000100000 in file .....*.log
December 16, 2010 at 3:17 pm
Ok... Give this a try, see if it lets you get the DB back. If not, you're out of luck.
http://sqlinthewild.co.za/index.php/2009/06/09/deleting-the-transaction-log/
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 24, 2011 at 3:52 pm
Hi miguelxsc,
The SQL Server 2005 some time through this error, but i don't know why it is coming. However the database will attach successfully, even though it showed that error message. Could you please refresh your database and you will see your database there.
Regards
Moosa
January 24, 2011 at 4:17 pm
moosamca (1/24/2011)
Hi miguelxsc,The SQL Server 2005 some time through this error, but i don't know why it is coming. However the database will attach successfully, even though it showed that error message. Could you please refresh your database and you will see your database there.
Regards
Moosa
It's great that you're enthusiastic - but please don't post advice when you don't know what you're talking about.
Paul Randal
CEO, SQLskills.com: Check out SQLskills online training!
Blog:www.SQLskills.com/blogs/paul Twitter: @PaulRandal
SQL MVP, Microsoft RD, Contributing Editor of TechNet Magazine
Author of DBCC CHECKDB/repair (and other Storage Engine) code of SQL Server 2005
Viewing 13 posts - 1 through 12 (of 12 total)
You must be logged in to reply to this topic. Login to reply