REF CURSOR
From: <amerar_at_iwc.net>
Date: Fri, 27 Mar 2009 07:58:17 -0700 (PDT)
Message-ID: <3f8d17e6-08f4-4e1c-9f32-965ab671d648_at_g38g2000yqd.googlegroups.com>
Date: Fri, 27 Mar 2009 07:58:17 -0700 (PDT)
Message-ID: <3f8d17e6-08f4-4e1c-9f32-965ab671d648_at_g38g2000yqd.googlegroups.com>
Ok, this is probably a dumb question, but, I have this code:
CREATE OR REPLACE PROCEDURE cj_trials_log (
p_newsletter_id NUMBER, p_conversion_date VARCHAR2, p_data OUT REF_CRS) IS
TYPE ref_crs IS REF CURSOR;
.
.
.
I think it is upset because I use the REF_CRS before it is defined. But how can you do this in a procedure? Since the parameter declaration comes first? Do you create a public type? I'm not sure how to do that...... Received on Fri Mar 27 2009 - 09:58:17 CDT