We're Moving!

The Vertica Forum is moving to a new OpenText Analytics Database (Vertica) Community.

Join us there to post discussion topics, learn about

product releases, share tips, access the blog, and much more.

Create My New Community Account Now


Foreign key : Delete child rows when deleting the parent PK ? — Vertica Forum

Foreign key : Delete child rows when deleting the parent PK ?

Hello

 

If a "child" table is linked to a "father" via foreign key , are the "children" rows deleted when the "father" key they reference is deleted ?

Is there a CASCADE option either in the FK creation or delete statement ? I cannot find it in the documentation.

 

If this option exsits, does it work with TRUNCATE PARTITION also ?

 

 

Thank you

Isabelle

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file