Does SQL support ASCII data type?Or we need to do some type casting for it.?
srs_grp
-1
Light Poster
Recommended Answers
Jump to Postnot really sure what you are meaning
all characters will have an int value, and you can translate the int value back to a char
you can use ascii(char)
or
char(ascii)select ascii('q') -- returns 113 select char(113) -- returns 'q'
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.