Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
ravilobo
Master Smack Fu Yak Hacker
1184 Posts |
Posted - 2003-12-08 : 02:04:53
|
| I have only .mdf and .ldf files.How to restore this DB?Thanks in adnace.------------------------I think, therefore I am |
|
|
nr
SQLTeam MVY
12543 Posts |
Posted - 2003-12-08 : 02:51:56
|
| See sp_attach_db in bol.If you did not close down the server or detach the database you may have problemsseehttp://www.nigelrivett.net/RecoverCorruptDatabase.html==========================================Cursors are useful if you don't know sql.DTS can be used in a similar way.Beer is not cold and it isn't fizzy. |
 |
|
|
ravilobo
Master Smack Fu Yak Hacker
1184 Posts |
Posted - 2003-12-08 : 03:38:21
|
| I have not detached the database files.Hence i can not attach them.Is there any other solution?------------------------I think, therefore I am |
 |
|
|
nr
SQLTeam MVY
12543 Posts |
Posted - 2003-12-08 : 10:24:43
|
| What happens when you try an attach.Try the process in the link I gave you.==========================================Cursors are useful if you don't know sql.DTS can be used in a similar way.Beer is not cold and it isn't fizzy. |
 |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2003-12-08 : 12:19:04
|
| I have found that you can sometimes attach a database even if the database was not previously detached or even if the MSSQLSERVER service was not stopped. Just give it a try and see what happens.Tara |
 |
|
|
|
|
|