![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi Using SQ 120.0 2483 trying LIMIT on select. Table was SA11 un-/reloaded into new SA 12 DB. Trying to tun those two in ISQL --- SELECT top 20 start at 10 * FROM "DBA"."ticket" order by ticket_id desc; SELECT * FROM "DBA"."ticket" order by ticket_id desc limit 10, 20; --- in ALL variants of the second statements ISQL generates SQLCODE -131 on the line with limit regardless where the limit keyowrd is. Either the help or the code is faulty. Martin |
#3
| |||
| |||
|
|
The 12.0.0 help (in the SELECT statement syntax) reads "The LIMIT keyword is disabled by default. Use the reserved_keywords option to enable the LIMIT keyword. See reserved_keywords option. " Did you enable the LIMIT keyword? |
![]() |
| Thread Tools | |
| Display Modes | |
| |