create user tjjk_interface identified by tjjk_interface;
grant connect to tjjk_interface;
grant create view to tjjk_interface;
grant select on pdss.check_pres_state_p to tjjk_interface;
grant select on pdss.check_pres_input to tjjk_interface;
grant select on inppdss.check_pres_state_p to tjjk_interface;
grant select on inppdss.check_pres_input to tjjk_interface;
grant select on peaas.jill_userdef to tjjk_interface;
revoke select on inppdss.check_pres_input from tjjk_interface
给tjjk_lj用户授权让tjjk_lj有授予别的用户查询视图的权限
grant select on inppdss.check_presc_result to tjjk_lj with grant option;
grant select on pdss.check_presc_result to tjjk_lj with grant option;
grant select on PEAAS.presc to tjjk_lj with grant option;
grant select on PEAAS.Presc_Detail to tjjk_lj with grant option;