Returns the object ID of the specified object.
is the name of a database object, such as a table, view, procedure, trigger, default, or rule. The name can be fully qualified (that is, it can include the database and owner name). Enclose the object_name in quotes.
object_id, a system function, returns the object’s ID. Object IDs are stored in the id column of sysobjects.
For general information about system functions, see “System functions”.
SQL92 – Compliance level: Transact-SQL extension.
Any user can execute object_id.
Functions col_name, db_id, object_name
System procedure sp_help