Grant update permission : Grant Permission « User Previliege « Oracle PL / SQL






Grant update permission

  


create table sprockets (
        id number,
        description varchar2(200),
        quantity    number )
    /

grant update (id, description)
       on sprockets
       to scott;

insert into sprockets (id, description, quantity)
values( 1, 'Titanium', 25 );
    commit;
-- connect scott/tiger
update george.sprockets set quantity = 3;

update george.sprockets set description = 'N';

drop table sprockets;

   
  








Related examples in the same category

1.Create a user and grant the permission
2.grant all on directory DirName to User
3.Grant permission to system
4.Column-Level Object Privileges
5.add the additional ALL clause to a GRANT statement in order to grant all possible privileges
6.Procedure, function, and package privileges: EXECUTE and DEBUG
7.Materialized view privileges: SELECT and QUERY REWRITE
8.Directory privileges: READ and WRITE
9.grant one type or all types of privileges at once on any given object.
10.Grant Permissions