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

Allow derived column lists in MERGE statements.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 10.11.1.1
    • None
    • SQL
    • None
    • Normal

    Description

      Derby does not allow derived column lists aliased to the source or target tables in MERGE statement. So, the following statements are not allowed:

      merge into t1_036 r( x )
      using t2_036 on r.x = t2_036.a
      when matched then delete;
      
      merge into t1_036
      using t2_036 r( x ) on t1_036.a = r.x
      when matched then delete;
      

      Problems with these derived column lists were noted by Knut in a 2014-02-07 comment on DERBY-3155.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rhillegas Richard N. Hillegas
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: