ORACLE基本插入小练习

小练习 时间类型插入
insert into SOLA_INSERT t(t.name,t.age,t.birthday,t.lon,t.lag) 
     values ('sola',26,(to_date('1991-12-24','yyyy-mm-dd')),1.1111111111111,6.6666666666)

更新时间类型

update SOLA_INSERT t set t.birthday = to_date('1991-12-23 18:20:52','yyyy-mm-dd hh24:mi:ss')

猜你喜欢

转载自blog.csdn.net/jiulanhao/article/details/80725568
今日推荐