VastbaseG100

基于openGauss内核开发的企业级关系型数据库。

Menu

CREATE SYNONYM

  • 创建同义词

    CREATE [OR REPLACE] [PUBLIC] SYNONYM schema.]synonym_name FOR[schema2.]object_name;

    vastbase=# CREATE SYNONYM personnel FOR public.mytable;
    CREATE SYNONYM
    
  • 删除同义词

    DROP [PUBLIC] SYNONYM [schema.]synonym_name;

    vastbase=# drop SYNONYM personnel ;
    DROP SYNONYM