You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by Julio Cesar De Salvo <jd...@itechnology.com.ar> on 2003/12/10 16:50:33 UTC

Foreign Keys in Torque

In the database.dtd I've found that onDelete and onUpdate can have the
values (cascade|setnull|restrict|none)
 
<!ELEMENT foreign-key (reference+)>
<!ATTLIST foreign-key
  foreignTable CDATA #REQUIRED
  name CDATA #IMPLIED
  onUpdate (cascade|setnull|restrict|none) "none"
  onDelete (cascade|setnull|restrict|none) "none"
>
 
Can somebody explain which the difference between them is please?
 
Thank you, Julio Cesar De Salvo