Last active
March 28, 2017 17:09
-
-
Save katydorjee/cf23a78fa240d7542fe591d12f72103c to your computer and use it in GitHub Desktop.
Returns specified value from a Data Extension - Ampscript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| %%[ | |
| set @returnValue = Lookup("Data Extension name", "Field name fetch from the DE", "Field for matching condition", "Value for matching condition") | |
| ]%% | |
| %%=v(@returnValue)=%% | |
| <!-- | |
| This function will return only the first occurrence of the record in a DE | |
| --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment