|
|
FULL A - Z Oracle Function Library (formerly named "Morgan's Library")
Term: PUBLIC
Definition: CREATE PUBLIC SYNONYM [NAME] To create a Public Database Link CREATE PUBLIC DATABASE LINK [NAME] To GRANT/REVOKE privilege to/from PUBLIC GRANT [PRIVILEGE] ON [OBJECT NAME] TO PUBLIC Example Usage The SQL statement below creates a database link named DBPROD USING 'DBROD': CREATE PUBLIC DATABASE LINK DBPROD The SQL statement below creates a Public synonym named ORDERS for the ORDERS table in the SCOTT schema. Note that no private synonym with the name ORDERS should exist in SCOTT schema or else the dependent object would be invalidated. CREATE PUBLIC SYNONYM ORDERS The DCL statement below grants SELECT and DML privileges on the ORDERS table to PUBLIC: GRANT SELECT, INSERT, UPDATE, DELETE Related Links: |
Home | Search | Code Library | Sponsors | Privacy | Terms of Use | Contact Us | © 2003 - 2024 psoug.org |