一、背景:用戶jtuser中有jtproduct中表A,B的同義詞,在用戶jtuser中向表A,B插入數據,提示「權限不夠」sql
二、將A,B表受權給jtuser用戶blog
$ sqlplus / as sysdbatable
SQL> conn / as sysdbadate
SQL> grant insert any table,update any table to jtuser;select
三、將序列受權給jtuser權限
SQL> conn jtproduct/jtproductim
SQL> grant select on SEQNAME to jtuser;數據