DATABASE VIEWS – WHAT ARE THEY GOOD FOR?
1 Comment
Oracle, MS-SQL, MySQL, DB2, PostgreSQL, and almost any other type of relational database – they all support a database object type called VIEW. In this article I’ll explain what is a view and list a few scenarios where using views can help. WHAT IS A VIEW? In simple terms, a view is a query. It can be almost any query, reading from one or more tables, sort of like a script that is stored inside the database engine. The query text is stored, not the data, and therefore it takes very little space (just the length of your query text). Once created, the view can be used like any table – it can be queried alone or in a complex…