Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Upper case and Lower case in Customquery

Varshi_Balaji
Regular Contributor
Regular Contributor

Hi Team,

Can anyone give any example how we can user uppercase and lower case function in customquery.

 

Regards,

Varshita

3 REPLIES 3

rushikeshvartak
All-Star
All-Star

update users set customproperty1 =lower(firstname), customproperty2 = upper(firstname) where username='admin' limit 1;


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Varshi_Balaji
Regular Contributor
Regular Contributor

Hi Rushikesh,

Can we use case also in customquery?

Requirement is we need to combine case statements , upper and lower functions.

Thanks,

Varshita

Yes all sql function works 

update users set customproperty1 = case when userkey=1 then lower(firstname) else null end , customproperty2 = upper(firstname) where username='admin' limit 1;


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.