Guest_imported
New member
- Jan 1, 1970
- 0
Oh no, it's me again. I'm trying to call my stored procedure with:
[tt]
EXECUTE update_employees ('E12345', 'last_name', 'Smith');
[/tt]
But I receive:
[tt]
BEGIN update_employees ('E12345', 'last_name', 'Smith'); END;
*
ERROR at line 1:
ORA-00904: invalid column name
ORA-06512: at "SYSTEM.UPDATE_EMPLOYEES", line 9
ORA-06512: at line 1
[/tt]
When I try it without the single quotes around last_name, I get:
[tt]
ERROR at line 1:
ORA-06550: line 1, column 32:
PLS-00201: identifier 'LAST_NAME' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
[/tt]
DinaZ
:
[tt]
EXECUTE update_employees ('E12345', 'last_name', 'Smith');
[/tt]
But I receive:
[tt]
BEGIN update_employees ('E12345', 'last_name', 'Smith'); END;
*
ERROR at line 1:
ORA-00904: invalid column name
ORA-06512: at "SYSTEM.UPDATE_EMPLOYEES", line 9
ORA-06512: at line 1
[/tt]
When I try it without the single quotes around last_name, I get:
[tt]
ERROR at line 1:
ORA-06550: line 1, column 32:
PLS-00201: identifier 'LAST_NAME' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
[/tt]
DinaZ
: