in reply to Nested table structures in Oracle & DBI
This probably means rewriting the SQL to live within a stored procedure and calling said stored procedure from your perl code (this is what we do). But we've found we can convert most/all of our requirements to cursors.
A nice caveat is this: Do not return NULL instead of a zero-row cursor. Current DBIs, AFAIK, don't like this. Use a cursor to something like SELECT column FROM dual WHERE 1 = 0 for this case.
Regards.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Nested table structures in Oracle & DBI
by perlboy26sf (Initiate) on Aug 14, 2002 at 23:33 UTC |