What are the pros/cons of using a synonym vs. a view?

后端 未结 7 1832
余生分开走
余生分开走 2020-12-05 06:53

This is a generic database design question - What are the benefits of using a synonym in database development, over a simple view? What are the main considerations to keep

7条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-05 07:14

    I use synonyms to share objects from other databases so that when I use .Net Entity Framework I can use a single ObjectContext to access all of the required data from many databases.

提交回复
热议问题