What is a public synonym?



What is a public synonym?..

Answer / basanti

Synonym is an alias for a object of a database.
It can be created for TABLE or VIEW.
There are two type of synonym PRIVATE and PUBLIC.

public synonym is created by a keyword public.
public synonym is accessible to any schema in the database.
Syntax to create public synonym:
CREATE PUBLIC SYNONYM synonym_name FOR object_name;

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Oracle General Interview Questions

how can we store any pdf file in oracle

0 Answers  


What types of joins are used in writing subqueries?

0 Answers  


How can we Update a table with out using UPDATE command?

1 Answers  


1. Display all the rows and columns in the CLIENT table. Sort by client name in reverse alphabetical order.

2 Answers   Wipro,


Explain the relationship among Database, Tablespace and Data file?

4 Answers  






What the is the diff between local index and global index. give some example.

0 Answers   TCS,


what happened to the global index when I truncate the data in one of the partition?

0 Answers  


Explain the function of optimizer in oracle?

0 Answers  


How to create a new tablespace in oracle?

0 Answers  


What is a trigger and what are its types?

0 Answers  


what is the difference between data migration and production migration.

0 Answers  


Is it possible to split the print reviewer into more than one region ?

0 Answers   Oracle,


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)