Link to home
Start Free TrialLog in
Avatar of bobby2929
bobby2929

asked on

rownum error

i was trying to see first 10 rows

select  *  from vw_employee fetch first 10 rows

plz advice

DBA2191E SQL execution error.

com.ibm.db.DataException: A
database manager error occurred. : [IBM][CLI Driver][DB2/NT]
SQL0104N  An unexpected token "END-OF-STATEMENT" was found
following "e fetch first 0 rows".  Expected tokens may include:
 "ONLY".  SQLSTATE=42601


ASKER CERTIFIED SOLUTION
Avatar of db2inst1
db2inst1
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial