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

后端 未结 7 1824
余生分开走
余生分开走 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条回答
  •  庸人自扰
    2020-12-05 07:15

    I hope it could help someone, I took a look at this article and I found a reason to use a View instead of a synonym.

    When you are using Sql server as Db server and SAS as client. If you use a Synonym it won't be recognized in your SAS library. I had to create a view.

    It's not optimized but at least Windows sas with Sql server is not the best neither :)

提交回复
热议问题