NUMREPORTREALSENDGUID NUMBER not null, NUMMMSID NUMBER(15), VC2SERVICECODE VARCHAR2(24), VC2CAMPAIGNID VARCHAR2(24), VC2CALLEDNUM VARCHAR2(64), DATCREATE DATE, VC2REPORTSTATUS VARCHAR2(1), VC2STATUS VARCHAR2(1), VC2USERID VARCHAR2(128)
SQL:
select
vc2servicecode,vc2campaignid,datcreate,vc2reportstatus,vc2status from imms_report_realsend where datcreate between YYYY-MM-DD and yyyy-mm-dd and vc2userid=? order by datcreate
看否把datcreate 改成 smalldate use +--数据库名 select * from +--表名 where (datcreate between YYYY-MM-DD and yyyy-mm-dd ) and (vc2userid=? ) order by datcreate GO
------解决方案--------------------