mridoni / gixsql

GixSQL is an ESQL preprocessor and a series of runtime libraries to enable GnuCOBOL to access PostgreSQL, ODBC, MySQL, Oracle and SQLite databases.
GNU General Public License v3.0
16 stars 8 forks source link

FETCH FOR syntax it´s not supported? #193

Open P1c4C0d3 opened 3 weeks ago

P1c4C0d3 commented 3 weeks ago

While fetching on an array:

FETCH CUR1 FOR 10 INTO :BOR_ARR

I am getting this error with gixsql precomp:

error: syntax error, unexpected FOR, expecting INTO

Also tried with different syntax like this:

FETCH FORWARD 10 CUR1 INTO :BOR_ARR

And it´s not working neither.