-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: SnowingMirror
Message 2 in Discussion

I am assuming you want to delete all child records from B&C once you
delete the record from A.
or if you want to delete from A & C, can you make relation between A &
C for on delete cascade?

ALTER the TABLEs for statements support ON DELETE CASCADE.


On Thu, 18 Nov 2004 02:10:03 -0800, Raman82 <[EMAIL PROTECTED]> wrote:
> 
> New Message on BDOTNET
> 
> 
> Regarding delete stored procedure
> 
> 
> Reply
> 
>  Reply to Sender   Recommend Message 1 in Discussion 
> 
> From: Raman82 
> 
> 
> Hi all,
> I am new to database,
> 
> I have three tables,
> For ex: A, B and C
> A is the parent for B and B is the parent for C
> IF am deleting the Ath  record, I should delete the record in C first.
>  
> Pls tell me the way to go, Is there any way to delete the child table
> records when am deleting the parent,
> Or i should write a  stored procedure to delete. ,(If so pls help me to
> write the query )
> Pls help me itz urgent,.
> muthu
>  
>  
> View other groups in this category. 
> 
>  
> 
> Also on MSN:
> Start Chatting | Listen to Music | House & Home | Try Online Dating | Daily
> Horoscopes 
> 
> 
> 
> To stop getting this e-mail, or change how often it arrives, go to your
> E-mail Settings. 
> 
> Need help? If you've forgotten your password, please go to Passport Member
> Services. 
> For other questions or feedback, go to our Contact Us page. 
> 
> If you do not want to receive future e-mail from this MSN group, or if you
> received this message by mistake, please click the "Remove" link below. On
> the pre-addressed e-mail message that opens, simply click "Send". Your
> e-mail address will be deleted from this group's mailing list. 
> Remove my e-mail address from BDOTNET. 


-- 
Lalit


-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member 
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you 
received this message by mistake, please click the "Remove" link below. On the 
pre-addressed e-mail message that opens, simply click "Send". Your e-mail 
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to