Object_Id Perform in SQL Server 2008 This short article Explains that Object_Id() function beneath Metadata group of operate in SQL Server 2008. This function presents object identification number of a schema-scoped object. Syntax Object_Id ( '[ database_name . [ schema_name ] . | schema_name . ] object_name' [ ,
microsoft office x64 key,'object_type' ] ) Parameters object_name - Indicates the object name to become put into use. object_type - Indicates the object kind. Return kind int Sample Query pick out Object_Id(N'MyDatabase.schem.tbl_sample') AS 'Object ID'; Associated Video clip :