Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> defining rules

defining rules

From: <prem_at_ibsplc.com>
Date: Fri, 05 Apr 2002 23:18:17 -0800
Message-ID: <F001.0043DC4F.20020405231817@fatcity.com>


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...

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author:
  INET: prem_at_ibsplc.com

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: ListGuru_at_fatcity.com (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). Received on Sat Apr 06 2002 - 01:18:17 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US