select a.[name],b.physical_name from sys.databases a , sys.master_files b
where a.database_id= b.database_id
and b.physical_name =‘d:\db\host3291828.mdf‘
以后应该详细了解数据库系统表的各个信息!
时间: 2024-10-25 07:07:55
select a.[name],b.physical_name from sys.databases a , sys.master_files b
where a.database_id= b.database_id
and b.physical_name =‘d:\db\host3291828.mdf‘
以后应该详细了解数据库系统表的各个信息!