Object_Id Purpose in SQL Server 2008 This informative article Explains that Object_Id() purpose beneath Metadata group of purpose in SQL Server 2008. This purpose gives you object identification amount of a schema-scoped object. Syntax Object_Id ( '[ database_name . [ schema_name ] . | schema_name . ] object_name' [ ,
office Standard 2007 product key,'object_type' ] ) Parameters object_name - Signifies the object name to become made use of. object_type - Signifies the object choice. Return type int Sample Query pick out Object_Id(N'MyDatabase.schem.tbl_sample') AS 'Object ID'; Associated Video clip :