rshafer (11/24/2008)
What does N and U stand for/do when using OBJECT_ID? IF OBJECT_ID(N'tempdb..#test', 'U') IS NOT NULL
This is a unicode (nvarchar) string: N'tempdb..#test'
This, 'U', mean user defined table.
You can find the different object types by looking up the sys.objects table in Books Online.