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

what is difference between cartesian join & cross join even they give same result?

4 Answers   Bank Of America,


where do i find oracle interview questions.

1 Answers  


What are the values that can be specified for OPTIMIZER MODE Parameter ?

1 Answers  


How to fetch the row which has the max value for a column?

0 Answers  


How to rename a tablespace in oracle?

0 Answers  






What is Partitions in Table ?

2 Answers   Atiric Software,


What is user managed backup in Oracle?

0 Answers   MCN Solutions,


How to rename an existing table?

0 Answers  


difference between imlicit cursor and explicit cursor ?

5 Answers   Cap Gemini,


What is partitioned table in Oracle?

0 Answers   MCN Solutions,


Explain the difference between sql and oracle?

0 Answers  


What is the diff between Oracle and SQL Server

1 Answers  


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)