Hi,
we have in our PB application, when running in C/S mode, the possibility to cancel a query returning large number of rows by issuing DBCancel(). In C/S mode it works fine.
But in PS mode, it doesn't appear to do anything.
Is there a way to cancel this kind of query when running in PS mode?
Thanks,
Kari
oracle can also use:
where rownum <= N
which is documented as being faster than using FETCH FIRST and generally works better than fetch as it doesn't care if you have the same column name more than once . however, if you use an "order by" then you must use FETCH. all of this might possibly change depending on the oracle version. we use rownum method UNLESS there is an order by since it generally seems to work better.
Postgre
use FETCH FIRST or limit
other databases use limit (my sql)