📜  oracle 同义词过程 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:04:58             🧑  作者: Mango

代码示例1
-- Can be a table, package, procedure...
CREATE OR REPLACE SYNONYM syn_name FOR my_schema.my_procedure;      
CREATE OR REPLACE PUBLIC SYNONYM syn_name FOR my_schema.my_procedure;

-- Through a dblink:
CREATE OR REPLACE SYNONYM syn_name FOR my_schema.my_procedure@my_dblink;