Home » RDBMS Server » Server Administration » Collection to ref cursor
Collection to ref cursor [message #370003] Mon, 27 November 2000 01:29
Manoj Doerga
Messages: 1
Registered: November 2000
Junior Member
Hello,

I am making reports in Infomaker 5 on Oracle 8.0. Infomaker has the possibilty to base reports on stored procedure, but expects a ref cursor as input. I have made a procedure which fills a temporary table and selects * from this table in a ref cursor and passes this to Infomaker. I thought it might be more efficient if I fill an in-memory collection in this procedure. My questions :

- would it be faster to use a collection ?
- is there a way to refer to a collection in a cursor in Oracle 8.0. I think in 8i you can use SELECT * FROM TABLE(CAST collection AS collection_type), is there a way to do this in 8.0 ?
Previous Topic: "ORA-00932: inconsistent datatypes" long field in where clause
Next Topic: Query/Insert in a view
Goto Forum:
  


Current Time: Sat May 04 05:58:48 CDT 2024