Post your current and expected DBname You can use sp_renamedb to rename DB Madhivanan Failing to plan is Planning to fail
Your question is unclear, if you want to see the contents of SP_RENAMEDB then you can use SP_HELPTEXT. If not post as suggested by Madhivanan. Satya SKJ Microsoft SQL Server MVP Writer, Contributing Editor & Moderator http://www.SQL-Server-Performance.Com This posting is provided AS IS with no rights for the sake of knowledge sharing. Knowledge is of two kinds. We know a subject ourselves or we know where we can find information on it.