Announcement

Collapse
No announcement yet.

Syntax Fehler aber warum

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

  • Syntax Fehler aber warum

    Hallo warum ist das ein Syntax Fehler ich versteh nicht warum es nicht geht.
    Code:
    select text_de from meldung where gruppe >= 101 and <= 107
    Könnte mir das bitte mal jemand erklären ?

    Danke

    MFG Aspi
    System Eisfair Linux MySQL 4.0.25

  • #2
    Du mußt immer angeben auf welche Spalte sich etwas bezieht:

    select text_de from meldung where (gruppe >= 101) and (gruppe <= 107)

    Comment


    • #3
      Alternativ kannst auch den BETWEEN Befehl verwenden:
      Code:
      WHERE gruppe BETWEEN 101 AND 107
      Das hattest vermutlich im Sinn.

      Dim
      Zitat Tom Kyte:
      I have a simple philosophy when it comes to the Oracle Database: you can treat it as a black box and just stick data into it, or you can understand how it works and exploit it as a powerful computing environment.

      Comment


      • #4
        Ok danke für deine Erklärung,
        wenn Between mit alles Liefert von 101 bis 107 werde ich das So übernehmen

        MFG Aspi
        System Eisfair Linux MySQL 4.0.25

        Comment


        • #5
          Tut es. Gugst Du.

          Dim
          Zitat Tom Kyte:
          I have a simple philosophy when it comes to the Oracle Database: you can treat it as a black box and just stick data into it, or you can understand how it works and exploit it as a powerful computing environment.

          Comment


          • #6
            Ich wollte mich nur bedanken dein Between mach genau was ich möchte

            hast du villeich eine Lösung zu meinem AVG Problem?
            System Eisfair Linux MySQL 4.0.25

            Comment

            Working...
            X