SQL Notebook (logo)

NEWID Function

Generates a new GUID string like "8503ACE5-871D-4759-8B63-D684792C4C15".

Syntax

NEWID()

Return Value

A new GUID string like "C5912150-1DE9-42EE-B265-0A65DAD8CACE".

Examples