当前位置: 技术问答>java相关
这个sql语句应该怎么写??
来源: 互联网 发布时间:2017-04-17
本文导语: 准备生成如下sql语句(原句很长,匆匆改了改,错漏勿怪) String sSql = "SELECT * FROM table " + "WHERE table.ID="1" " + "AND (datediff(day,table.createDate,getdate())
准备生成如下sql语句(原句很长,匆匆改了改,错漏勿怪)
String sSql =
"SELECT * FROM table "
+ "WHERE table.ID="1" "
+ "AND (datediff(day,table.createDate,getdate())
String sSql =
"SELECT * FROM table "
+ "WHERE table.ID="1" "
+ "AND (datediff(day,table.createDate,getdate())