Grant alter on only one column in table

后端 未结 2 1596
慢半拍i
慢半拍i 2021-02-12 20:14

I want to grant a user only to edit one column in my table. What command do I use here? I use the oracle 11g database. I alrdy know how I can grant only read or delete on the wh

2条回答
  •  滥情空心
    2021-02-12 20:48

    Based on this source:

    Only INSERT, UPDATE, and REFERENCES privileges can be granted at the column level. When granting INSERT at the column level, you must include all the not null columns in the row.

    Here is an example:

    GRANT update (column_name) ON table_name TO user_name;
    

提交回复
热议问题