12.07.2015 Views

Oracle SQL Developer

Oracle SQL Developer

Oracle SQL Developer

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Managing Synonyms4.6 Managing SynonymsA synonym is an alias for any schema object such as a table or view. Synonymsprovide an easy way to provide an alternative name for a database object and can beused to simplify <strong>SQL</strong> statements for database users. For example, you can create asynonym named emps as an alias for the employees table in the HR schema.If a table in an application has changed, such as the personnel table has replaced theemployees table, you can use the employees synonym to refer to the personneltable so that the change is transparent to the application code and the database users.Because a synonym is simply an alias, it does not require any storage in the databaseother than its definition.You can create both public and private synonyms. A public synonym is owned by thespecial user group named PUBLIC and every user in a database can access it. A privatesynonym is in the schema of a specific user who has control over its availability toothers.Database Objects: Usage Information 4-11

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!