Home > Database > Mysql Tutorial > 用PreparedStatement在Oracle中插入日期

用PreparedStatement在Oracle中插入日期

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 16:57:50
Original
938 people have browsed it

1、 如果要插入的日期是当前时间,最简单的办法就是利用oracle自带的日期函数:sysdate。建表时,将字段默认值声明为sysdate,如

用PreparedStatement在Oracle中插入日期

[日期:2010-11-04] 来源:csdn  作者:xian_fish [字体:]

结果如下:

linux

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template