SQL
Formatters
#### `fmt` Syntax {#docs:sql:functions:char::fmt-syntax}  
The `format(format, parameters...)` function formats strings, loosely following the syntax of the [{fmt} open-source formatting library](https://fmt.dev/latest/syntax/).  
Format without additional parameters:  
```sql
SELECT format('Hello world'); -- Hello world
```  
Format a string using {}:  
```sql
SELECT format('The answer is {}', 42); -- The answer is 42
```  
Format a string using positional arguments:  
```sql
SELECT format('I''d rather be {1} than {0}.', 'right', 'happy'); -- I'd rather be happy than right.
```