The system functions object_id() and object_name() identify the ID and name of a view. For example:
select object_id("titleview")
---------- 480004741
Object names and IDs are stored in the sysobjects table.
Copyright © 2005. Sybase Inc. All rights reserved. |