SAP Knowledge Base Article - Preview

2445849 - Limit option in sql returns syntax error in SAP IQ

Symptom

Trying to use LIMIT function results in the following error
"Could not execute statement.

Syntax error near 'limit' on line 1
SQLCODE=-131, ODBC 3 State="42000"
Line 3, column 1

select * from employees order by surname limit 5"


Read more...

Environment

SAP IQ 16.0

Product

SAP IQ 16.0

Keywords

select , limit , keyword   , KBA , BC-SYB-IQ , Sybase IQ , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.