"ROW SKIP" and "MAX" equivalence

Post Reply
kevinw
Posts: 4
Joined: Mon Jan 08, 2001 4:12 pm

"ROW SKIP" and "MAX" equivalence

Post by kevinw »

Hi,

In Vortex script, we can use <SQL ROW SKIP=xxx MAX=xxx ...></SQL> to get a sub-set hits. Are there any equivalent APIs in Texis I can use?

Thanks
User avatar
John
Site Admin
Posts: 2622
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

"ROW SKIP" and "MAX" equivalence

Post by John »

Yes. All Vortex does if you specify ROW is to not keep a copy of the data after each row is fetched. This is the normal way of using the API. To use MAX you would simply stop fetching rows after you have fetched the number you want. You can use the n_flushtx2() call to do a skip. You can see an example at: http://www.thunderstone.com/site/texisman/node373.html
John Turnbull
Thunderstone Software
Post Reply