This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes How to define CASCADE DELETE and CASECADE UPDATE? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "How to define CASCADE DELETE and CASECADE UPDATE?" Watch "How to define CASCADE DELETE and CASECADE UPDATE?" New topic
Author

How to define CASCADE DELETE and CASECADE UPDATE?

Clara Hall
Greenhorn

Joined: Nov 24, 2001
Posts: 16
How to define CASCADE DELETE and CASECADE UPDATE?
I tried to use ON DELETE CASCADE ON UPDATE CASCADE after the foreign key constrain, but it doesn't work, I also tried some other format which I can imaging, but none of them works.
Thanks.
Clara
Peter den Haan
author
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
Well, for a start, what database are you using?
- Peter
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to define CASCADE DELETE and CASECADE UPDATE?
 
It's not a secret anymore!