【问题标题】:How to display nano seconds in excel while export from oracle从oracle导出时如何在excel中显示纳秒
【发布时间】:2019-06-04 10:31:47
【问题描述】:

我在 oracle 中有表 列下

2019-06-01 01:21:14.000173

2019-06-01 01:23:14.000323

2019-06-01 01:25:14.000443

2019-06-01 01:27:14.000594

2019-06-01 01:29:14.000653

2019-06-01 01:31:14.000813

但在导出到 csv 时低于

01-06-2019 01:21:14.000

01-06-2019 01:23:14.000

01-06-2019 01:25:14.000

01-06-2019 01:27:14.001

01-06-2019 01:29:14.001

01-06-2019 01:31:14.001

无法以纳秒级导出列

【问题讨论】:

    标签: excel oracle csv excel-2007 export-to-csv


    【解决方案1】:

    您可以将时间戳值转换为字符串

     to_char(systimestamp,'yyyy-mm-dd hh24:mi:ss.FF6') 
    
    Result:
    ------
    2019-06-04 12:40:31.080000
    

    【讨论】:

      猜你喜欢
      • 2011-07-16
      • 2011-03-06
      • 2017-06-19
      • 2017-02-15
      • 2011-07-08
      • 1970-01-01
      • 1970-01-01
      • 2021-10-23
      • 1970-01-01
      相关资源
      最近更新 更多