SQL_9
SQL_9
SESSION # : 9
CREATING VIEWS
Focus Points :
Create views
Update data of a Table using views
Contents
Views
Create view
Update data using views
Modify Views
Drop Views
Views
Control over what the user can see. This is useful for both security and ease
of use. The user does not have to look at extra information that he or she
doesn't require.
Simplify the user interface by creating views of often-used queries. This will
enable a user to run a view with a simple statement rather than supplying
parameters every time the query is run.
Security. Users can control only what you let them see. This might be a
subset of rows or columns, statistical information, or a subset of information
from another view.
Because a view is a database object, you can assign user permissions on the
view. This is much more efficient than placing the same permissions on
individual columns in a table.
Data can be exported from a view using the BCP utility.
Rules and Restrictions
Views
Creating view
Modifying view
Deleting a view
Altering data of a table using view