Multitable views  Dropping views

Chapter 11: Views: Limiting Access to Data

Views with IDENTITY columns

This restriction determines what types of modifications you can make to views that include IDENTITY columns. By definition, IDENTITY columns are not updatable. Updates through a view cannot specify an IDENTITY column value.

Inserts to IDENTITY columns are restricted to:

To enable such inserts through a view, use set identity_insert on for the column’s base table. It is not sufficient to use set identity_insert on for the view through which you are inserting.





Copyright © 2005. Sybase Inc. All rights reserved. Dropping views

View this book as PDF