Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Putting database from normal to standby

Posted on 2008-10-17
3
Medium Priority
?
301 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

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

by Mark Wills PIVOT is a great facility and solves many an EAV (Entity - Attribute - Value) type transformation where we need the information held as data within a column to become columns in their own right. Now, in some cases that is relatively…
I am showing a way to read/import the excel data in table using SQL server 2005... Suppose there is an Excel file "Book1" at location "C:\temp" with column "First Name" and "Last Name". Now to import this Excel data into the table, we will use…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

715 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