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 |
how to retrieve only duplicate values in a table
what is the boundary line in varrays?
What is the use of partition by in sql?
What are tuples in sql?
difference between cursor and procedure in a package
what are the authentication modes in sql server? How can it be changed? : Sql dba
Do we need to rebuild index after truncate?
When you have to use a default "rollback to" savepoint of plvlog?
sql query to get zero records from a table having n no of records
What are the uses of sysdate and user keywords?
----> There is a table T with two columns C1 and C2. The data is as below: C1 C2 1 4 2 5 3 6
In a Distributed Database System Can we execute two queries simultaneously ? Justify ?
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)