Problem Note 19175: Incorrect counts might be returned when the multi-select node "Exclude
customers that meet these criteria" check box is selected
The check box in the SAS® Campaign Studio multi-select node has an
option to "Exclude Customers that meet these criteria". Under certain
circumstances, checking that box might cause incorrect counts to be
returned.
The Help in SAS® Campaign Studio describes this feature's functionality
as follows:
"To exclude the subjects that are included in the expression, select
Exclude <subjects> that meet these criteria".
However, this does not occur if the criteria is against any table
that is ManyToOne with the subject. The SQL that is generated when
the Exclude option is checked is not of the entire Multi-Select WHERE
clause.
In a manyToOne selection, that does not exclude Subjects that meet the
criteria. Instead it selects subject that meet the opposite of the
criteria.
As a simple example of the problem. Consider customer 123 that has two
Orders. Order 1 is for Product A and Order 2 is for Product B.
If you have a multi-select that specifies Order.Product = A, then
customer 123 is selected. If you then check the option to exclude,
one would expect that customer 123 would not be selected.
However, the sql generates:
select customerId from
customer table0 join Orders table1
on table0.customerid=table1.customerid
where Not (table1.product = 'A');
This sql also selects customer 123 because Order 2 meets the criteria.
Select the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS Marketing Automation-Server | Microsoft Windows XP Professional | 4.4 | 5.1 | | 9.1 TS1M3 SP4 |
Microsoft Windows Server 2003 Enterprise Edition | 4.4 | 5.1 | | 9.1 TS1M3 SP4 |
Microsoft Windows Server 2003 Standard Edition | 4.4 | 5.1 | | 9.1 TS1M3 SP4 |
Microsoft Windows Server 2003 Datacenter Edition | 4.4 | 5.1 | | 9.1 TS1M3 SP4 |
Microsoft Windows 2000 Server | 4.4 | 5.1 | | 9.1 TS1M3 SP4 |
Microsoft Windows 2000 Professional | 4.4 | 5.1 | | 9.1 TS1M3 SP4 |
Microsoft Windows 2000 Datacenter Server | 4.4 | 5.1 | | 9.1 TS1M3 SP4 |
Microsoft Windows 2000 Advanced Server | 4.4 | 5.1 | | 9.1 TS1M3 SP4 |
64-bit Enabled Solaris | 4.4 | 5.1 | | 9.1 TS1M3 SP4 |
Solaris | 4.4 | 5.1 | | 9.1 TS1M3 SP4 |
AIX | 4.4 | 5.1 | | 9.1 TS1M3 SP4 |
64-bit Enabled AIX | 4.4 | 5.1 | | 9.1 TS1M3 SP4 |
HP-UX IPF | 4.4 | 5.1 | | 9.1 TS1M3 SP4 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | high |
Topic: | System Administration ==> Servers
|
Date Modified: | 2008-01-11 14:52:23 |
Date Created: | 2006-12-13 11:36:07 |