这个问题深了:) 还有阿select * from enterpress where username='abc' and passwd='aa'的结果也是空:( 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select * from enterpress where rtrim(passwd)='aa' --查询的结果是空 select * from enterpress where rtrim(username)='abc' and rtrim(passwd)='aa'不行吗??????????????? select * from enterpress where rtrim(passwd)结果还是空:( select * from enterpress where rtrim(username)='abc' and rtrim(passwd)='aa'不行!!!!!!!!! 你用的SQL Server 吗?对了,你的字段passwd是用的什么类型的! select passwd from enterpress where rtrim(username)='abc'看看里面是什么??? 因为没有“passwd='aa'”的记录,但是有“username='abc'”的记录。 天知道 passwd 是怎么样的?没有任何参考信息。 对于字符串比较,建议使用一些字符串比较函数来做“aa"<>"aa " 但是'aa'=rtrim('aa ')不好意思,上面用了双引号 如何从多个表查询出来数据满足后面条件的才显示出来。 excel 中数据更新的问题,很急! SQL还原问题 视图中不能用CASE语句,该怎么处理? 应用job直接读写xml文件 高效分页存储过程 比比看谁的效率更高 一个SQL的约束问题? 如何获得当前SQL Server 服务器中所有的数据库名字? SQL Server排序规则忽略单引号和连字符的解决问题 求一SQL语句 关于触发器批量导入的问题!急忙 哪位提供几个关于sql查询方面的电子书,多谢啊
结果还是空:(
不行!!!!!!!!!
看看里面是什么???
“aa"<>"aa "
不好意思,上面用了双引号