asp.net链接SQL SERVER数据库问题
sql = "select jc_company,jc_part,jc_worker,jc_name,jc_time,jc_dj from cbhr";sql = sql + "where convert(char(10),jc_time,120)>='&dp_stime&'";
sql = sql + "and convert(char(10),jc_time-1,120)<='&dp_etime&'";
sql = sql + "and jc_worker='&gonghao&' order by jc_time desc";
求大神帮忙看看,这语句有什么问题吗?