SELECT o.name, o.xtype FROM syscomments c (NOLOCK) INNER JOIN sysobjects o (NOLOCK) ON c.id=o.id WHERE c.TEXT LIKE '%userpersontype%'