Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change database name

Status
Not open for further replies.

craig322

MIS
Apr 19, 2001
108
US
Does anyone know of a way to change the database name? I have exported my production database into a test instance and want to change the name to eliminate any confusion. For example, if I now access the database as my_production@my_test_server. I would like to change it so I access it as my_development@my_test_server.

TIA
 
I figured out my own question. Never thought it would be an SQL command.

RENAME DATABASE my_production TO my_development.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top