Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

using variable with the same name as field name?

539442Dec 29 2006 — edited Dec 29 2006
I have a complex proc where I have variables with the same name as field name used on a query. something like this:

SELECT a.id_table WHERE a.id_table = id_table

where the last id_table is a parameter sent to the proc:

declare procedure myproc(id_table int)

Is there any way or notation to declare the variable inside the query as a variable or I have to use a different name?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 26 2007
Added on Dec 29 2006
5 comments
1,450 views