I think he’d do this if nobody was looking.
Very nice, Mr. Reeves.
the personal blog of adam spriggs
I think he’d do this if nobody was looking.
Very nice, Mr. Reeves.

Morpheus:
The Matrix is everywhere. It is all around us. Even now, in this very room. You can see it when you look out your window or when you turn on your television. You can feel it when you go to work… when you go to church… when you pay your taxes. It is the world that has been pulled over your eyes to blind you from the truth.
Neo:
What truth?
Morpheus:
That you are a slave, Neo. Like everyone else you were born into bondage. Into a prison that you cannot taste or see or touch. A prison for your mind.
[...]
Morpheus:
This is your last chance. After this, there is no turning back. You take the blue pill – the story ends, you wake up in your bed and believe whatever you want to believe. You take the red pill – you stay in Wonderland and I show you how deep the rabbit-hole goes.
Gotta love this dad dancing like no one’s looking.
In case you missed the previous installments:
Part 1 – DJ
Part 2 – Penguin
Part 3 – Drummer
Part 4 – Fired up Coach
Part 5 – Dancing Grandpa
Part 6 – Dancing Grandma
Part 7 – Los Hermanos Vargas
Part 8 – Laughing Kid
So your Query Activity failed. What next?
SFMC Support can certainly tell you exactly what the error was, and now you can see some error details in the Activity tab of Automation Studio.
Here are a few common things that cause Query Activities to fail.
If your query results in duplicate rows not allowed by the primary key, then you’ll need to change your primary key or de-duplicate the rows that result from your query. Here’s my go-to method for deduplication. The innermost query sorts by insertDate, groups by subscriber key and assigns a ranking to each row. The outermost query selects only the oldest result per subscriber key.
If you have fields in your target Data Extension that are non-nullable, you need to ensure none of the columns in your query return a null value. You can utilize the isnull() SQL function to handle that situation:
If any of your source data extension columns are larger than the target, then you can adjust the length of the target column or use the left() SQL function to trim the value:
Probably the most frustrating error is the the 30 minute timeout. If your query won’t run in that amount of time, then it’ll error out. There are a bunch of different ways to address query timeouts. Here are some tips:
If it’s still timing out, leave a comment below with some details. I have some other tricks to share.
Easy fix for this one. Just re-select the target data extension in your Query Definition.
You can’t, for example, insert a string value of $12.34 into a Decimal field. What I typically do in this scenario is to check the data types of the source data extension(s) and ensure that they match the target data extension column data types. If they don’t, then I’ll either recreate the target column with the correct data type or cast/convert/fix the source column value in the query.
Simon Sinek talks leadership, empathy and perspective.