Sometimes using a Query Activity to de-duplicate data before an email send isn’t feasible. You can do it in AMPscript if you don’t mind sorting your external rows.
In this code block, you just need to use a variable to keep track of the previous value that you’ve displayed. When the current row doesn’t match the previous one, output it.
Reference
(Visited 2,320 times, 1 visits today)