oracle中时间格式转换问题,来大神
java吧
全部回复
仅看楼主
level 1
夺命排骨
楼主
有两张表A,B, A表中有一varchar2类型的date字段,存的都是(yyyyMMdd)之类的,B表中有一类型为Date的date1字段,格式是(yyyy/MM/dd)的日期,我想insert into B(date1) select date from A,该怎么做啊?
2016年08月11日 07点08分
1
level 1
夺命排骨
楼主
人呢,急!
2016年08月11日 08点08分
2
level 1
夺命排骨
楼主
顶!
2016年08月11日 08点08分
3
level 1
_su_ai
to_date('日期格式字符串','yyyy/mm/dd')
2016年08月11日 08点08分
5
level 3
myth_机械
可以SimpleDateFormat转一下
2016年08月11日 09点08分
8
level 12
圈宝阿丁QB
to_date 方法啊
2016年08月11日 09点08分
9
level 12
圈宝阿丁QB
to_char
2016年08月11日 09点08分
10
1