Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: PL/SQL apostrophes
joycox_at_my-deja.com wrote:
>
> I want to be able to print out apostrophes onto my html pages (using
> htp.p) but everytime I use one, pl/sql thinks that it is the end of the
> quote. How can I get around this?
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.
x:= 'O''Brien';
or for neatness...
declare
quote varchar2(1) := '''';
begin
string := quote || 'some quoted text' || quote;
end;
HTH --
"Some days you're the pigeon, and some days you're the statue." Received on Sun Jul 11 1999 - 07:35:06 CDT
![]() |
![]() |