Oracle Date Field未正确排序

时间:2017-03-29 15:36:01

标签: oracle sorting date format

我在oracle中有一个列,列类型为" DATE",我对此有100%的肯定。但是,当我运行查询时,它不会产生正确的结果。我不能为我的生活找到任何不同的日期。

我正在寻找有关隐藏的oracle设置的任何建议,这些建议可能表明我在这里看不到这些行之间的差异。

由于

  

按日期从DATE_TABLE订购DISTINCT DATE;

    DATE        |
--------------------|
2017-02-19 00:00:00 |
2017-02-26 00:00:00 |
2017-03-19 01:00:00 |
2017-03-26 01:00:00 |
2017-03-05 00:00:00 |
2017-03-12 00:00:00 |

2017-03-19 01:00:00 |-2017-03-19 01:00:00                          |Typ=12 Len=7: 50,53,3,13,2,1,1 |
2017-03-19 01:00:00 |-2017-03-19 01:00:00                          |Typ=12 Len=7: 50,53,3,13,2,1,1 |
2017-03-19 01:00:00 |-2017-03-19 01:00:00                          |Typ=12 Len=7: 50,53,3,13,2,1,1 |
2017-03-19 01:00:00 |-2017-03-19 01:00:00                          |Typ=12 Len=7: 50,53,3,13,2,1,1 |
2017-03-05 00:00:00 | 2017-03-05 00:00:00                          |Typ=12 Len=7: 78,75,3,5,1,1,1  |
2017-03-05 00:00:00 | 2017-03-05 00:00:00                          |Typ=12 Len=7: 78,75,3,5,1,1,1  |
2017-03-05 00:00:00 | 2017-03-05 00:00:00                          |Typ=12 Len=7: 78,75,3,5,1,1,1  |
2017-03-05 00:00:00 | 2017-03-05 00:00:00                          |Typ=12 Len=7: 78,75,3,5,1,1,1  |
2017-03-12 00:00:00 | 2017-03-12 00:00:00                          |Typ=12 Len=7: 78,75,3,c,1,1,1  |
2017-03-12 00:00:00 | 2017-03-12 00:00:00                          |Typ=12 Len=7: 78,75,3,c,1,1,1  |
2017-03-12 00:00:00 | 2017-03-12 00:00:00                          |Typ=12 Len=7: 78,75,3,c,1,1,1  |
2017-03-12 00:00:00 | 2017-03-12 00:00:00                          |Typ=12 Len=7: 78,75,3,c,1,1,1  |
2017-03-26 00:00:00 | 2017-03-26 00:00:00                          |Typ=12 Len=7: 78,75,3,1a,1,1,1 |
2017-03-26 00:00:00 | 2017-03-26 00:00:00                          |Typ=12 Len=7: 78,75,3,1a,1,1,1 |

0 个答案:

没有答案