Synonym Definition In Oracle
This operation can result in invalidation of other user defined types or marking unused the table columns that depend on the synonym.
Synonym definition in oracle. For information about type dependencies see oracle database object relational developer s guide. Oracle synonym can be defined as the word itself literary means that it is actually are aliases for referencing data objects which include tables sequences stored functions and stored procedures along with many other objects which can be stored in the database basically granting permission to access the data object of this schema by the user of another schema without the user having any worry of the permissions required to access the data object. Why would you use a synonym. What is an oracle synonym.
This section introduces you to oracle synonyms that help you create aliases for schema objects such as tables views materialized views sequences procedures and stored function. All public synonyms even if the base object pointed to is not accessible. Synonyms permit applications to function without modification regardless of which user owns the table or view and regardless of which database holds the table or view. Oracle recommends that you specify the schema containing the object in the remote database.
If you omit dblink then oracle database assumes the object is located on the local database. If you specify dblink and omit schema then the synonym refers to an object in the schema specified by the database link. Another word for oracle. Synonyms provide both data independence and location transparency.
All private synonyms owned by a different user where the ultimate base object pointed to by that synonym or by any chain of nested synonyms is know to be accessible because of a grant to the logged in user or a grant to a role in effect for this session. Use these clauses to specify whether the synonym becomes an editioned or noneditioned object if editioning is later enabled for the schema object type synonym in schema. A synonym is an alternative name for objects such as tables views sequences stored procedures and other database objects. A synonym places a dependency on its target object and becomes invalid if the target object is changed or dropped.
A synonym is an object in a database that represents an alternative name for other objects such as tables views sequences and stored procedures. Specify the name of the synonym to be altered.