Subject Re: [firebird-support] Newbie Question: A GUID data type
Author Brian L. Juergensmeyer
Hi, Steve,

>GetColValue does not allow the application to specify the type of the
>returned value. All we have to go on, is the server datatype. If that is
>the same for what should really be two distinct types (text and GUID),
>then we run into difficulties.

Those who know more about this, please correct me if I'm wrong, but would it
work to:

CREATE DOMAIN "UNIQUEIDENTIFIER" AS CHAR(38) NOT NULL;

Would the the datatype in this case be returned as CHAR(38) or as
UNIQUEIDENTIFIER?

We'll be struggling with this at my office at some point in the not too
distant future as well.

Thanks,

Brian