[ 
https://issues.apache.org/jira/browse/DERBY-6527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13993588#comment-13993588
 ] 

Kim Haase commented on DERBY-6527:
----------------------------------

Thanks, Dag. So I guess I should remove "or NO ACTION" from the two sentences. 
Would that be enough, since we are clarifying the BEFORE trigger situation?

About this --

"Btw, I discovered that the section completely omits to state that the default 
action for ON DELETE as well as for ON UPDATE is "NO ACTION". I think this 
should be made explicit early on."

I don't think it is valid syntax to omit specifying an action -- you have to 
provide one after ON DELETE or ON UPDATE, according to the syntax of the 
REFERENCES clause. So I think it makes sense not to mention a default. What do 
you think?

> Fix errors in foreign keys documentation
> ----------------------------------------
>
>                 Key: DERBY-6527
>                 URL: https://issues.apache.org/jira/browse/DERBY-6527
>             Project: Derby
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 10.10.1.1
>            Reporter: Dag H. Wanvik
>            Assignee: Kim Haase
>         Attachments: DERBY-6527-2.diff, DERBY-6527.diff, rrefsqlj13590.html, 
> rrefsqlj13590.html
>
>
> Cf this email thread: 
> http://apache-database.10148.n7.nabble.com/Foreign-key-semantics-as-documented-td138227.html
> Our documentation in the reference manual on foreign keys/referential actions 
> has errors.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to