Click HERE to see how Saviynt Intelligence is transforming the industry. |
11/07/2023 01:36 AM
Hi Saviynt team,
I need help in writing a MySQL query to store lastname and firstname from the below CN value
CP47= CN=Robb\, Raine,OU=EMEA Technology Solutions,OU=Users & Computers,OU=EMEA Headquarters,OU=United Kingdom,OU=Countries,OU=EMEA,DC=eu,DC=corp,DC=local
Desire output= Raine Robb
Kindly help me with this
11/08/2023 09:51 PM
11/09/2023 12:19 AM
@sppnra please try below query
select concat(substring_index (substring_index(substring_index(customproperty47,',OU',1),'=',-1),',',-1), ' ',substring_index (substring_index(substring_index(customproperty47,',OU',1),'=',-1),',',1)) from users
11/12/2023 10:31 PM