dbTalk Databases Forums  

How can I check out the reason a db is in recovery?

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss How can I check out the reason a db is in recovery? in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Henk van den Berg
 
Posts: n/a

Default Re: How can I check out the reason a db is in recovery? - 04-28-2011 , 07:46 PM






On 28-04-2011 23:58, Erland Sommarskog wrote:
Quote:
If you are on SQL 2008, you can script a database including data from
SSMS.
How? I've looked through Options|SQL Server Object Explorer|Scripting
but I can't find an option "Script data" or something like that.

Best,
Henk

Reply With Quote
  #12  
Old   
Henk van den Berg
 
Posts: n/a

Default Re: How can I check out the reason a db is in recovery? - 04-29-2011 , 12:59 AM






On 28-04-2011 17:44, mat wrote:
Quote:
Is there a way to 'rebuild' a database, as if one was importing from
scratch with a sql script? Even with the production db I have the
As Erland said,you can script the tables with the data.
It works like this:

http://www.hvandenberg.net/ScriptObject.jpg shows you where to start
http://www.hvandenberg.net/ScriptOptions.jpg shows you what to change

Best,
Henk

Reply With Quote
  #13  
Old   
Henk van den Berg
 
Posts: n/a

Default Re: How can I check out the reason a db is in recovery? - 04-29-2011 , 01:05 AM



On 29-04-2011 02:46, Henk van den Berg wrote:

Quote:
How? I've looked through Options|SQL Server Object Explorer|Scripting
but I can't find an option "Script data" or something like that.
Never mind, found it.

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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.