问一个简单的select语句,老是查询不出来。
zzizz 2011-12-22 11:13:30 是要查询AAA表中Doc_no='WH2@211211'的记录。
1. select * from aaa where Doc_no='WH2@211211' 查询出来是记录数为 0
2. select * from aaa where alltrim(Doc_no)='WH2@211211' 查询出来一大堆Doc_no为空的记录
3. select * from aaa where Doc_no like 'WH2@21121%' 查询出来的有Doc_no为'WH2@211210'的,没有 'WH2@211211'
4. select * from aaa whre left(Doc_no,10)= 'WH2@211211' 查询出来是记录数为 0
5. 用 双等号 "==",查询出来的记录数也是0
++ 只有用 Brow for Doc_no='WH2@211211' 能正常显示出来结果 ,这个Select 到底怎么回事啊?