Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing arrays between CF and Oracle

Status
Not open for further replies.

rtefft

Programmer
Aug 23, 2001
70
US
Can anyone show me how to use CFSTOREDPROC where one of the parameters of the procedure is a simple string array? We call procedures all the time, but cannot figure out how to return a simple 1-dimensional string array.



____________________________
Rich Tefft
PL/SQL Programmer
 
a string array? C++ considers a string an array of chars...

do you mean an array of strings, or a list

We've heard that a million monkeys at a million keyboards could produce the complete works of Shakespeare; now, thanks to the Internet, we know that is not true.
 
Truth,

I mean an array of multi-byte character strings. For example, an array of 12 elements, each containing a month ('JAN','FEB', 'MAR'...).

Thanks,
Rich

____________________________
Rich Tefft
PL/SQL Programmer
 
I'd probably send it as a string (list) "jan,feb,mar,..." and use PL/SQL to split it back into an array.


We've heard that a million monkeys at a million keyboards could produce the complete works of Shakespeare; now, thanks to the Internet, we know that is not true.
 
We were using that, but the various JDBC, ODBC, and thin drivers used between CF and Oracle have limits on string and LOB length (4k on average). I need to send more data than that without using Oracle tables (to keep overhead to a minimum). I was hoping an array datatype might do the trick.

____________________________
Rich Tefft
PL/SQL Programmer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top