What is use of views?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is use of views??

28th Mar 2017, 8:44 PM
Pradeep K.V.S. Maurya
Pradeep  K.V.S.  Maurya - avatar
2 Answers
+ 4
Assuming you mean SQL views, a few good uses: 1. Simplifying your code, breaking up complex multi level queries. 2. Give DB users the data they need and hide what goes beyond that. 3. Play around with your DB without risking to ruin it or to delete data. Like a safe way to test changes.
28th Mar 2017, 9:52 PM
Tob
Tob - avatar
+ 4
Views in M.V.C?
28th Mar 2017, 9:57 PM
Geoffrey L
Geoffrey L - avatar