Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Amine_Abedour
Amine_AbedourAccepted solution
Community Advisor and User Group Leader
August 3, 2023

Hello @heku_,

 

Please referre to this documentation to do what you want to do : 

https://experienceleague.adobe.com/docs/campaign-classic/using/configuring-campaign-classic/api/adding-additional-sql-functions.html?lang=en

 

Br,

Amine

Amine ABEDOUR

3 replies

ParthaSarathy
Community Advisor
Community Advisor
August 2, 2023

Hi @heku_ ,

Try this expression,

expr="Substring(@email,0 ,Length(@email)-Length(GetEmailDomain(@email)))"

<attribute expr="Substring(@email,0 ,Length(@email)-Length(GetEmailDomain(@email)))" label="Email Prefix" name="emailPrefix" type="string"/>

Disconnect & Reconnect.

Translate
~  ParthaSarathy S~  Click here to join ADOBE CAMPAIGN USER GROUP for Quarterly In-person | Hybrid | Virtual Meetups
Heku_
Heku_Author
Level 5
August 3, 2023

Thank you, but i need to do more complex things, like doing a SELECT x FROM actual table order by x DESC LIMIT 1

Translate
Amine_Abedour
Community Advisor and User Group Leader
Amine_AbedourCommunity Advisor and User Group LeaderAccepted solution
Community Advisor and User Group Leader
August 3, 2023
Amine ABEDOUR