|--Parallelism(Gather Streams)
|--Hash Match(Aggregate, HASH:([SPAM_Preferences].[iEntityID]) DEFINE:([Expr1087]=ANY(368)))
|--Filter(WHERE:([CustomerProduct].[iOwnerId]=NULL))
|--Parallelism(Repartition Streams, PARTITION COLUMNS:([SPAM_Preferences].[iEntityID]))
|--Hash Match(Right Outer Join, HASH:([CustomerProduct].[iOwnerId])=([Individual].[iIndividualId]))
|--Parallelism(Repartition Streams, PARTITION COLUMNS:([CustomerProduct].[iOwnerId]))
| |--Hash Match(Inner Join, HASH:([ProductMaster_Extended].[chProductNumber], [ProductMaster_Extended].[iSiteID])=([CustomerProduct].[chProductNumber], [CustomerProduct].[iSiteId]), RESIDUAL:([CustomerProduct].[chProductNumber
| |--Parallelism(Broadcast)
| | |--Nested Loops(Inner Join, OUTER REFERENCES:([ProductMaster].[chProductNumber], [ProductHierarchy].[iSiteId]) WITH PREFETCH)
| | |--Parallelism(Gather Streams)
| | | |--Nested Loops(Inner Join, OUTER REFERENCES:([ProductMaster].[iSiteId]))
| | | |--Clustered Index Scan(OBJECT:([Onyx].[dbo].[ProductMaster].[PKCUCProductMaster]), WHERE:([ProductMaster].[iHierarchyId]=268))
| | | |--Index Seek(OBJECT:([Onyx].[dbo].[ProductHierarchy].[PKNUCProductHierarchy]), SEEK:([ProductHierarchy].[iHierarchyId]=268 AND [ProductHierarchy].[iSiteId]=[ProductMaster].[iSiteId]) ORDERED FORWARD
| | |--Index Seek(OBJECT:([Onyx].[dbo].[ProductMaster_Extended].[IX_ProductMaster_Extended_Uniq_Prodnum]), SEEK:([ProductMaster_Extended].[chProductNumber]=[ProductMaster].[chProductNumber] AND [ProductMaster_Exte
| |--Clustered Index Scan(OBJECT:([Onyx].[dbo].[CustomerProduct].[PKNUCCustomerProduct]), WHERE:(datediff(day, [CustomerProduct].[dtPurchaseDate], getdate())<90))
|--Filter(WHERE:([CustomerProduct].[iOwnerId]=NULL))
|--Hash Match(Right Outer Join, HASH:([CustomerProduct].[iOwnerId])=([Individual].[iIndividualId]))
|--Parallelism(Repartition Streams, PARTITION COLUMNS:([CustomerProduct].[iOwnerId]))
| |--Hash Match(Inner Join, HASH:([ProductMaster_Extended].[chProductNumber], [ProductMaster_Extended].[iSiteID])=([CustomerProduct].[chProductNumber], [CustomerProduct].[iSiteId]), RESIDUAL:([CustomerProduct].[chPro
| |--Bitmap(HASH:([ProductMaster_Extended].[chProductNumber], [ProductMaster_Extended].[iSiteID]), DEFINE:([Bitmap1093]))
| | |--Parallelism(Repartition Streams, PARTITION COLUMNS:([ProductMaster_Extended].[chProductNumber], [ProductMaster_Extended].[iSiteID]))
| | |--Nested Loops(Inner Join, OUTER REFERENCES:([ProductMaster].[chProductNumber], [ProductHierarchy].[iSiteId]) WITH PREFETCH)
| | |--Nested Loops(Inner Join, OUTER REFERENCES:([ProductMaster].[iSiteId], [ProductMaster].[iHierarchyId]))
| | | |--Clustered Index Scan(OBJECT:([Onyx].[dbo].[ProductMaster].[PKCUCProductMaster]), WHERE:([ProductMaster].[iHierarchyId]=272 OR [ProductMaster].[iHierarchyId]=199) ORDERED FORWARD)
| | | |--Index Seek(OBJECT:([Onyx].[dbo].[ProductHierarchy].[PKNUCProductHierarchy]), SEEK:([ProductHierarchy].[iHierarchyId]=[ProductMaster].[iHierarchyId] AND [ProductHierarchy].[iSiteId]=[Prod
| | |--Index Seek(OBJECT:([Onyx].[dbo].[ProductMaster_Extended].[IX_ProductMaster_Extended_Uniq_Prodnum]), SEEK:([ProductMaster_Extended].[chProductNumber]=[ProductMaster].[chProductNumber] AND [Pro
| |--Parallelism(Repartition Streams, PARTITION COLUMNS:([CustomerProduct].[chProductNumber], [CustomerProduct].[iSiteId]), WHERE:(PROBE([Bitmap1093])=TRUE))
| |--Clustered Index Scan(OBJECT:([Onyx].[dbo].[CustomerProduct].[PKNUCCustomerProduct]), WHERE:(datediff(day, [CustomerProduct].[dtPurchaseDate], getdate())<90))
|--Parallelism(Repartition Streams, PARTITION COLUMNS:([Individual].[iIndividualId]))
|--Hash Match(Inner Join, HASH:([Country].[chCountryCode])=([Individual].[chCountryCode]), RESIDUAL:([Individual].[chCountryCode]=[Country].[chCountryCode]))
|--Parallelism(Distribute Streams, PARTITION COLUMNS:([Country].[chCountryCode]))
| |--Index Scan(OBJECT:([Onyx].[dbo].[Country].[IX_Country_Currency]))
|--Filter(WHERE:([CustomerProduct].[iOwnerId]=NULL))
|--Parallelism(Repartition Streams, PARTITION COLUMNS:([Individual].[chCountryCode]))
|--Nested Loops(Left Outer Join, WHERE:([Individual].[iIndividualId]=[CustomerProduct].[iOwnerId]))
|--Filter(WHERE:([CustomerProduct].[iOwnerId]=NULL))
| |--Nested Loops(Left Outer Join, WHERE:([Individual].[iIndividualId]=[CustomerProduct].[iOwnerId]))
| |--Filter(WHERE:([tr].[vchemailaddress]=NULL))
| | |--Hash Match(Right Outer Join, HASH:([tr].[vchemailaddress])=([Expr1092]), RESIDUAL:([Expr1092]=[tr].[vchemailaddress]))
| | |--Parallelism(Repartition Streams, PARTITION COLUMNS:([tr].[vchemailaddress]))
| | | |--Table Scan(OBJECT:([EmailBlasts].[dbo].[temp_rejected] AS [tr]))
| | |--Parallelism(Repartition Streams, PARTITION COLUMNS:([Expr1092]))
| | |--Compute Scalar(DEFINE:([Expr1092]=Convert([Individual].[vchEmailAddress])))
| | |--Filter(WHERE:([CustomerProduct].[iOwnerId]=NULL))
| | |--Nested Loops(Left Outer Join, WHERE:([Individual].[iIndividualId]=[CustomerProduct].[iOwnerId]))
| | |--Filter(WHERE:([CustomerProduct].[iOwnerId]=NULL))
| | | |--Nested Loops(Left Outer Join, WHERE:([Individual].[iIndividualId]=[CustomerProduct].[iOwnerId]))
| | | |--Hash Match(Inner Join, HASH:([SPAM_Preferences].[iOwnerID], [SPAM_Preferences].[vchEmailAddress])=([Individual].[iIndividualId], [Individual]
| | | | |--Bitmap(HASH:([SPAM_Preferences].[iOwnerID], [SPAM_Preferences].[vchEmailAddress]), DEFINE:([Bitmap1094]))
| | | | | |--Parallelism(Repartition Streams, PARTITION COLUMNS:([SPAM_Preferences].[iOwnerID], [SPAM_Preferences].[vchEmailAddress]))
| | | | | |--Clustered Index Scan(OBJECT:([Onyx].[dbo].[SPAM_Preferences].[PK_SPAM_Preferences]), WHERE:(((((((Convert([SPAM_Preferences].[
| | | | |--Parallelism(Repartition Streams, PARTITION COLUMNS:([Individual].[iIndividualId], [Individual].[vchEmailAddress]), WHERE:(PROBE([Bitmap1
| | | | |--Clustered Index Scan(OBJECT:([Onyx].[dbo].[Individual].[IX_Individual_email_iid]), WHERE:([Individual].[chLanguageCode]='ENG'))
| | | |--Table Spool
| | | |--Filter(WHERE:([CustomerProduct].[iOwnerId]=NULL))
| | | |--Nested Loops(Left Outer Join, OUTER REFERENCES:([CustomerProduct].[iOwnerId]))
| | | |--Sort(ORDER BY:([CustomerProduct].[iOwnerId] ASC))
| | | | |--Bookmark Lookup(BOOKMARK:([Bmk1002]), OBJECT:([Onyx].[dbo].[CustomerProduct]) WITH PREFETCH)
| | | | |--Nested Loops(Inner Join, OUTER REFERENCES:([ProductMaster_Extended].[iSiteID], [ProductMaster_Extended].[chProductNu
| | | | |--Nested Loops(Inner Join, OUTER REFERENCES:([ProductMaster].[chProductNumber], [ProductHierarchy].[iSiteId]))
| | | | | |--Nested Loops(Inner Join, OUTER REFERENCES:([ProductMaster].[iSiteId], [ProductMaster].[iHierarchyId]))
Clustered Index Scan(OBJECT:([Onyx].[dbo].[ProductMaster].[PKCUCProductMaster]), WHERE:([ProductMaster].[iHierarchyId]=231 OR [ProductMaster].[iHierarchyId]=229))
Index Seek(OBJECT:([Onyx].[dbo].[ProductHierarchy].[PKNUCProductHierarchy]), SEEK:([ProductHierarchy].[iHierarchyId]=[ProductMaster].[iHierarchyId] AND [ProductHierarchy].[iSiteId]=[ProductMaster].[iSiteId]) ORDERED FORWARD)
| | | | | |--Index Seek(OBJECT:([Onyx].[dbo].[ProductMaster_Extended].[IX_ProductMaster_Extended_Uniq_Prodnum]), SEEK:(
| | | | |--Index Seek(OBJECT:([Onyx].[dbo].[CustomerProduct].[customerproduct_Site_ProductNumber]), SEEK:([CustomerProduct
| | | |--Nested Loops(Inner Join, OUTER REFERENCES:([ProductMaster].[chProductNumber], [ProductHierarchy].[iSiteId]))
| | | |--Nested Loops(Inner Join, OUTER REFERENCES:([ProductMaster].[iSiteId], [ProductMaster].[iHierarchyId]))
| | | | |--Nested Loops(Inner Join, OUTER REFERENCES:([CustomerProduct].[iSiteId], [CustomerProduct].[chProductNumber]))
| | | | | |--Bookmark Lookup(BOOKMARK:([Bmk1021]), OBJECT:([Onyx].[dbo].[CustomerProduct]))
| | | | | | |--Index Seek(OBJECT:([Onyx].[dbo].[CustomerProduct].[NNXcustomerproduct_ownerid]), SEEK:([CustomerProduct].[
| | | | | |--Clustered Index Seek(OBJECT:([Onyx].[dbo].[ProductMaster].[PKCUCProductMaster]), SEEK:([ProductMaster].[chProdu
| | | | |--Index Seek(OBJECT:([Onyx].[dbo].[ProductHierarchy].[PKNUCProductHierarchy]), SEEK:([ProductHierarchy].[iHierarchyId]
| | | |--Index Seek(OBJECT:([Onyx].[dbo].[ProductMaster_Extended].[IX_ProductMaster_Extended_Uniq_Prodnum]), SEEK:([ProductMaster_
| | |--Table Spool
| | |--Nested Loops(Inner Join, OUTER REFERENCES:([ProductMaster].[chProductNumber], [ProductHierarchy].[iSiteId]))
| | |--Nested Loops(Inner Join, OUTER REFERENCES:([ProductMaster].[iHierarchyId], [ProductMaster].[iSiteId]))
| | | |--Nested Loops(Inner Join, OUTER REFERENCES:([CustomerProduct].[iSiteId], [CustomerProduct].[chProductNumber]))
| | | | |--Filter(WHERE:([CustomerProduct].[iOwnerId]=NULL))
| | | | | |--Nested Loops(Left Outer Join, OUTER REFERENCES:([CustomerProduct].[iOwnerId]))
| | | | | |--Bookmark Lookup(BOOKMARK:([Bmk1004]), OBJECT:([Onyx].[dbo].[CustomerProduct]) WITH PREFETCH)
| | | | | | |--Index Seek(OBJECT:([Onyx].[dbo].[CustomerProduct].[NNXcustomerproduct_prodnumber]), SEEK:([CustomerProduct].[chProdu
| | | | | |--Nested Loops(Inner Join, OUTER REFERENCES:([ProductMaster].[iHierarchyId], [ProductMaster_Extended].[iSiteID]))
| | | | | |--Nested Loops(Inner Join, OUTER REFERENCES:([ProductMaster].[iSiteId], [ProductMaster].[chProductNumber]))
| | | | | | |--Nested Loops(Inner Join, OUTER REFERENCES:([CustomerProduct].[iSiteId], [CustomerProduct].[chProductNumber]))
| | | | | | | |--Filter(WHERE:(([CustomerProduct].[chProductNumber]<'PAFGTYPC02000P0EVDEN' OR [CustomerProduct].[chProductN
Bookmark Lookup(BOOKMARK:([Bmk1029]), OBJECT:([Onyx].[dbo].[CustomerProduct]))
Index Seek(OBJECT:([Onyx].[dbo].[CustomerProduct].[NNXcustomerproduct_ownerid]), SEEK:([CustomerProduct].[iOwnerId]=[CustomerProduct].[iOwnerId]) ORDERED FORWARD)
| | | | | | | |--Clustered Index Seek(OBJECT:([Onyx].[dbo].[ProductMaster].[PKCUCProductMaster]), SEEK:([ProductMaster].[ch
| | | | | | |--Index Seek(OBJECT:([Onyx].[dbo].[ProductMaster_Extended].[IX_ProductMaster_Extended_Uniq_Prodnum]), SEEK:([Prod
| | | | | |--Index Seek(OBJECT:([Onyx].[dbo].[ProductHierarchy].[PKNUCProductHierarchy]), SEEK:([ProductHierarchy].[iHierarchyId]
| | | | |--Clustered Index Seek(OBJECT:([Onyx].[dbo].[ProductMaster].[PKCUCProductMaster]), SEEK:([ProductMaster].[chProductNumber]=[CustomerP
| | | |--Index Seek(OBJECT:([Onyx].[dbo].[ProductHierarchy].[PKNUCProductHierarchy]), SEEK:([ProductHierarchy].[iHierarchyId]=[ProductMaster].[iH
| | |--Index Seek(OBJECT:([Onyx].[dbo].[ProductMaster_Extended].[IX_ProductMaster_Extended_Uniq_Prodnum]), SEEK:([ProductMaster_Extended].[chProduct
| |--Table Spool
| |--Filter(WHERE:([CustomerProduct].[iOwnerId]=NULL))
| |--Nested Loops(Left Outer Join, OUTER REFERENCES:([CustomerProduct].[iOwnerId]))
| |--Bookmark Lookup(BOOKMARK:([Bmk1007]), OBJECT:([Onyx].[dbo].[CustomerProduct]) WITH PREFETCH)
| | |--Nested Loops(Inner Join, OUTER REFERENCES:([ProductMaster_Extended].[iSiteID]))
| | |--Nested Loops(Inner Join, OUTER REFERENCES:([ProductMaster].[iHierarchyId], [ProductMaster_Extended].[iSiteID]))
| | | |--Nested Loops(Inner Join, OUTER REFERENCES:([ProductMaster_Extended].[iSiteID]))
| | | | |--Index Seek(OBJECT:([Onyx].[dbo].[ProductMaster_Extended].[IX_ProductMaster_Extended_Uniq_Prodnum]), SEEK:([ProductMaster_Extended].[chProductNumbe
| | | | |--Clustered Index Seek(OBJECT:([Onyx].[dbo].[ProductMaster].[PKCUCProductMaster]), SEEK:([ProductMaster].[chProductNumber]='PAFGPCSY05000POEMPML' AN
| | | |--Index Seek(OBJECT:([Onyx].[dbo].[ProductHierarchy].[PKNUCProductHierarchy]), SEEK:([ProductHierarchy].[iHierarchyId]=[ProductMaster].[iHierarchyId] AND
| | |--Index Seek(OBJECT:([Onyx].[dbo].[CustomerProduct].[customerproduct_Site_ProductNumber]), SEEK:([CustomerProduct].[iSiteId]=[ProductMaster_Extended].[iSiteID
| |--Nested Loops(Inner Join, OUTER REFERENCES:([ProductMaster].[iHierarchyId], [ProductMaster_Extended].[iSiteID]))
| |--Nested Loops(Inner Join, OUTER REFERENCES:([ProductMaster].[iSiteId], [ProductMaster].[chProductNumber]))
| | |--Nested Loops(Inner Join, OUTER REFERENCES:([CustomerProduct].[iSiteId], [CustomerProduct].[chProductNumber]))
| | | |--Filter(WHERE:([CustomerProduct].[chProductNumber]<'PAFGPCSY05000POEMPML' OR [CustomerProduct].[chProductNumber]>'PAFGPCSY05000POEMPML'))
| | | | |--Bookmark Lookup(BOOKMARK:([Bmk1037]), OBJECT:([Onyx].[dbo].[CustomerProduct]))
| | | | |--Index Seek(OBJECT:([Onyx].[dbo].[CustomerProduct].[NNXcustomerproduct_ownerid]), SEEK:([CustomerProduct].[iOwnerId]=[CustomerProduct].[iOwner
| | | |--Clustered Index Seek(OBJECT:([Onyx].[dbo].[ProductMaster].[PKCUCProductMaster]), SEEK:([ProductMaster].[chProductNumber]=[CustomerProduct].[chProductNu
| | |--Index Seek(OBJECT:([Onyx].[dbo].[ProductMaster_Extended].[IX_ProductMaster_Extended_Uniq_Prodnum]), SEEK:([ProductMaster_Extended].[chProductNumber]=[Produc
| |--Index Seek(OBJECT:([Onyx].[dbo].[ProductHierarchy].[PKNUCProductHierarchy]), SEEK:([ProductHierarchy].[iHierarchyId]=[ProductMaster].[iHierarchyId] AND [ProductH
|--Table Spool
|--Nested Loops(Inner Join, OUTER REFERENCES:([ProductHierarchy].[iSiteId]))
|--Filter(WHERE:([CustomerProduct].[iOwnerId]=NULL))
| |--Nested Loops(Left Outer Join, OUTER REFERENCES:([CustomerProduct].[iOwnerId]))
| |--Bookmark Lookup(BOOKMARK:([Bmk1009]), OBJECT:([Onyx].[dbo].[CustomerProduct]) WITH PREFETCH)
| | |--Nested Loops(Inner Join, OUTER REFERENCES:([ProductHierarchy].[iSiteId]))
| | |--Nested Loops(Inner Join, OUTER REFERENCES:([ProductMaster].[iHierarchyId], [ProductMaster].[iSiteId]))
| | | |--Clustered Index Seek(OBJECT:([Onyx].[dbo].[ProductMaster].[PKCUCProductMaster]), SEEK:([ProductMaster].[chProductNumber]='PAFGFLMV05000POEMPML') ORDERED FOR
| | | |--Index Seek(OBJECT:([Onyx].[dbo].[ProductHierarchy].[PKNUCProductHierarchy]), SEEK:([ProductHierarchy].[iHierarchyId]=[ProductMaster].[iHierarchyId] AND [Pro
| | |--Index Seek(OBJECT:([Onyx].[dbo].[CustomerProduct].[customerproduct_Site_ProductNumber]), SEEK:([CustomerProduct].[iSiteId]=[ProductHierarchy].[iSiteId] AND [Cust
| |--Table Spool
| |--Nested Loops(Inner Join, OUTER REFERENCES:([ProductMaster].[iHierarchyId], [ProductMaster_Extended].[iSiteID]))
| |--Nested Loops(Inner Join, OUTER REFERENCES:([ProductMaster].[iSiteId], [ProductMaster].[chProductNumber]))
| | |--Nested Loops(Inner Join, OUTER REFERENCES:([CustomerProduct].[iSiteId], [CustomerProduct].[chProductNumber]))
| | | |--Filter(WHERE:([CustomerProduct].[chProductNumber]<'PAFGFLMV05000POEMPML' OR [CustomerProduct].[chProductNumber]>'PAFGFLMV05000POEMPML'))
| | | | |--Bookmark Lookup(BOOKMARK:([Bmk1045]), OBJECT:([Onyx].[dbo].[CustomerProduct]))
| | | | |--Index Seek(OBJECT:([Onyx].[dbo].[CustomerProduct].[NNXcustomerproduct_ownerid]), SEEK:([CustomerProduct].[iOwnerId]=[CustomerProduct].[iOwner
| | | |--Clustered Index Seek(OBJECT:([Onyx].[dbo].[ProductMaster].[PKCUCProductMaster]), SEEK:([ProductMaster].[chProductNumber]=[CustomerProduct].[chProductNu
| | |--Index Seek(OBJECT:([Onyx].[dbo].[ProductMaster_Extended].[IX_ProductMaster_Extended_Uniq_Prodnum]), SEEK:([ProductMaster_Extended].[chProductNumber]=[Produc
| |--Index Seek(OBJECT:([Onyx].[dbo].[ProductHierarchy].[PKNUCProductHierarchy]), SEEK:([ProductHierarchy].[iHierarchyId]=[ProductMaster].[iHierarchyId] AND [ProductH
|--Index Seek(OBJECT:([Onyx].[dbo].[ProductMaster_Extended].[IX_ProductMaster_Extended_Uniq_Prodnum]), SEEK:([ProductMaster_Extended].[chProductNumber]='PAFGFLMV05000POEMPML' AND [Prod