Viewing 6 posts - 1 through 7 (of 7 total)
Hello all again:
Still struggling with the plan guide, now I can make one and have the query use it WHEN I use SQL Server Management Studio, however when the query...
April 28, 2008 at 8:25 am
Hi all again:
Found the problem with creating the PLan Guide as an SQL Statement, it turns out I was missing a whitespace at the beginning and at the end of...
April 9, 2008 at 12:57 pm
That was my first attempt, here it is:
exec sp_create_plan_guide
@name = N'Plan_Codigo_MIS_250',
@stmt = N'select top 251 contact.FullName as ''fullname'',contact.Telephone1 as ''telephone1'',contact.OwnerId as ''ownerid'',contact.OwnerIdDsc as
''owneriddsc'',contact.OwnerIdName as ''owneridname'',contact.OwnerIdType as ''owneridtype'',contact.OwningTeam as...
April 9, 2008 at 9:32 am
When creating the plan guide for an object, the parameter list must be null, I of course have the parameters since this query is sent by the aplication through sp_execsql,...
April 9, 2008 at 7:45 am
I'm afraid I don't follow you, if I do the mentioned query using SQLServer Management studio and I include the hint by hand (using option (hash join)), it works fine,...
April 8, 2008 at 5:11 pm
The template option only allows me to define the form of parametrization, it doesn't allow me to include hints......
April 8, 2008 at 5:47 am
Viewing 6 posts - 1 through 7 (of 7 total)