2014年4月21日 星期一

authid current_user ==> write once, run anywhere

database中只建立一个stored procedure,grant給其他用戶後,
所有用户都可以使用,
但是每個用户使用的时候 只是用自己的權限執行

write once, run anywhere

create or replace procedure test
authid current_user  is
begin
  ...;
end;

沒有留言:

張貼留言