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...

What command do we use to rename a db?

Answer Posted / swetha

sp_renamedb ?oldname? , ?newname?

alter database ?databasename?
modify name = ?newdatabasename?

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to add the custom code in Report?

126


What are the different types of sub-queries?

1044


Can two tables share a primary key?

1021


What is the recovery model?

992


What happens to a trigger with multiple affected rows?

946


Explain about protocol layer present in SQL server?

1207


What is updatable resultset?

1007


What is nonclustered index on computed columns?

960


What do you understand by user-defined function in the sql server and explain the steps to create and execute a user-defined function in the sql server?

965


Explain the properties of the relational tables?

996


Describe the left outer join & right outer join. : sql server database administration

996


How to stop log file growing too big?

1014


What are .mdf files?

942


Give me any three differences between Truncate and Delete.

1107


What is key set driven?

958