News Updates

Peter Boekelaar
By Peter Boekelaar
17 Apr 2009

Cascade delete script


Why this script?
Most of the FK's defined in an Oracle DB, are not created using the on delete cascade option, since that is (most of the times) not wanted at all.
But sometimes records must be deleted while it is not allowed to do so, because there are child records (or a complete tree of child records) present.
For cases like that I use a script that searches the DB for child recs, using the SYS views.
Last Updated on Friday, 17 April 2009 11:39
E-mail Print PDF
 
Patrick Barel
By Patrick Barel
16 Apr 2009

Simple comparison SQL

I am comparing tables in two different schemas. Since I am doing the same thing over and over again I created a small script which might be useful to you too.
E-mail Print PDF
 
« StartPrev12345678910NextEnd »

banner

Polls

What is your favorite database?
 

Advertisement

Featured Links:
Database tools 25% off
Any DreamCoder database tool for MySQL,Oracle and PostgreSQL purchase made till July 15 2009, will save you 25% of the product's retail price.
DreamCoder for MySQL at USD 112
DreamCoder for MySQL Enterprise + 1 year of support and upgrades on a special summer price !.
DreamCoder for Oracle Enterprise at USD 168
DreamCoder for Oracle Enterprise + 1 year of support and upgrades on a special summer price !!!

Latest Photo