📜  在 oracle 中为 dblink 创建同义词 - SQL 代码示例

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

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