## Syntax
```mermaid
%%{init: {
'theme': 'base',
'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
'themeVariables': {
'fontSize': '11px',
'fontFamily': 'Arial'
}
}}%%
flowchart LR
Start((START)) --> NEWID[NEWID]:::quoted
NEWID --> End((END))
```
## Purpose
The `NEWID` SQL function creates a new GUID ID.
Returns: the new GUID ID.
## Examples
The following example creates a new GUID. The actual value differs per invocation:
```sql
select newid()
------------------------------------
0e984725-c51c-4bf4-9960-e1c80e27aba0
```