DataBase/SQL Server
Table의 파일그룹 조회
탑~!
2021. 4. 29. 10:12
Select A.name
, C.groupid
, C.groupname
From sys.sysobjects AS A INNER JOIN sys.sysindexes AS B ON A.id = B.id
INNER JOIN sys.sysfilegroups AS C ON B.groupid = C.groupid
WHERE A.name = '[테이블명]' AND type = 'U'