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

Home -> Community -> Usenet -> c.d.o.misc -> How to initialize ROWTYPE variable in a package?

How to initialize ROWTYPE variable in a package?

From: Edward Rusu <erusu_at_softcomputer.com>
Date: Mon, 23 Nov 1998 14:10:32 -0500
Message-ID: <73cdfd$396$1@scream.jriver.com>

        Hi omniscient All!
    There is a package with 2 functions declared as     SetPatientInfo( Pat_ IN Person%ROWTYPE ) - that store given patient into

        internal variable of the package ( gPatInfo = Pat_; )     ResetPatInfo; - that initialize all variables fieds to NULL.     Is there any way to initialize all fields of variable without field enumeration?

    I would like to initialize record by one operator, but not using like:     gPatInfo.fname := NULL;
    gPatInfo.lname := NULL
      ......

    Thank you for any suggestion.

   Cordially yours,
   Edward Received on Mon Nov 23 1998 - 13:10:32 CST

Original text of this message

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