What command do we use to rename a db?

Answer Posted / latha sree

sp_renamedb ?oldname? , ?newname?

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Sql server reporting services vs. Crystal reports.

96


Introduction of rollup clause using sum and group by clause?

538


Can we add our custom code in ssis?

553


When would you use sql joins?

526


What does select 1 mean?

532






what are user defined datatypes and when you should go for them? : Sql server database administration

544


How to check parameter value in stored procedure sql server?

464


how you can get the list of largest tables in a database? : Sql server administration

552


How you can minimize the deadlock situation?

555


Tell me when is the update_statistics command used?

514


Why are sql functions used?

622


What are the acid properties?

553


Explain a join?

615


Explain go command in sql server?

547


What is tempdb database? : SQL Server Architecture

606