반응형
/********************************************************************************************
-- Title : [2k5] SQL 2005에서의 pintable 옵션
-- Reference : dbrang.tistory.com
-- Key word : pintable objectproperty
********************************************************************************************/
-- SQL Server 2005에서는 exec sp_pintable이나 dbcc pintable을 사용할 수 없다.
EXEC sp_tableoption 'facttable', 'pintable', 'on';
-- Title : [2k5] SQL 2005에서의 pintable 옵션
-- Reference : dbrang.tistory.com
-- Key word : pintable objectproperty
********************************************************************************************/
-- SQL Server 2005에서는 exec sp_pintable이나 dbcc pintable을 사용할 수 없다.
EXEC sp_tableoption 'facttable', 'pintable', 'on';
SELECT OBJECTPROPERTY (OBJECT_ID('facttable'), 'TableIsPinned'); -- 결과 0
-- 아래는 bol의 objectproperty 도움말에서 tableispinned 속성 설명...
-- 아래는 bol의 objectproperty 도움말에서 tableispinned 속성 설명...
TableIsPinned |
테이블 |
테이블이 데이터 캐시에 보유되도록 고정됩니다. 0 = False SQL Server 2005 에서는 이 기능이 지원되지 않습니다. |
반응형