The guid data type

The guid data type represents a 128-bit globally unique value.

The guid, uuid, and uniqueid data types are equivalent.

guid literals

To specify a guid literal, use one of the following syntax options:

Syntax Description Example
guid(id) A guid ID string. guid(74be27de-1e4e-49d9-b579-fe0b331d3642)
guid(null) Represents the null value.

Learn more about syntax conventions.