Home Search

DriveWorks Pro 21
SppIsGUID

Send Feedback

SppIsGUID

Will return TRUE if the given value is a GUID number.

A GUID (Globally Unique Identifier) is almost guaranteed to be unique, even without a central authority to ensure uniqueness. They are used to identify different things across different systems with a minute chance of collision. This is not only related to databases, they can be used for creating unique file names.

Syntax

SppIsGuid([Value])

Where:

Value is the value to check if it is a GUID number. Returns TRUE if the value is and FALSE if not.

Example

RuleResultMeaning
SppIsGUID("2aaaaaaa-bbbb-cccc-dddd-1eeeeeeeeeee")TRUEWill return with TRUE as this is a GUID number.