SQL script for updating internal created researchers' "Reference".

This commit is contained in:
gkolokythas 2020-01-13 18:22:13 +02:00
parent bf5526103a
commit 2e2e003378
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
UPDATE "Researcher"
SET "Reference" = CONCAT('dmp:', "ID")
WHERE "ID" IN (
SELECT "ID" FROM "Researcher"
WHERE "Reference" LIKE 'dmp:%'
)