Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to implement limit restrisction for select

Former Member
0 Likes
645

I want to select only a max row number of a DB table as

select * from DBTABLE

limit 200 (inly the firt 200 rows).

Any suggest?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
622

use UPTO <rows>

Ex.

Select * UP TO 200 ROWS

INTO.....

I want to select only a max row number of a DB table as

select * from DBTABLE

limit 200 (inly the firt 200 rows).

Any suggest?

4 REPLIES 4
Read only

Former Member
0 Likes
622

hii

use package size

select * from xyz package size 500.

reward if useful

vikaas

Read only

Former Member
0 Likes
622

u can use pakage size or u can use key word UPTO...

REGARDS,

Read only

Former Member
0 Likes
623

use UPTO <rows>

Ex.

Select * UP TO 200 ROWS

INTO.....

Read only

former_member673464
Active Contributor
0 Likes
622

hi..

You can use keyword <b>upto</b> or <b>package size</b> to restrict the number of records.

regards,

veeresh