SELECT [name] from [sysdiagrams] WHERE [name] LIKE '%<script%' RAISERROR('Error in table sysdiagrams in column name ',16,1)