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 -> Help with insert

Help with insert

From: Diego Pafumi <dpafumi_at_us.oracle.com>
Date: 1998/11/16
Message-ID: <3650A76D.D35BA715@us.oracle.com>#1/1

I'm trying to create a varchar containing the ' character to be inserted in a table, but I receive an error.
What I'm doing is:

declare
  var varchar2(20);
begin
  var := 'a';
  var := var || ''b'';
  insert into table values (var);
end;
/

The question is: how can I do to pipe a value with ' ????

Thanks !!! Received on Mon Nov 16 1998 - 00:00:00 CST

Original text of this message

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