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

Make FOR EACH clause and MODE DB2SQL in CREATE TRIGGER statement optional

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.2.1.6, 10.3.1.4
    • 10.3.1.4
    • Documentation, SQL
    • None
    • Any

    Description

      According to SQL:2003 standard, section 11.39 <trigger definition>, under Syntax Rules item 8:

      If neither FOR EACH ROW nor FOR EACH STATEMENT is specified, then FOR EACH STATEMENT is implicit.

      [ FOR EACH

      { ROW | STATEMENT }

      ]

      Attachments

        1. derby-1770-tests.diff
          293 kB
          Bernt Johnsen
        2. derby-1770-tests.stat
          6 kB
          Bernt Johnsen
        3. derby-1770-tests-v2.diff
          294 kB
          Bernt Johnsen
        4. derby-1770-tests-v2.stat
          6 kB
          Bernt Johnsen
        5. derby1953-trunk-diff01.txt
          4 kB
          Yip Ng
        6. derby1953-trunk-diff02.txt
          6 kB
          Yip Ng
        7. derby1953-trunk-diff03.txt
          8 kB
          Yip Ng
        8. derby1953-trunk-diff04.txt
          8 kB
          Yip Ng
        9. derby1953-trunk-dita-diff01.txt
          2 kB
          Yip Ng
        10. derby1953-trunk-dita-stat01.txt
          0.0 kB
          Yip Ng
        11. derby1953-trunk-stat01.txt
          0.3 kB
          Yip Ng
        12. derby1953-trunk-stat02.txt
          0.3 kB
          Yip Ng
        13. derby1953-trunk-stat03.txt
          0.5 kB
          Yip Ng
        14. derby1953-trunk-stat04.txt
          0.5 kB
          Yip Ng

        Issue Links

          Activity

            People

              yipng Yip Ng
              yipng Yip Ng
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: