![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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? |
#3
| |||
| |||
|
|
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. |
#4
| |||
| |||
|
|
I would be lucky if I don't need to rename my variable names and there is another way to get what I want. There is not. Obviously, the error starts with assuming there is. |
#5
| |||
| |||
|
|
Except that there is. Here's a working example: |
#6
| |||
| |||
|
|
On 23 May 2005 07:07:17 -0700, andrewst (AT) onetel (DOT) com wrote: Except that there is. Here's a working example: In the OP's case, it would still mean, he would need to change everything, wouldn't he? So what is the difference in that case between doing this properly, and implementing this hack? |
#7
| |||
| |||
|
|
Werner Hofmann wrote: 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? You can do this: procedure my proc (age in number) is begin select * from machines m where m.age > myproc.age; ... |
![]() |
| Thread Tools | |
| Display Modes | |
| |