Attribute in LIST help needed

Hi Everyone, I am new to Tessitura and we converted a bunch of Named Spaces that Constituents gave to during a Campaign to Constituent Attributes.  In LIST I see the Constituent Attribute as a selection criteria, but I am unsure how to use LIKE to say IS NOT NULL

The query looks like this but I need to figure out how to get TX_CUST_KEYWORD.key_value LIKE '0*' to be IS NOT NULL or whatever the equivalent is.

The data I am trying to retrieve looks like 

G. Mt Vernon Barn Company Cupola

or 

05. HAMMOCK LOUNGE

SELECT DISTINCT a.customer_nol
FROM V_CUSTOMER_WITH_PRIMARY_GROUP AS a WITH (NOLOCK)
WHERE a.inactive = 1
AND EXISTS (SELECT *
FROM TX_CUST_KEYWORD WITH (NOLOCK)
WHERE TX_CUST_KEYWORD.customer_no IN (SELECT customer_no
FROM V_CUSTOMER_WITH_PRIMARY_GROUP
WHERE customer_no = a.customer_no)
AND TX_CUST_KEYWORD.key_value LIKE '0*'
AND TX_CUST_KEYWORD.keyword_no = 470)
AND EXISTS (SELECT *
FROM TX_CUST_KEYWORD WITH (NOLOCK)
WHERE TX_CUST_KEYWORD.customer_no IN (SELECT customer_no
FROM V_CUSTOMER_WITH_PRIMARY_GROUP
WHERE customer_no = a.customer_no)
AND TX_CUST_KEYWORD.key_value LIKE '*'
AND TX_CUST_KEYWORD.keyword_no = 472)

Thank you for your help

Parents Reply
  • I have the element in TR_Query_Element I just don't know how to Select only Constituents that Have something in the Element A% is everything that starts with A, I don't want to have to go through every iteration of letters and numbers and cob together one by one into a list. Is there a wildcard that says Starts with or contains any letter or any number?

Children