SyntaxFix
Write A Post
Hire A Developer
Questions
You can use also system table_types view
IF EXISTS (SELECT * FROM [sys].[table_types] WHERE user_type_id = Type_id(N'[dbo].[UdTableType]')) BEGIN PRINT 'EXISTS' END