Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 15930

Creating Index in a Secondary DB which is in LogShipping

$
0
0

Hi Everybody ,

i am new to BI and everything , but i have gone through the info what ever i am having , but still i am thinking is there any way for this.

Q : Can we create an Index to a table in a secondary Database (Standby/Read-only) which is used for LogShipping ?

My Solns. : I used "Restore database NEWDB with recovery " query to make it read-write mode and i have added the index to a secondary DB table . Now my problem is i am not able to change that Seco­ndaryDB to Standby/Read-only mode .i can change it to read-only mode but i cannot change it to Standby mode. 

Summary : Can any one tell me is there a way of making secondaryDB to standyBy or anyotherway of adding index to the SecondaryDB(StandBy) which is used in Logshipping purpose



Viewing all articles
Browse latest Browse all 15930

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>