[ 
https://issues.apache.org/jira/browse/DERBY-3948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Knut Anders Hatlen updated DERBY-3948:
--------------------------------------

    Assignee: Rick Hillegas
    
> Don't allow references to generated columns in the NEW transition variables 
> of triggered actions of BEFORE triggers
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-3948
>                 URL: https://issues.apache.org/jira/browse/DERBY-3948
>             Project: Derby
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 10.5.1.1
>            Reporter: Rick Hillegas
>            Assignee: Rick Hillegas
>             Fix For: 10.5.1.1
>
>         Attachments: derby-3948-01-aa-beforeTriggers.diff
>
>
> Thanks to Dag for finding this restriction in the SQL Standard, part 2, 
> section 11.39, SR 12 c) I see this provision:
>    12) If BEFORE is specified, then:
>      :
>      c) The <triggered action> shall not contain a <field reference> that
>      references a field in the new transition variable corresponding to a
>      generated column of T. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to