1. Create function table space in FXZH table space
Need to query table in 2. The cursor in the table space strongwater
3. In the table space FXZH directly execute SQL: select * from strongwater. St_pptn_r is be able to get the query result, but is unable to read in the function of the table under the strongwater
As shown in figure:
CodePudding user response:
You this is not a table space problem...This is PL/SQL code calls the permissions and defines permissions problem, try in the as keyword with AUTHID CURRENT_USER,
CodePudding user response:
I don't seem to be very like this, there are two table spaceCodePudding user response:
I don't seem to be very like this, there are two table spaceCodePudding user response:
FXZH and strongwater were two table space usersCodePudding user response:
If access control are perfect, so it should do is let p01_data_t and st_pptn_r two tables belonging to a user belongs to your function table level user granted permissions:Grant select on p01_data