oracle timestamp与字符串转换
2016-04-16 17:33
375 查看
字符串转timestamp:update tb_a t set t.upd_timestamp=to_timestamp('2012-12-12 12:12:12.0','yyyy-mm-dd
hh24:mi:ss.ff') where t.id='1'
timestamp转字符串:select
to_char(t.upd_timestamp,'yyyy-mm-dd HH24:mi:ss:ff') from tb_a t
原文链接:http://www.2cto.com/database/201303/192476.html
hh24:mi:ss.ff') where t.id='1'
timestamp转字符串:select
to_char(t.upd_timestamp,'yyyy-mm-dd HH24:mi:ss:ff') from tb_a t
原文链接:http://www.2cto.com/database/201303/192476.html
相关文章推荐
- oracle centos 静默安装
- python3.4连接和读取oracle数据表
- oracle学习 第三章 常用的SQL*PLUS命令 ——01
- .net(C#)访问Oracle数据库的几种免安装组件的对比
- PowerDesigner 连接oracle数据库
- oracle用户默认表空间
- 在centos6.7下安装oracle11gR2的示例数据库
- oracle学习总结4
- 本地windows下PHP连接远程oracle遇到的诸多问题
- rman备份脚本
- Oracle的硬解析和软解析
- 关于根据oracle字段长度更新字段值
- oracle中expdp和impdp(数据泵)
- oracle中的schema
- ORACLE数据库用户账号处于expired状态如何处理
- Oracle操作
- Oracle中的where部分的各个条件的执行顺序(右->左)
- Oracle查询表所属用户
- [备忘]CentOS 7.2 Oracle JDK安装配置
- oracle后台进程详解