Results 1 to 2 of 2

Thread: Renaming Name of DBase in SQl Server 2000

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2003
    Location
    Bhutan
    Posts
    26

    Renaming Name of DBase in SQl Server 2000

    Is there way to rename Database of SQL Server 2000??
    Help Me!!!!!!!!!!!!

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758
    Is this a Reporting question or should it belong in the Database forum.

    There is a stored procedure called sp_renamedB.

    Example from msdn

    This example changes the name of the accounting database to financial.

    EXEC sp_renamedb 'accounting', 'financial'

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width