1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
| SELECT
MyVarCol
, CHAR2HEXINT(MyVarCol)
, INDEX(MyVarCol, '00'XC ) AS BLANKLID
, INDEX(MyVarCol, '20'XC ) AS SPACEID
, INDEX(MyVarCol, '09'XC ) AS HTID
, INDEX(MyVarCol, '0A'XC ) AS LFID
, INDEX(MyVarCol, '0B'XC ) AS VTID
, INDEX(MyVarCol, '0D'XC ) AS CRID
FROM MyTable
WHERE
(
INDEX(MyVarCol, '00'XC ) > 0 -- blank
OR INDEX(MyVarCol, '20'XC ) > 0 -- Spaces
OR INDEX(MyVarCol, '09'XC ) > 0 -- Vertical tab
OR INDEX(MyVarCol, '0A'XC ) > 0 -- Line Feed
OR INDEX(MyVarCol, '0B'XC ) > 0 -- Vertical tab
OR INDEX(MyVarCol, '0D'XC ) > 0 -- Carrriage Return
)
; |
Partager