view db_schema/stammdaten_fill_verwaltungsgrenze.sql @ 1215:6e393b614edf

The referencing column does not need to be wider than what it refereces.
author Tom Gottfried <tom@intevation.de>
date Thu, 08 Dec 2016 15:23:55 +0100
parents 1bc8ab13e1f7
children f094aca05cf2
line wrap: on
line source
insert into stammdaten.verwaltungsgrenze(gem_id, shape)
SELECT 
  verwaltungseinheit.id,
  gem_utm.geom
FROM 
  stammdaten.verwaltungseinheit
left join geo.gem_utm on verwaltungseinheit.id = gem_utm.ags;
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)