Data archive
Posted in 2006
Hi there, I have one situation. In our database design, one table will have some children table, and the children has its own children table and it is in "on delete cascade" mode. We try to archive data from live database to archive database for a specified date range. I check the procedure which to perform this job. But I can only see the insert data to top parent table (there is insert into statement), but seems all the children's data been inserted at same time? Will insert to top parent table trigger all insert for the children table? Because I do not see the sql statement to insert into children table. Can anybody explain to me? Thanks a lot. Denny ******************************************* The information contained in this e-mail message may contain privileged and confidential information. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you have received this message in error, please notify the sender by return e-mail, delete this message and destroy any copies. Internet e- mail is not guaranteed to be secure or error-free. Messages could be intercepted, corrupted, lost, arrive late or contain viruses. The sender will not be liable for these risks. ******************************************* Ce message electronique pourrait contenir des informations privilegiees et confidentielles. Si vous n'en etes pas le recipiendaire prevu, nous vous signalons qu'il est strictement interdit d'examiner, de diffuser, de distribuer et de reproduire le present message. Si vous l'avez recu par erreur, veuillez prevenir l'expediteur par courriel, puis effacer ce message et en detruire toute copie. Le courrier electronique n'est pas garanti securitaire ni exempt d'erreurs. Les messages pourraient etre interceptes, corrompus, egares, retardes ou contamines par des virus. L'exp'editeur n'est pas responsable de ces risques .