Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-4000

Reference manual leaves != out of list of boolean operators

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.5.1.1
    • 10.6.1.0
    • Documentation
    • None

    Description

      Table 1, SQL Boolean Operators, at <URL:http://db.apache.org/derby/docs/dev/ref/rrefsqlj23075.html> lists the comparison operators <, =, >, <=, >=, <>. Derby also accepts !=, which I believe has the same meaning as <>. The != operator should be documented along with the other operators. (I haven't checked whether != is standard SQL.)

      ij> select * from (values 1,2,3)v where x != 2;
      X
      -----------
      1
      3

      2 rows selected
      ij> select * from (values 1,2,3)v where x <> 2;
      X
      -----------
      1
      3

      2 rows selected

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            chaase3 Camilla Haase
            knutanders Knut Anders Hatlen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment