Board index » delphi » Data integrity for relational databases (parent/child relationships)

Data integrity for relational databases (parent/child relationships)

I would be interested in hearing what strategies people have adopted to
ensure data integrity for relational databases...

eg. I have a customer table which can be edited --- but if some of these
customers have orders linked to them, what mechanisms can I use to
prevent accidental (or any?!) deletion of the "parent" record??

Thanks
Derek.
---
dho...@csir.co.za (remove NOSPAM. in header to repl)
variables are irrelevant. functions are useless.
prepare to be encapsulated...

 

Re:Data integrity for relational databases (parent/child relationships)


One word: Oracle; or any other server database has foreign key abilities,
even Paradox does.

Quote
Derek Hohls wrote in message <343E0CD3.4...@csir.co.za>...
>I would be interested in hearing what strategies people have adopted to
>ensure data integrity for relational databases...

>eg. I have a customer table which can be edited --- but if some of these
>customers have orders linked to them, what mechanisms can I use to
>prevent accidental (or any?!) deletion of the "parent" record??

>Thanks
>Derek.
>---
>dho...@csir.co.za (remove NOSPAM. in header to repl)
>variables are irrelevant. functions are useless.
>prepare to be encapsulated...

Other Threads