晕死...string 要加起来的
改为:
strSQL="select count(cust_id) from bi_f_custatt,bi_d_date where "
+ " created_date_id=bi_d_date.date_id and year=2003 and month=9 and day=11";
改为:
strSQL="select count(cust_id) from bi_f_custatt,bi_d_date where "
+ " created_date_id=bi_d_date.date_id and year=2003 and month=9 and day=11";
在这里发贴,由于显示不下,所以变成2行了
created_date_id=bi_d_date.date_id and year=2003 and month=9 and day=11";
System.out.println(strSQL);
sqlRst=sqlStmt.executeQuery(strSQL);