字符串转换为时间类型:
update table set column = '11111' where found_date=to_date('2016/8/26 10:29:20','yyyy-mm-dd hh24:mi:ss')
本文介绍了一种将字符串格式的日期时间转换为数据库可识别的时间类型的SQL语句示例,使用to_date函数进行转换。
字符串转换为时间类型:
update table set column = '11111' where found_date=to_date('2016/8/26 10:29:20','yyyy-mm-dd hh24:mi:ss')
转载于:https://www.cnblogs.com/wangfeihu/p/5809432.html
516
1万+
8120

被折叠的 条评论
为什么被折叠?