Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » UltraLite - AppForge Programming » UltraLite for AppForge API Reference » ULConnection class

Synchronize method Next Page

UUIDToString method


Converts a UUID from a byte array to a string of the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.

Syntax

UUIDToString( buffer_16_bytes As Long ) As String
Member of UltraLiteAFLib.ULConnection

Parameters

buffer_16_bytes    An array of 16 bytes containing a UUID.

Returns

Each call returns a string of the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.

Remarks

In databases created before version 9.0.2, the UNIQUEIDENTIFIER data type is defined as a user-defined data type and functions are needed to convert between binary and string representations of UUID values.

In databases created using version 9.0.2 or later, the UNIQUEIDENTIFIER data type is a native data type and UltraLite carries out conversions as needed. The UUIDToString function is therefore not needed.

See also