SQL script fixing "Researcher" reference prefix.
This commit is contained in:
parent
e1af4eacbe
commit
66a5157f62
|
@ -0,0 +1,6 @@
|
||||||
|
UPDATE "Researcher"
|
||||||
|
SET "Reference" = CONCAT(LOWER(LEFT("Reference", 1)), SUBSTRING("Reference", 2))
|
||||||
|
WHERE "ID" in (
|
||||||
|
SELECT "ID" FROM "Researcher"
|
||||||
|
WHERE ASCII(LEFT("Reference", 1)) BETWEEN ASCII('A') AND ASCII('Z')
|
||||||
|
)
|
Loading…
Reference in New Issue