Using the select statement with create view  View definition with a computed column

Chapter 11: Views: Limiting Access to Data

View definition with projection

To create a view with all the rows of the titles table, but with only a subset of its columns, enter:

create view titles_view 
as select title, type, price, pubdate 
from titles

No column names are included in the create view clause. The view titles_view inherits the column names given in the select list.





Copyright © 2005. Sybase Inc. All rights reserved. View definition with a computed column

View this book as PDF