Can we relate two different tables from two different users
in ORACLE,PL/SQL?
Answers were Sorted based on User's Feedback
Answer / sakthi santhanam.a
yes, we can do that... in oracle using GRANT command..
" GRANT select on table_name to nextuser(2nd user)"
this is the query...
wish you all the success
sakthi.A
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / shilpa.oracle
Yes, we can relate tables of different schemas provided we
should have privileges on that table
create table test_emp
(empno number(5),deptno number(5),constraint dept_ref
foreign key (deptno) references schema.dept(deptno))
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / sakthi santhanam.a
yes, we can do that... in oracle using GRANT command..
" GRANT select on table_name to nextuser(2nd user)"
this is the query...
wish you all the success
sakthi.A
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / swapna
Yes we can relate two tables from 2 different users
E.g. if user A has table Ta and User B has Table Tb and
Table Tb is child table and needs foreign
key on A.Ta then
we need to grant "references" object privillege to User B
on table Ta.
| Is This Answer Correct ? | 0 Yes | 1 No |
Can we call stored procedure in function?
i declare 4 procedure in package specification but in package body i write only 3 procedure. is it complie??//w
4 Answers Scope International,
difference between pl/sql table and normal pl/sql table
How can we Get the Updated Rows? ie, There is 100s of Rows i updated the Rows who have salary 5000. then i want to select the Updated Rows. How can we achieve it?
Explain what is table in a database?
How do I find duplicates in the same column?
What is the first action to perform a query? Suppose I have four tables and five joins and my query is getting slow day by day.
what is a control file ? : Sql dba
can we delete the trigger in a view? if yes why if not why?
What is the difference between the sql*loader and import utilities? : aql loader
How would you reference column values before and after you have inserted and deleted triggers?
What is orm in sql?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)