Announcement

Collapse
No announcement yet.

ORA-01843: Kein gültiger Monat

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • ORA-01843: Kein gültiger Monat

    Hallo,

    bei meiner where Bedingung einer select Abfrage muss ich auch nacht datum filtern:

    where to_date(ERST_DATE, 'DD.MM.YYYY HH24:MM') > to_date('29.05.1999 00:00', 'DD.MM.YYYY HH24:MM')
    Problem:
    hier erscheint die Fehlermeldung:
    ORA-01810: Formatcode erscheint zweimal

    wenn ich die Datumsformatierun weglasse, (also where to_date(ERST_DATE) > to_date('29.05.1999 00:00', 'DD.MM.YYYY HH24:MM
    kommmt die Fehlermeldung
    ORA-01843: Kein gültiger Monat...

    HLFE!!!

  • #2
    Hallo,

    Der Formatierungscode für Minuten ist MI !
    MM steht für Monat
    =>
    to_date(ERST_DATE, 'DD.MM.YYYY HH24:MI') > to_date('29.05.1999 00:00', 'DD.MM.YYYY HH24:MI')

    Gruß
    Thoma

    Comment


    • #3
      oh gott... scheisse nein.... wie kann ich bloss so blöd sein... Danke, Danke, scheisse, sorry Danke....

      christop

      Comment

      Working...
      X