25.12.2012 Views

Cours SGBD LAI2 - Institut supérieur d'informatique de Mahdia

Cours SGBD LAI2 - Institut supérieur d'informatique de Mahdia

Cours SGBD LAI2 - Institut supérieur d'informatique de Mahdia

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Trigger ligne<br />

�Dans un trigger ligne, on peut faire référence à<br />

la ligne courante, celle pour laquelle le trigger<br />

s'exécute<br />

�Pour cette ligne, on a accès à la valeur avant<br />

l'instruction DML (nommée :old) et à la valeur<br />

après l'instruction (nommée :new)<br />

:old :new<br />

insert null ligne insérée<br />

<strong>de</strong>lete ligne supprimée null<br />

update ligne avant modif ligne après modif<br />

Riadh HADJ M’TIR – 2011/2012 240

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!