Which snippet of AMPscript would return all products which are currently available?

Northern Trail Outfitters has an Enterprise 2.0 account with 15 business units. Each business unit can access a Shared Data Extension named ‘Inventory’, which contains the details for each product. A Boolean field named ‘InStock’ indicates whether the item is available.

Which snippet of AMPscript would return all products which are currently available?
A . LookupRows (‘Ent. Inventory*, ‘true’, ‘InStock’)
B. LookupRows (‘Ent. Inventory*, itemName, ‘InStock’, ‘true’)
C. LookupRows (‘Ent. Inventory*, ‘InStock’, ‘true’, )
D. LookupRows (‘Inventory*, ‘InStock”true’,)

Answer: C

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments