[postgis-users] database wide unique ID

mlinden at zeelandnet.nl mlinden at zeelandnet.nl
Mon Jul 23 07:30:28 PDT 2007


Hello list!

Thanks to you all I have my first real import ready. Of course this is not
enough for my employer ;-)

For some extra functionality that is needed, we need a database wide
unique ID. This is because our postGIS database will feed another (MSSQL)
database with some sort of key index. In the MSSQL database, no difference
is made between point,line and poly. Therefor my three tables (mypoint,
myline and mypoly) need to have system wide ID's so I can return a
relational table to MSSQL.

Is there anyone that know how to generate a database wide unique ID?

Thanks in advance!

Milo van der Linden





More information about the postgis-users mailing list