Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> How to initialize ROWTYPE variable in a package?
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