My suggestion is that you study up on meta data and consider how to apply it to your situation.
There is no easy solution to accomplish what you wish. Jared On Friday 05 April 2002 23:18, [EMAIL PROTECTED] wrote: > I have a bugging problem, I will try to explain it... > > We need to store rules into the databse ... > > > example > Rule 1 says : if the name of a person = 'A' , age is > 20 , state ='YSA' > the execute procedure1 > > Another rule says > > Rule 2 : if the name of a person = 'A' , age is > 20 the execute > procedure2 > > > Now if we try to save a person record as follows > Name ='A' and age = 23 then both the rules would be executed. > > > Now my problem, there could be hundreds of such rules, so when I save the > person record, how do I find which rule to be applied > What is the best optimum method to store these rules in the database and > what is the best solution to find which rule to be applied.. > > > Please note that these are not the only parameters that could be there in > the rules... ---------------------------------------- Content-Type: text/html; charset="us-ascii"; name="Attachment: 1" Content-Transfer-Encoding: 7bit Content-Description: ---------------------------------------- -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Jared Still INET: [EMAIL PROTECTED] Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).