Oracle's default date format is YYYY-MM-DD, WHY?

后端 未结 12 2501
温柔的废话
温柔的废话 2020-11-29 00:44

Oracle\'s default date format is YYYY-MM-DD. Which means if I do:

 select some_date from some_table

...I lose the time portion of

12条回答
  •  青春惊慌失措
    2020-11-29 01:08

    This is a "problem" on the client side, not really an Oracle problem.

    It's the client application which formats and displays the date this way.

    In your case it's SQL*Plus which does this formatting.
    Other SQL clients have other defaults.

提交回复
热议问题