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

Restricting Select rows

Former Member
0 Likes
508

Hi everyone,

Is there any addition similar to SKIP n ROWS? I want a select statement searching only after n rows.

I can't use an internal table since I'm using dynamic SQL.

Best regards,

André Costa

4 REPLIES 4
Read only

Former Member
0 Likes
492

hi,

U can use STARTING AT.

Read only

Former Member
0 Likes
492

Hi,

1)SKIP for Blank Lines :

Creates blank lines on the output list.

Syntax

SKIP [<n>].

Creates <n> blank lines after the current line in a list. If you omit <n>, inserts one line.

2)SKIP for Positioning :

Absolute positioning for output on a list.

Syntax

SKIP TO LINE <lin>.

Positions the list output in line <lin>.

Reward points if helpful.

Regards.

Srikanta Gope

Read only

0 Likes
492

srikanta gope:

I meant in a select statement

Roja Velagapudi:

SELECT * FROM SPFLI STARTING AT 90 WHERE (dynamic_sql_table).

??? Let's see, answer in a minute, reward points on your way if you'r right...

Read only

0 Likes
492

nop... doesn't work!

more ideas?