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 -> Which way is moer faster for this?

Which way is moer faster for this?

From: C Chang <cschang_at_maxinter.net>
Date: Wed, 05 Jun 2002 23:21:39 -0400
Message-ID: <3CFED543.3175@maxinter.net>


I have a procedure to return a set of records such as p_b, p_a .. Among then, one of the record is return by using another record. so My question is that in the BEGIN section of the Procedure, Do I just use another

   p_b(count):= v_b; <-- v_b is the select result    BEGIN

      SELECT a INTO v_a FROM table_B WHERE b = v_b; 
       p_a(count):= v_a;
   EXCEPTION
      WHEN OTHERS THEN
         p_a(count):= NULL;
   END;
     

   p_# is the return variable.

C Chang Received on Wed Jun 05 2002 - 22:21:39 CDT

Original text of this message

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