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

Home -> Community -> Usenet -> c.d.o.tools -> Help: Dynamic SQL simple question

Help: Dynamic SQL simple question

From: Araxes Tharsis <pnrmaia_at_hotmail.com>
Date: Sun, 27 May 2001 00:47:26 +0100
Message-ID: <9epfif$gob$1@venus.telepac.pt>

I want to create a statement like the following, but how do I put the ' symbol around the variable "value" (because it is a text variable) ?!?!

EXECUTE IMMEDIATE 'UPDATE ' || table_name || ' SET ' || field_value || ' = ' || value || ' WHERE ' || id || ' = ' || p_id;

Thanks,

            Araxes Received on Sat May 26 2001 - 18:47:26 CDT

Original text of this message

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