I wish I had much more of a Mispent Youth to brag about ... but thanks for the comments, much appreciated, particularly given how many impolite visitors pass through these hallowed halls.Arnaold's is a much more useful approach though. I think the following will find all non-printable characters (it shows the rouge character as [nnn] within the original string):SELECT n, [char] = ASCII(SUBSTRING(MyColumn, n, 1)), SUBSTRING(MyColumn, 1, n-1) + '[' + CONVERT(varchar(3), ASCII(SUBSTRING(MyColumn, n, 1))) + ']' + SUBSTRING(MyColumn, n+1, DATALENGTH(MyColumn))FROM Numbers WHERE n BETWEEN 1 AND DATALENGTH(MyColumn) AND ( -- Only non-printable characters ASCII(SUBSTRING(MyColumn, n, 1)) < 32 OR ASCII(SUBSTRING(MyColumn, n, 1)) > 127 )
Kristen