select * from T_Employee where Ftest>='a'and Ftest<='c'; --其中Ftest是varchar型结果能得出
select ASCII('a');---结果是一个ascii码
select * from T_Employee where Ftest between 'a' and 'c'; --其中Ftest是varchar型结果能得出
select * from T_Employee where FAge between 'a' and 'c';--为什么此结果就出不来呢
请问大神字符在数据库中比较时是比较其ASCII码值吗?
|
|