Find stored procedures and views that contain a text Categories: SQL Server SELECT o.name, o.xtype FROM syscomments c (NOLOCK) INNER JOIN sysobjects o (NOLOCK) ON c.id=o.id WHERE c.TEXT LIKE '%userpersontype%' Previous Post << >> Next Post