_대문 | 방명록 | 최근글 | 홈피소개 | 주인놈
FrontPage › PlanGuide예제

declare @stmt nvarchar(max), @params nvarchar(max);

exec sp_get_query_template 
N'select * from tableA where col1 = 200',
@stmt output, @params output;

exec sp_create_plan_guide N'TemplateGuide', 
@stmt, N'template', NULL, 
@params, N'option(parameterization forced)';

댓글 남기기..
이름: : 오른쪽의 새로고침을 클릭해 주세요. 새로고침
EditText : Print : Mobile : FindPage : DeletePage : LikePages : Powered by MoniWiki : Last modified 2018-04-13 23:12:53

우정이란 근심을 피할 수 있는 나무이다. (S. 코울리지)