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 -> How to assign a value to a variable

How to assign a value to a variable

From: Florian Marinoiu <x_at_x.com>
Date: Wed, 22 Oct 2003 18:05:37 -0400
Message-ID: <3F96FF31.B80C4055@x.com>


Hi,

I have the following MS-SQL Server statement that I want to convert to ORACLE 8.1
SET @pPhone = '%' + @pPhone + '%'

In ORACLE I tried
SELECT '%' || pPhone || '%' into pPhone from dual;

Where pPhone is a parameter that is passed to the procedure.

How could I do it?

Is it a set in ORACLE?

Thanks,
Florian Received on Wed Oct 22 2003 - 17:05:37 CDT

Original text of this message

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