I can leave the query significantly less complicated if not for the fact that I wanted to also know the sql text in a well formatted manner ... CONVERT(BINARY(16), SUBSTRING(p.program_name, CHARINDEX('(', p.program_name) + 5, CHARINDEX(':', p.program ...
↧