一个方法:
(String.., String ttdate,) {
String sql = "select * from control where 日期='" + ttdate + "' and .....;
....selectQuery(sql);
if (rs.next()) {
..
(rs.getDate("日期"));
..
我要让ttdate变成date型的.
用to_date函数得怎么写.数据库是oracle的.
(String.., String ttdate,) {
String sql = "select * from control where 日期='" + ttdate + "' and .....;
....selectQuery(sql);
if (rs.next()) {
..
(rs.getDate("日期"));
..
我要让ttdate变成date型的.
用to_date函数得怎么写.数据库是oracle的.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货