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 field with example?

868


Explain about SQL server 2005?

917


What are functions in the sql server?

1126


How to loop through result set objects using odbc_fetch_row()?

918


What is the status of services on passive node for failover cluster in sql server? : sql server database administration

1165


Mention what are the different types of ssrs reports?

144


What is a trace frag? Where do we use it?

1043


What is bcp? When does it used?

920


Explain can SSRS reports Cache results?

149


What is a data collection table?

943


What is RAID? What are the different types of RAID configurations?

1062


What are the disadvantages of using querystrings to send data from one page to another?

930


What is awe?

947


What is the difference between stored procedure and user defined functions?

1127


Can we perform backup restore operation on tempdb? : sql server database administration

944