I did not have to go through a similar scenario but I think you have your answer in the following part of the documentation.
We recommend the following:
When possible, avoid paging by filtering your queries of external objects to return fewer rows than the batch size, which by default is
500 rows. Remember, obtaining each batch requires a queryMore() call,
First of all, I have to call this out: this is a very poor data model. By storing data in CSV in a text field, you are sacrificing much of the innate capability of the Salesforce database or indeed any database to effectively relate, index, query, and search structured data. That's going to make all further implementation you do more expensive, less ...
In the majority of places, Marketing Cloud uses Central Standard time with no Daylight Savings.
Within the last few years, SFMC started supporting the AT TIME ZONE directive in Query Activities. With that you could do something like this in your query:
FROM ENT.[User] u
INNER JOIN Player p ON u.UserId = p....
You can't return the fields that you specify by querying Mobile Lists. Somehow, MC only lets you retrieve SubscriberKey from Mobile Lists both for MobileConnect and MobilePush.
You can use MobileConnect data views to retrieve all the fields available on MobileConnect Data. Please check this link to see available fields and data views. From these data view, ...
If you do a retrieve call on this object(DE) you will get the fields that are queryable.
But the only useful one is Subscriberkey it appears all the other fields have the same values for the entire audience
You have to specify if you only want unique opens -- otherwise, _Opens reflects every open of an email by a subscriber:
o.SubscriberKey as 'EMAIL'
, o.eventdate as 'Data_abertura'
I am guessing your dates are in the following format: DD-MM-YYYY and you are looking to output them as YYYY/MM/DD? If so, you should be able to use the CONVERT() function to do this and not need to do substring and concat functions.
Lets say the [date] value is '22-12-2020' (where this is December 22nd, 2020) and you want the date to be displayed as 2020-12-...
You would need to find the foreign key(s) that correctly matches each row in the two DEs for this task.
As @MateuszDabrowski stated, INSERT INTO, etc. are not acceptable, only queries via SELECT. To this extent you need to use a JOIN in your SQL Query to accomplish this.
To that extent, you would want something like the following:
As you want to use a query for that, you can do it with a simple join:
FROM DataExtension2 AS de2
LEFT JOIN DataExtension1 AS de1
ON de1.EmailName = de2.EmailName
However, I wouldn't recommend doing it that way, as it would require ...
One of the many ways to achieve this is by using Ampscipt. Assuming you want to retrieve and store this data while sending the email only. Below is the code -
set @emailName = EmailName
set @sourceCode = SourceCode
UpdateDE('Data Extension Two',1,'EmailName',@emailName,'SourceCode',@sourceCode)
This script will go into your email message and will ...
The Job data view picks up all email sends, so no need to adjust it for the use case you described:
NOTE The Job data view provides results for all email send jobs in the
Enterprise. The data view doesn’t categorize the results by send
If I am not mistaken, the ...
You will need to aggregate the sent data and then join it with _ListSubscribers data view to get the list name.
This should do the work:
count(s.JobID) AS [Emails Sent],
MIN(s.EventDate) AS [Sent Date],
FROM _Sent s
JOIN (SELECT DISTINCT ListID, ListName FROM _ListSubscribers) l
ON s.ListID = l.ListID
GROUP BY s.JobID, l.ListName