in reply to Add value from one array element into another of same ID
Hi,
If you can fiddle with a database, this is very easy to solve with SQL; in Postgres, probably others, you can write :
(assuming your data resides in tbldata with fields id, name, number, code)update tbldata set name = t1.name from tbldata t1 where tbldata.name i +s null and tbldata.id = t1.id;
https://marica.fr
Logiciel de gestion des sinistres assurances, des dossiers contentieux et des contrats pour le service juridique
|
|---|