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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Quick compare of PL/SQL records

Re: Quick compare of PL/SQL records

From: Gints Plivna <gints.plivna_at_gmail.com>
Date: Fri, 29 Apr 2005 16:14:00 +0300
Message-ID: <6e49b6d005042906141c10a75@mail.gmail.com>


Manual says:
Comparing Records
Records cannot be tested for nullity, or compared for equality, or inequali= ty.

If you want to make such comparisons, write your own function that accepts two records as parameters and does the appropriate checks or comparisons on the corresponding fields.

http://download-west.oracle.com/docs/cd/B14117_01/appdev.101/b10807/05_coll= s.htm#i20716

On 4/29/05, Ranko Mosic <ranko.mosic_at_gmail.com> wrote:
> How do I compare two separatelly defined PL/SQL records without
> referencing each and every field ?

>=20

> source_rec source_table%rowtype;
> source1_rec source1_table%rowtype;
>=20

> Thanks, Ranko.
--
http://www.freelists.org/webpage/oracle-l
Received on Fri Apr 29 2005 - 09:28:25 CDT

Original text of this message

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