Why is database view used?

后端 未结 4 1986
[愿得一人]
[愿得一人] 2021-01-04 07:25

Is using \"view\" in db design right method or we should handle it code side? What are the advantages or disadvantages?

4条回答
  •  被撕碎了的回忆
    2021-01-04 08:24

    Depends. I use them sometmies, but not that often. They are VERY usefull to expsoe decoded views on the data for use by end user (tools), like reporting applications, though. This way you can provide an end user with a simplified version of often requested information hiding some technical details.

提交回复
热议问题