Redefining views  Altering or dropping underlying objects

Chapter 11: Views: Limiting Access to Data

Renaming views

You can rename a view using sp_rename:

sp_rename objname , newname  

For example, to rename titleview to bookview, enter:

sp_rename titleview, bookview 

Follow these conventions when renaming views:





Copyright © 2005. Sybase Inc. All rights reserved. Altering or dropping underlying objects

View this book as PDF