数据库技术
文章平均质量分 77
hitlermen
这个作者很懒,什么都没留下…
展开
-
ORACLE中date类型字段的处理
ORACLE中date类型字段的处理——ORACLE/JSP技术涉及日期、时间问题的处理(1)在英文版本的ORACLE中默认日期格式为DD-MON-YY,例如01-JAN-98 在汉化的中文版本中ORACLE默认日期格式为日-月-年,例如21-8月-2003或21-8月-03(2)转换字符串为日期使用ORACLE内部函数to_date()to_date()原创 2007-12-07 17:13:00 · 1012 阅读 · 0 评论 -
JSP数据库连接大全
一、jsp连接Oracle8/8i/9i数据库(用thin模式) testoracle.jsp如下: String url="jdbc:oracle:thin:@localhost:1521:orcl"; //orcl为你的数据库的SID String user="scott"; String password="tiger"; Connection conn= DriverManager原创 2008-10-23 19:22:00 · 584 阅读 · 1 评论