Subject Re: [ib-support] UUID UDF's
Author Senthil Palanisamy
Hi Ian,

why dont u try the following script

DECLARE EXTERNAL FUNCTION UUID_CREATE
RETURNS CSTRING(16)
ENTRY_POINT 'fn_uuid_create' MODULE_NAME 'uuidlib';

bye,
Senthil.

----- Original Message -----
From: "Ian A. Newby" <ian@...>
To: <ib-support@yahoogroups.com>
Sent: Wednesday, November 20, 2002 4:44 AM
Subject: [ib-support] UUID UDF's


> Hi All,
> I am in the middle of writing a cross platform (linux, windows)
> udf library to deal with uuids (guids).
>
> I have read here before that they could be stored as char(16)
> character set octets.
>
> I have got the udf working, declared as
>
> DECLARE EXTERNAL FUNCTION UUID_CREATE
> CSTRING(17),
> RETURNS PARAMETER 1
> ENTRY_POINT 'fn_uuid_create' MODULE_NAME 'uuidlib';
>
> however, if the uuid contains a #0 character the uuid is tructated.
> I have tried declaring it as
>
> DECLARE EXTERNAL FUNCTION UUID_CREATE
> CHAR(16),
> RETURNS PARAMETER 1
> ENTRY_POINT 'fn_uuid_create' MODULE_NAME 'uuidlib';
>
> but it still fails.
>
> Anyone any ideas, or should I switch to storing it in human readable
> form?
>
> Regards
> Ian Newby
>
>
>
> To unsubscribe from this group, send an email to:
> ib-support-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com