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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.