Alex Pilosov writes:
> Dmitry's stuff contains both datatype (uniqueidentifier), a function to
> generate a new object of that type (newid), and a set of functions to
> implement comparison operators for that type.
>
> I don't see anything wrong with that setup, but maybe I'm still missing
> something?
It would be much simpler if you stored the unique id in varchar or text.
--
Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter