When should database synonyms be used?

后端 未结 6 1523
借酒劲吻你
借酒劲吻你 2021-02-03 20:59

I\'ve got the syntax down but I\'m wondering if somebody can provide an illustrative use case where database synonyms are very useful.

6条回答
  •  北恋
    北恋 (楼主)
    2021-02-03 21:40

    Check out the Oracle documentation on synonyms.

    In addition to the other answers here, they are also commonly used for:

    • Providing easy to use names for remote tables, i.e. over database links
    • Tables that you need to be accessible to all users, i.e. public synonyms

提交回复
热议问题