and more in a single search tool across platforms. Read the announcement here. |
03/05/2024 10:16 AM
Hi Team,
We are trying to copy the data present in customproperty3 and update the same value in customproperty56. We are using modifyuserdata json in sav4sav rest connector.
We followed the steps given in the below link
We tried many methods to update the customproperty,it is not working.
{
"ADDITIONALTABLES": {
"USERS": "SELECT USERNAME,CUSTOMPROPERTY56,CUSTOMPROPERTY3 FROM USERS"
},
"COMPUTEDCOLUMNS": [
"CUSTOMPROPERTY56"
],
"TABLEINDEXES": {
"CURRENTUSERS": [
"USERNAME",
"CUSTOMPROPERTY3",
"CUSTOMPROPERTY56"
]
},
"PREPROCESSQUERIES": [
"UPDATE NEWUSERDATA SET CUSTOMPROPERTY56 = (select CUSTOMPROPERTY3 from currentusers)"
]
}
Can you please help us here
Reagrds,
Varshitha
03/05/2024 07:05 PM - edited 03/05/2024 07:06 PM
UPDATE NEWUSERDATA
SET CUSTOMPROPERTY56 = (
SELECT CUSTOMPROPERTY3
FROM CURRENTUSERS
WHERE CURRENTUSERS.USERNAME = NEWUSERDATA.USERNAME
)