所以这是我的代码:
CREATE OR REPLACE PROCEDURE UPDATE_USER
(
updateColumn IN USERS.column_name%type,
changeStr IN VARCHAR2,
unID IN VARCHAR2
)
IS
BEGIN
EXECUTE IMMEDIATE
'UPDATE
users
SET :1 = :2
WHERE
uniqueID = :3'
USING updateColumn, changeStr, unID;
END;
/
我已经为此搜索了其他答案,据我所知,这应该可行。但是我收到错误:'错误(3,25):PLS-00302:必须声明组件'COLUMN_NAME''
谢谢。