ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Deleting parent record in ESQL

Post new topic  Reply to topic
 Deleting parent record in ESQL « View previous topic :: View next topic » 
Author Message
akir
PostPosted: Tue Apr 22, 2008 6:03 am    Post subject: Deleting parent record in ESQL Reply with quote

Acolyte

Joined: 28 Jun 2007
Posts: 51

I have a parent child relation with the incoming BOs (Database generated).I need to delete the parent record from the database and not the child.Is there anyway to do it?

Scenario explained:
Adapter is polling for events in Database.It will pick up the records in database which are satisfying our condition and we will get both the parent and child records which are from different tables.But we need to delete the records in parent table after operation is done and leave as such the child records.
_________________
Thanks and Regards,
Akir

Tell everyone what you want to do and someone will want to help you do it.-W. Clement Stone
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Gaya3
PostPosted: Tue Apr 22, 2008 6:18 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

1. Extract the records what ever you need.
2. You can delete the Parent, Unless and until if there are no dependency factor (foreign key, primary key constraints) --purely Database concept

Regards
Gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Deleting parent record in ESQL
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.