all groups > sql server odbc > july 2006 >
You're in the

sql server odbc

group:

HELP!!! - Problem with hints...


HELP!!! - Problem with hints... segis bata
7/19/2006 11:44:01 AM
sql server odbc:
Hello everyone,

I'm having this problem, I'm trying to run a query that consists of six
tables and one view (all joined together)

When I run it without anything on the where (or just one criteria in the
where clause) works just fine, but if I run it with two criteria in the
where clause I get the following message:

<<< [Microsoft][ODBC SQL Server Driver][SQL Server]Could not insert a row
larger than the page size into a hash table. Resubmit the query with the
ROBUST PLAN hint. >>>

And when I do so -adding the ROBUST PLAN option-, I get the following
message:

<<< 'Query hints' cannot be used in this query type. >>>

Any idea what is going on?!? please let me know!!!

TIA,
sb-r

Re: HELP!!! - Problem with hints... segis bata
7/19/2006 11:48:34 AM
Everyone,

I forgot to put this...

I'm using SQL Server 2000 on Win2003 Server, SP 1

Thanks again...



[quoted text, click to view]

Re: HELP!!! - Problem with hints... Erland Sommarskog
7/19/2006 10:03:18 PM
segis bata (segisbata@hotmail.com) writes:
[quoted text, click to view]

Sounds like you are in dire straits. But at least you could post the
query you are having problem with.


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
AddThis Social Bookmark Button