1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
use master declare @DBName sysname set @DBName = '<ユーザーDB名>' -- Data file select name, physical_name from sys.master_files where database_id = db_id(@DBName) and type_desc = 'ROWS' -- Log file select name, physical_name from sys.master_files where database_id = db_id(@DBName) and type_desc = 'LOG' |
コメント