alter database db001
modify file(name='db001_data',newname = 'db002_data')
alter database db001
modify file(name='db001_log',newname = 'db002_log')
alter database db001
modify file(name='db001_data',newname = 'db002_data')
alter database db001
modify file(name='db001_log',newname = 'db002_log')
转载于:https://www.cnblogs.com/datasky/archive/2007/12/10/989596.html