Which AMPscript solution should be recommended?

A developer wants to build an email that dynamically populates the physical address of a company’s locations using the variable ©address. The deployment goes to millions of subscribers and the developer wants the fastest possible performance.

Which AMPscript solution should be recommended?
A . %%[ SET @address = field(Lookcup("Building_Locations"/ "Address", "Id",@Id), "Address") ]%%
B. %% [ SET @address – field(Row(LookupRows("Building_Locations", "Address","Id"), 1),"Address") ]%%
C. %%; SET @address = LookupRows(Building_Locations", "Address", "Id") ]%%
D. %: SET @address = Lookup(”Building_locations”, Address”, ”id”@id) ] %%

Answer: A

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments