Skip to content

Instantly share code, notes, and snippets.

@thyn
Last active February 1, 2017 10:59
Show Gist options
  • Save thyn/7d7c1ac15302a25be157c815c4187b52 to your computer and use it in GitHub Desktop.
Save thyn/7d7c1ac15302a25be157c815c4187b52 to your computer and use it in GitHub Desktop.
Leadsraiser
select email,tref7,tref8, UserCreationDate,
xmlFields,cast ( xmlFields.query( '(/d/i[@k="Reasons"][1]/text())') as varchar(200)),
* from actions where actionname ='set-unsubscribe-reasons'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment