Subject Re: [firebird-support] Newbie Question: A GUID data type
Author Ivan Prenosil
> 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?

At API level (in XSQLDA structure) it will be reported as CHAR,
but you can always query system tables to get domain name.

Ivan