Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Count of records in delivery logs using some foreign keys

Avatar

Avatar
Validate 1
Level 1
niveditha_m1172
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
niveditha_m1172
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
niveditha_m1172
Level 1

21-03-2018

How do we get the count of records in Delivery Logs schema using the primary keys of Recipients schema (for more than 20k records)?

Primary keys of recipients schema will have at least one record existing in Delivery Logs schema.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Level 3
kapilsharma0101
Level 3

Likes

14 likes

Total Posts

52 posts

Correct Reply

18 solutions
Top badges earned
Validate 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile

Avatar
Validate 1
Level 3
kapilsharma0101
Level 3

Likes

14 likes

Total Posts

52 posts

Correct Reply

18 solutions
Top badges earned
Validate 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
kapilsharma0101
Level 3

21-03-2018

Hi,

1. Take the Query Activity In the Workflow.

2. Select Recipients as Targeting Dimension and Recipient Delivery Logs as Filtering Dimension as shown below :

1447606_pastedImage_0.png

3. Not Add the query given below. (Primary Key Of Recipients = Required Primary Key). And this will fetch all the records of Delivery Logs from the Recipient ID of Recipient Table.

Note # Select Primary Key Column Of Recipients Table

1447628_pastedImage_1.png

OR

If you want to fetch only the counts through database, then use the below query to fetch the counts :

SELECT COUNT(*) FROM NMSBROADLOGRCP WHERE IRECIPIENTID='123'

Answers (1)

Answers (1)

Avatar

Avatar
Give Back 5
Level 3
santhoshsrg
Level 3

Likes

21 likes

Total Posts

56 posts

Correct Reply

2 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 3
Ignite 1
View profile

Avatar
Give Back 5
Level 3
santhoshsrg
Level 3

Likes

21 likes

Total Posts

56 posts

Correct Reply

2 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 3
Ignite 1
View profile
santhoshsrg
Level 3

05-03-2019

How to achieve the same in Campaign standard because I was not able to get Recipient Auto Primary key in filter window - Expression.