Returning a Database Object Name and ID : OBJECT_ID « System « SQL Server / T-SQL






Returning a Database Object Name and ID

 

3>
4> SELECT OBJECT_ID('Employee'), OBJECT_NAME(1253579504)
5> GO


----------- ------------------------------------------------------------------------------------------------------------
--------------------
       NULL NULL


(1 rows affected)
1>

 








Related examples in the same category