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

Home -> Community -> Mailing Lists -> Oracle-L -> ampersand problem

ampersand problem

From: Swapna_Chinnagangannagari <Swapna_Chinnagangannagari_at_satyam.com>
Date: Fri, 05 Oct 2001 00:12:02 -0700
Message-ID: <F001.003A2EC7.20011005000017@fatcity.com>

Why is this code not working for me

declare
code number(3):=0;
edate date;
begin
code:=111;
edate:=to_date('01-01-2001','dd-mm-yyyy'); dbms_output.put_line('actual data '||code ||','||edate); @abc code edate
dbms_output.put_line('hello');
end;
/

       

abc.sql



declare
my_code number(3);
my_number number(3);
begin
my_code:=&1;
my_number:='&2';
dbms_output.put_line('data in abc '||my_code ||','||my_number); end;
/
Received on Fri Oct 05 2001 - 02:12:02 CDT

Original text of this message

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