PostGIS中生成GUID字段值


create extension "uuid-ossp"

update base_region set region_id = uuid_generate_v4()

update base_region set region_id = upper( replace(region_id,'-',''))

posted @ 2019-03-26 10:36  ParamousGIS  阅读(448)  评论(0编辑  收藏  举报