Update docs/PostgreSQL/2026-02-17-commandes-utiles.md
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
jf
2026-02-17 16:14:27 +01:00
parent 0b21900114
commit 05180c662e

View File

@@ -7,7 +7,7 @@ date: 2026-02-17
## Ne lister que les colonnes d'une table
```sql
\set TABLE_NAME 'ma_table'
SELECT column_name FROM information_schema.columns where table_name = :'TABLE_NAME';
SELECT column_name FROM information_schema.columns where table_name = :'TABLE_NAME' order by column_name;
```
Afficher toutes les tables et leur colonnes avec un début de nom de table :
```sql