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 -> equal names of: parameter of procedure - columns of table

equal names of: parameter of procedure - columns of table

From: Werner Hofmann <superomega_at_t-online.de>
Date: Mon, 23 May 2005 11:43:13 +0200
Message-ID: <d6s8ji$g0h$1@svr7.m-online.net>


Hallo,

is there an way, to make a difference between the parameter of a procedure and the column name of a table if the name is equal?

in firebird it is no problem, because in a sql statement I have to use colon in from of a variable for example:

select * from machines m where m.age > :age

when I write in Oracle
select * from machines m where m.age > age

then this is not doing what I want.
I would be lucky if I don't need to rename my variable names and there is another way to get what I want.

Thank you,
Werner Hofmann Received on Mon May 23 2005 - 04:43:13 CDT

Original text of this message

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