|
Publicité ' | |||||||||||||||||||||||
|
|
#1 | ||
|
Membre confirmé
![]() Inscription : mai 2006 Messages : 418 ![]() |
Bonjour,
j'ai 2 tables : Code :
merci d'avance. |
||
|
|
00
|
|
|
#2 | ||||||
|
Membre éprouvé
![]() Développeur Web Inscription : mars 2008 Messages : 439 ![]() |
en clair :
ON DELETE restrict ON UPDATE restrict; ON DELETE no action ON UPDATE no action; revient à ne mettre aucune clause ON DELETE & ON UPDATE, car vous ordonnez à votre table de ne rien faire en cas de suppression ou de modification Code :
Code :
Code :
__________________
I don't know what will be used in the next world war, but the 4th will be fought with stones. - Albert Einstein Pour détourner un avion, il faut monter dedans - Frédéric beigbeder |
||||||
|
|
00
|
|
|
#3 |
|
Expert Confirmé
![]() ![]() |
Bonjour,
j'ai par ailleurs écrit un article qui traite de ce sujet que je te conseil de lire : http://alain-defrance.developpez.com/articles/SGBD/constraint/
__________________
http://alaindefrance.wordpress.com - http://www.alain-defrance.com Certifications : SCJP6 - SCWCD5 - SCBCD5 - SCMAD1 Project Lead eXo Social Java Black Belt - Java Black Belt Coach |
|
00
|
|
|
#4 |
|
Membre confirmé
![]() Inscription : mai 2006 Messages : 418 ![]() |
Bonjour,
Merci pour vos réponses. |
|
|
00
|
Copyright © 2000-2012 - www.developpez.com