我设置了一个时间变量:type date_table_type is table of date;
        date_table date_table_type;然后从表里读时间赋给变量:select distinct(stime) bulk collect into date_table from temp_table2 order by stime;
经过一系列处理后,把计算结果保存到一个表
问题是!!我的变量stime格式是精确到秒,结果我插入后的时间全部变成只到日!插入的时候我也写了to_date('||''''||date_table(j)||''''||',''dd-mon-yy hh24:mi:ss'')
为什么啊?!