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 / karthick.r

sp_rename olddatabasename newdatabasename
for eg
sp_rename prodetails empdetails;


in this eg the name of the prodetails is changed into
empdetails using above command

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is truncate table?

888


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

943


how to create a scrollable cursor with the scroll option? : Sql server database administration

1024


Explain about protocol layer present in SQL server?

1100


How to turn on the mssql api module in php?

1010


What are the types of indexing?

1028


What is analysis service repository?

968


Explain subquery and state its properties?

966


what is the difference between count(*) and count(1) ?

1024


Why do we use functions?

851


What are the two modes of authentication in sql server?

974


How real and float literal values are rounded?

1094


What is difference between count (*) and count 1?

862


What is a transact-sql statement?

977


What is normalization? What number of normalization shapes are there?

1054