블로그 이미지
LifeisSimple

calendar

1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

Notice

2011. 5. 11. 17:42 Brain Trainning/DataBase

SELECT OBJECT_NAME(OBJECT_ID) AS ObjName

                                   ,data_compression_desc AS CompressionType

                  FROM sys.partitions

                  WHERE OBJECTPROPERTY(OBJECT_ID,'ismsshipped') = 0

이렇게 찾으면 됩니다.

ismsshipped :  SQL install 할때 생성된 개체인지 아닌지 체크. 

posted by LifeisSimple