Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Well sometimes sp_reanmedb may not work you know because if
some one is using the db it will not accept this command so
what do you think you can do in such cases?

Answer Posted / kumar

In This case you take following action

1. Alter DataBase <dbname> set single_user with rollback
immediate

2. Sp_renamedb 'olddb','newdb'

3. Alter DataBase <dbname> set multi_user

By
Kumar.T

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between group by and having?

922


What are different types of data sources?

951


What is the function of sql server agent windows service?

1044


How you can change the database name in SQL SERVER?

1150


what is normalization? Explain different levels of normalization? : Sql server database administration

1237


What is sql server schema compare? How we can compare two database schemas?

982


Why would you call update statistics?

972


What is change tracking in sql server?

956


What are the two modes of authentication in sql server?

1003


What are the disadvantages of merge replication?

1327


What is query cost in sql server?

947


How to count groups returned with the group by clause in ms sql server?

1027


What is always encrypted?

952


What is table value parameters (tvp)?

1050


Can you always create a cache of a report?

158