Announcement

Collapse
No announcement yet.

where klausel mit NULL ?!?

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

  • where klausel mit NULL ?!?

    <br>Hi,...
    <br>
    <br>Select * from x where x.a = Null
    <br>
    <br>Wieso funktioniert das nicht beim Interbase. Er bemängelt immer NULL.
    <br>
    <br>Danke!
    <br>
    <br>MfG
    <br>PS

  • #2
    Hallo,

    im SQL Standard nimmt NULL an vielen Stellen eine Sonderrolle ein, so auch bei einer WHERE-Klausel. Stelle von <i>WHERE x.a = NULL</i> muss man <i>WHERE x.a <b>IS</b> NULL</i> schreiben

    Comment


    • #3
      Danke!

      das hatte ich eigentlich auch getestet aber...

      nun ja jetzt funktioniert es

      muß das noch mal in Ruhe prüfen

      MfG
      P

      Comment

      Working...
      X