DB SQL to ASCII interpretation
Posted: Sat Jan 25, 2020 11:52 am
Code: Select all
declare @string nvarchar(128)
select @string = (SELECT TOP 1 from TABLE where CONDITION)
; with allNumbers as
(
select 1 as number
union all
select number+1
from allNumbers
where number<len(@string)
)
select substring(@string,number,1), ascii(substring(@string,number,1)),* from allNumbers
http://www.asciitable.com/