Quantcast
Channel: Net Express / Server Express - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 375

OpenESQL Query with arrays

$
0
0

I am involved in an assessment of migrating an application from using SYBASE provided SQL Preprocessor to OpenESQL.  I have created a simple test program and I have found an issue.  

With the SYBASE preprocessor, we can so EXEC SQL Select cola, colb into :ws-a, :ws-b from tablex where colc = 'something' end-exec. Where ws-a and ws-b are arrays and many rows are returned.

With OpenESQL, we appear to need to add a clause FOR :ws-max to this statement or else it only returns one row.

Am I correct, or am I missing something?

 

I have attached a sample program, see line 39.

 

The file attach does not seem to be working.

 

Environment:

Server Express 5.1.14 on Linux
Database is SYBASE ASE 15.7, with SYBASE ODBC Driver (also 15.7).


Viewing all articles
Browse latest Browse all 375

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>