sql

update ctc_train_line_time set arrival_time='2012-01-13' || substr(arrival_time,11,9)


update ctc_train_line_time c set depart_time = to_char(to_date(depart_time,'yyyy-mm-dd hh24:mi:ss') + (15/24/60));

你可能感兴趣的:(sql)