Skip to content

Instantly share code, notes, and snippets.

@wvpv
Last active January 9, 2023 15:58
Show Gist options
  • Save wvpv/c991a4e1e8491f73d24db7d49c3c4d7b to your computer and use it in GitHub Desktop.
Save wvpv/c991a4e1e8491f73d24db7d49c3c4d7b to your computer and use it in GitHub Desktop.
Select
de1.field1
, de1.field2
From [DataExtension1] de1
Left Join [DataExtensionSplit_1] split1 on split1.[Email Address] = de1.[Email Address]
Left Join [DataExtensionSplit_2] split2 on split2.[Email Address] = de1.[Email Address]
Where 1=1
and split1.[Email Address] Is Null
and split2.[Email Address] Is Null
/* writes to DataExtensionSplit_3 */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment