Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Why can't a variable have the same name as a table ...
Hi,
When I create the following procedure;
customer customer.name%type)
as
begin
insert into customer values (customer_add.customer);
end;
access
The message is kind of bogus because I DO have access to the table customer and if I change the variable name from customer to cust the procedure compiles ok. I think the problem is having a local variable the same as a table name.
What is the work around? I must have the paramter named customer and not something else.
Regards
TH
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
Received on Thu Aug 19 1999 - 11:37:24 CDT