Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Putting database from normal to standby

Posted on 2008-10-17
3
Medium Priority
?
302 Views
Last Modified: 2012-05-05
This is Primary - standby configuration

when the database was in standby in Management Studio DBNAME(standby)

performed recover database <database name > with recovery

Now is it possible put it back on standby. If so can anyone give a T-SQL

Thanks
0
Comment
Question by:Greens8301
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
PIERCGG earned 2000 total points
ID: 22744113
The ONLY way I know to place the database in standby mode to do it as part of the restore.  You must do the RESTORE WITH STANDBY option when you restore the database; not after the database is already restored.
0
 

Author Comment

by:Greens8301
ID: 22744270
The primary is being accessed by users. Therefore it not switched over

In oracle , we can put the STANDBY database on Managed Recovery mode and take it off from Managed recovery mode.

Is there a way to find what mode is the database ON and switch to standby mode

Thanks
0
 

Author Closing Comment

by:Greens8301
ID: 31507230
Thanks.
These questions for my own theoretical knowledge.
The actual command are typed another dba
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article will provide a solution for an error that might occur installing a new SQL 2005 64-bit cluster. This article will assume that you are fully prepared to complete the installation and describes the error as it occurred durin…
In SQL Server, when rows are selected from a table, does it retrieve data in the order in which it is inserted?  Many believe this is the case. Let us try to examine for ourselves with an example. To get started, use the following script, wh…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Loops Section Overview

783 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question