No, the ROWCOUNT doesn't applies only to the records being returned, it will
also affect all intermediary results, including triggers and functions.
This is a global option that will affect all statements (views, functions
and SPs) following its call.
If you want to limit only the number of records returned, you must a TOP N
clause instead.

Signature
Sylvain Lafontaine, ing.
MVP - Technologies Virtual-PC
E-mail: http://cerbermail.com/?QugbLEWINF
> Sylvain:
>
[quoted text clipped - 46 lines]
>>>>>
>>>>> Des
Des Hayles - 24 Aug 2005 21:54 GMT
Thanks Sylvain.
If this is the case then the default setting of 10000 in ADPs is extremely
dangerous, because even though your final result set is less than 10000 you
would have no indication that all the data from the underlying queries have
been truncated to 10000 records.
I have some work to do!!!
Thanks Des
> No, the ROWCOUNT doesn't applies only to the records being returned, it
> will also affect all intermediary results, including triggers and
[quoted text clipped - 54 lines]
>>>>>>
>>>>>> Des