From 05180c662ebffd4eff15baaa7e20a584db5bc3e8 Mon Sep 17 00:00:00 2001 From: jf Date: Tue, 17 Feb 2026 16:14:27 +0100 Subject: [PATCH] Update docs/PostgreSQL/2026-02-17-commandes-utiles.md --- docs/PostgreSQL/2026-02-17-commandes-utiles.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/PostgreSQL/2026-02-17-commandes-utiles.md b/docs/PostgreSQL/2026-02-17-commandes-utiles.md index 3dcf196..3d26aa8 100644 --- a/docs/PostgreSQL/2026-02-17-commandes-utiles.md +++ b/docs/PostgreSQL/2026-02-17-commandes-utiles.md @@ -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