java、oracle、jsp中string與date與sql.date的轉換

對於oracle數據庫,能夠直接調用內置的to_date()方法,如update table_name set column_Date=to_date(?,'yyyy-MM-dd') where id=?",再setString(,)便可。java 1.string格式轉化爲Date對象:sql SimpleDateFormat fmt =new SimpleDateFormat("yyyy-MM
相關文章
相關標籤/搜索