3 updated example to reference uuid as sk
source | link

Assuming the _SubscriberKeyuuid contains the the value for retrieving the row:

%%[

var @rows, @row, @rowCount, @sk

set @sk = AttributeValue("_Subscriberkey""uuid") 

set @rows = LookupRows("DE_Name","uuid", @sk)
set @rowCount = rowcount(@rows)

if @rowCount > 0 then

  var @registrationDate, @purchaseDate
  set @row = row(@rows,1)
  set @registrationDate = field(@row,"registrationDate")
  set @purchaseDate = field(@row,"purchaseDate")

]%%

registrationDate is %%=v(@registrationDate)=%%, purchaseDate is %%=v(@purchaseDate)=%%

%%[ else ]%%

No rows found

%%[ endif ]%%

Assuming the _SubscriberKey contains the the value for retrieving the row:

%%[

var @rows, @row, @rowCount, @sk

set @sk = AttributeValue("_Subscriberkey") 

set @rows = LookupRows("DE_Name","uuid", @sk)
set @rowCount = rowcount(@rows)

if @rowCount > 0 then

  var @registrationDate, @purchaseDate
  set @row = row(@rows,1)
  set @registrationDate = field(@row,"registrationDate")
  set @purchaseDate = field(@row,"purchaseDate")

]%%

registrationDate is %%=v(@registrationDate)=%%, purchaseDate is %%=v(@purchaseDate)=%%

%%[ else ]%%

No rows found

%%[ endif ]%%

Assuming the uuid contains the the value for retrieving the row:

%%[

var @rows, @row, @rowCount, @sk

set @sk = AttributeValue("uuid") 

set @rows = LookupRows("DE_Name","uuid", @sk)
set @rowCount = rowcount(@rows)

if @rowCount > 0 then

  var @registrationDate, @purchaseDate
  set @row = row(@rows,1)
  set @registrationDate = field(@row,"registrationDate")
  set @purchaseDate = field(@row,"purchaseDate")

]%%

registrationDate is %%=v(@registrationDate)=%%, purchaseDate is %%=v(@purchaseDate)=%%

%%[ else ]%%

No rows found

%%[ endif ]%%
2 added 2 characters in body
source | link

Assuming the _SubscriberKey iscontains the the value to be used to retrievefor retrieving the row:

%%[

var @rows, @row, @rowCount, @sk

set @sk = AttributeValue("_Subscriberkey") 

set @rows = LookupRows("DE_Name","uuid", @sk)
set @rowCount = rowcount(@rows)

if @rowCount > 0 then

  var @registrationDate, @purchaseDate
  set @row = row(@rows,1)
  set @registrationDate = field(@row,"registrationDate")
  set @purchaseDate = field(@row,"purchaseDate")

]%%

registrationDate is %%=v(@registrationDate)=%%, purchaseDate is %%=v(@purchaseDate)=%%

%%[ else ]%%

No rows found

%%[ endif ]%%

Assuming the _SubscriberKey is the value to be used to retrieve the row:

%%[

var @rows, @row, @rowCount, @sk

set @sk = AttributeValue("_Subscriberkey") 

set @rows = LookupRows("DE_Name","uuid", @sk)
set @rowCount = rowcount(@rows)

if @rowCount > 0 then

  var @registrationDate, @purchaseDate
  set @row = row(@rows,1)
  set @registrationDate = field(@row,"registrationDate")
  set @purchaseDate = field(@row,"purchaseDate")

]%%

registrationDate is %%=v(@registrationDate)=%%, purchaseDate is %%=v(@purchaseDate)=%%

%%[ else ]%%

No rows found

%%[ endif ]%%

Assuming the _SubscriberKey contains the the value for retrieving the row:

%%[

var @rows, @row, @rowCount, @sk

set @sk = AttributeValue("_Subscriberkey") 

set @rows = LookupRows("DE_Name","uuid", @sk)
set @rowCount = rowcount(@rows)

if @rowCount > 0 then

  var @registrationDate, @purchaseDate
  set @row = row(@rows,1)
  set @registrationDate = field(@row,"registrationDate")
  set @purchaseDate = field(@row,"purchaseDate")

]%%

registrationDate is %%=v(@registrationDate)=%%, purchaseDate is %%=v(@purchaseDate)=%%

%%[ else ]%%

No rows found

%%[ endif ]%%
1
source | link

Assuming the _SubscriberKey is the value to be used to retrieve the row:

%%[

var @rows, @row, @rowCount, @sk

set @sk = AttributeValue("_Subscriberkey") 

set @rows = LookupRows("DE_Name","uuid", @sk)
set @rowCount = rowcount(@rows)

if @rowCount > 0 then

  var @registrationDate, @purchaseDate
  set @row = row(@rows,1)
  set @registrationDate = field(@row,"registrationDate")
  set @purchaseDate = field(@row,"purchaseDate")

]%%

registrationDate is %%=v(@registrationDate)=%%, purchaseDate is %%=v(@purchaseDate)=%%

%%[ else ]%%

No rows found

%%[ endif ]%%