## Syntax
```mermaid
%%{init: {
'theme': 'base',
'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
'themeVariables': {
'fontSize': '11px',
'fontFamily': 'Arial'
}
}}%%
flowchart LR
Start((START)) --> SIGN[SIGN]:::quoted
SIGN --> End((END))
```
## Purpose
The `SIGN` SQL function returns the sign of a number, with -1 representing a negative number, 1 a positive number and 0 a zero.
Parameters:
- Input: A number.
Returns: decimal.