Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Logical Name

Author  Topic 

dewacorp.alliances

452 Posts

Posted - 2008-02-13 : 15:55:18
Hi all

We generally modify the logical name of a data file or log file from the vendor defined to our standard name. Is there any impact that you know about this? If you have 2 seperate database and accidently you have 2 same logical name .. I dont' think that will be an issue ... correct?

ALTER DATABASE XXX_UAT
MODIFY FILE (NAME = 'mdd_Data', NEWNAME = 'XXX_UAT_Data')
GO

ALTER DATABASE XXX_UAT
MODIFY FILE (NAME = 'mdd_Log', NEWNAME = 'XXX_UAT_Log')
GO

russell
Pyro-ma-ni-yak

5072 Posts

Posted - 2008-02-14 : 13:36:08
no problem having same logical name for different database files.
only impact to renaming vendor supplied dbs is if they have code that does backup/restore or other file manipulation with the logical name hard-coded
Go to Top of Page
   

- Advertisement -