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 -> Re: Oracle Stored Proc issues

Re: Oracle Stored Proc issues

From: Robert Klemme <shortcutter_at_googlemail.com>
Date: Thu, 07 Sep 2006 09:22:40 +0200
Message-ID: <4m9vm0F57lceU1@individual.net>


On 06.09.2006 21:45, DA Morgan wrote:
> KK wrote:

>> That sounds good. I  use the value in the update statement.
>>
>> something like
>> update ... where xyz in ( variable )

Btw, just curious why are you using "in" instead of "="?

> Then declare the variable dynamically as in:
>
> DECLARE
> myvariable mytable.mycolumn%TYPE;
> BEGIN
... and make sure on assignment that the value is not larger or catch the error or let it propagate. Making it longer than the table column does not make sense in this context.

Kind regards

        robert Received on Thu Sep 07 2006 - 02:22:40 CDT

Original text of this message

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