01/24/2023 01:01 PM
Can someone please share a query to update a CustomPropertyX on the user profile with their Manager's Manager.
Solved! Go to Solution.
01/24/2023 01:10 PM
update users u ,users m,users mm set u.customproperty1=mm.username where u.manager=m.userkey and m.manager=mm.userkey limit 10;
01/24/2023 01:11 PM
update users u left join users m on u.manager=m.userkey left join users mm on m.manager=mm.userkey on u.customproperty1=mm.username limit 1;
01/24/2023 02:49 PM
I see you have replied two query, Is the query to try out as it is setting customproperty1 ?
update users u ,users m,users mm set u.customproperty1=mm.username where u.manager=m.userkey and m.manager=mm.userkey limit 10;
01/24/2023 04:21 PM
Both will work .