关于按照数据库中date类型的数据更新。

intime 字段在数据库中存储的是date 类型 我要更新spr字段 按照

intime 字段 更新 语句 如下:

update cms_info_tbl set spr='aaaa' where intime = to_date('2012-6-21 10:49:09','yyyy-mm-dd hh24:mi:ss')
posted on 2012-06-21 13:40  小东北  阅读(337)  评论(0编辑  收藏  举报