取字段前8位如何做?字符型 里面放日期时间 rq= "20070410050618 " 我做查询 select * from 表 where 什么函数(rq) = '20070410 ' 谢谢[解决办法]~up[解决办法]select * from 表 where substr(rq,1,8) = '20070410 '