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

Explain about thread and memory management process of SQL?

971


What is the dbcc command and why is it used?

1052


How to create a login account in ms sql server to access the database engine using "create login" statements?

1142


How to enter unicode character string literals in ms sql server?

1073


In what sequence sql statement is processed?

1012


What does it mean to normalize a database and why would you do it?

979


Explain security with sql azure?

186


What is the guest user account in sql server? What login is it mapped to it? : sql server security

1064


Explain the benefits of user-defined functions?

1062


Do you know what are various aggregate functions that are available?

1125


What are sp_configure commands and set commands?

1022


What is command parameter in ssrs?

161


What is a unique index?

932


Which sql server table is used to hold the stored procedure script?

948


What is user-defined scalar function?

965