[PATCH 1 of 2] Importer (s/u-info) extensions: oracle script for vegetation_type update improved for special chars

Wald Commits scm-commit at wald.intevation.org
Fri Apr 3 11:56:56 CEST 2020


# HG changeset patch
# User mschaefer
# Date 1585907716 -7200
#      Fri Apr 03 11:55:16 2020 +0200
# Node ID f7738e64fce60535495501bca6f74e635e471256
# Parent  9b8ba3b83a15f21fb475647c289c60ddb29404a9
Importer (s/u-info) extensions: oracle script for vegetation_type update improved for special chars

diff -r 9b8ba3b83a15 -r f7738e64fce6 backend/doc/schema/oracle_migrations/update_bedarf_2-3-6-3-B.sql
--- a/backend/doc/schema/oracle_migrations/update_bedarf_2-3-6-3-B.sql	Mon Mar 23 16:38:12 2020 +0100
+++ b/backend/doc/schema/oracle_migrations/update_bedarf_2-3-6-3-B.sql	Fri Apr 03 11:55:16 2020 +0200
@@ -8,11 +8,11 @@
 UPDATE vegetation_type SET de_name='Hartholzaue, trocken' WHERE id=2;
 UPDATE vegetation_type SET de_name='Hartholzaue, feucht' WHERE id=3;
 UPDATE vegetation_type SET de_name='Silberweidenwald' WHERE id=4;
-UPDATE vegetation_type SET de_name='Weidengebüsch' WHERE id=5;
-UPDATE vegetation_type SET de_name='Uferröhricht' WHERE id=6;
+UPDATE vegetation_type SET de_name='Weidengeb'||CHR(252 USING NCHAR_CS)||'sch' WHERE id=5;
+UPDATE vegetation_type SET de_name='Uferr'||CHR(246 USING NCHAR_CS)||'hricht' WHERE id=6;
 UPDATE vegetation_type SET de_name='Uferpioniere' WHERE id=7;
 UPDATE vegetation_type SET de_name='vegetationslos' WHERE id=8;
-UPDATE vegetation_type SET de_name='Wasserfläche' WHERE id=9;
+UPDATE vegetation_type SET de_name='Wasserfl'||CHR(228 USING NCHAR_CS)||'che' WHERE id=9;
 
 ALTER TABLE vegetation_type MODIFY (de_name NOT NULL);
 


More information about the Dive4Elements-commits mailing list