tags:

views:

349

answers:

3

How do you perform a

Select top N * from as400table

type query against an as400/db2 database

+3  A: 
Select col1,col2
from 
as400table
where col1='filter'
order by col1
fetch first N row only
James Moore
+1  A: 

For future reference:

SQL Reference (V5R4)

JamesA
A: 

owesome, thanks for this

Patrick