identity
This commit is contained in:
@@ -1,5 +1,13 @@
|
|||||||
# Syntaxe PostgreSQL
|
# 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
|
## Procédures stockées
|
||||||
|
|
||||||
```sql
|
```sql
|
||||||
|
|||||||
Reference in New Issue
Block a user