Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Coding Question about user-defined types as parameters

Re: Coding Question about user-defined types as parameters

From: <sybrandb_at_hccnet.nl>
Date: Sun, 22 Apr 2007 17:21:23 +0200
Message-ID: <99vm23tt8ne4kibb4bc1oeees2es27hllf@4ax.com>


On Sun, 22 Apr 2007 00:46:39 GMT, "Dereck L. Dietz" <dietzdl_at_ameritech.net> wrote:

>ike this?:
>
>SUBTYPE the_type cr_cursor%ROWTYPE;
>
>And that will allow
>
>PROCEDURE test(p_parameter IN the_type)
>
>to compile?

At least it works when defined in a package spec and using <table_name>%rowtype.

<cursor>%rowtype probably isn't any different.

-- 
Sybrand Bakker
Senior Oracle DBA
Received on Sun Apr 22 2007 - 10:21:23 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US