September 29, 2004 at 9:45 am
Hi,
Having trouble renaming logical db files using the Microsoft described way;
ALTER DATABASE dbname
MODIFY FILE(NAME=DB_Data, NEWNAME=DBTEST_Data)
QA does not recognise 'NEWNAME' as an option but it's the Sql2K Manual !?!?
ALTER DATABASE database
{ MODIFY FILE < filespec > }
[ , NEWNAME = new_logical_name ]
[ , FILENAME = 'os_file_name' ]
[ , SIZE = size ]
[ , MAXSIZE = { max_size | UNLIMITED } ]
[ , FILEGROWTH = growth_increment ] )
September 29, 2004 at 9:58 am
Please see the below link:
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=5&messageid=139298
Good Hunting!
AJ Ahrens
webmaster@kritter.net
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply