Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2001
    Location
    chennai
    Posts
    21

    Unanswered: cant rename logical name

    hii
    I am sure that a logical file name cant me renamed. only the phsical name can be renamed. if we try to do a backup and restore only the physical file can be controlled
    K.Ramakrishnan
    Chennai

  2. #2
    Join Date
    Nov 2002
    Location
    Switzerland
    Posts
    524
    Not really
    Code:
    ALTER DATABASE MonNouveauNomDeBase MODIFY FILE (NAME=N'MyDB_Data', NEWNAME=N'MyNewDB_Data') ;
    
    ALTER DATABASE MonNouveauNomDeBase MODIFY FILE (NAME=N'MyDB_Log', NEWNAME=N'MyNewDB_Log');
    F. Celaia
    DBA Sybase/DB2/Oracle/MS-SQL

Posting Permissions

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