【发布时间】:2011-03-17 02:57:32
【问题描述】:
我需要构建一个业务规则引擎。我使用的是 SQL SERVER 2005。业务规则很庞大,比如 2000 页长。
例如。
If col1 = 'xyz' then populate col2 otherwise not.
if col3 = 'abc' and col4 = 'def' then col5 = 'ghy'
等等。等等
所以,我认为我们不能只在过程中的 if else 条件中编写所有这些规则。所以,也许我可以创建一个决策表并将该表上的所有条件作为记录。 但我不知道该怎么做。
任何人有任何想法,怎么做?
谢谢
【问题讨论】:
标签: sql-server rdbms rule-engine business-rules system-design