Home Forums SQL Server 2008 SQL Server Newbies How to get the table name from a objectID? RE: How to get the table name from a objectID?
John Mitchell-245523
SSC Guru
Points: 148809
More actions
July 15, 2013 at 4:47 am
#1632389
The object ID is only unique within each database. Are you sure you're querying the correct database? By the way, sysobjects is only included for backward compatibility. You should use sys.objects instead.
John