identity
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
# Syntaxe PostgreSQL
|
||||
|
||||
## Incrément automatique
|
||||
|
||||
Créer une colonne id (identifiant) clé primaire avec incrémentation automatique
|
||||
|
||||
```sql
|
||||
id bigint primary key generated always as identity
|
||||
```
|
||||
|
||||
## Procédures stockées
|
||||
|
||||
```sql
|
||||
|
||||
Reference in New Issue
Block a user