Skip to content

Jean-Pierre Lambelet

Il n'y a pas de questions bêtes

  • Programming tips
  • General tips
  • About
  • EN
    • FR
    • EN

SQL

PostgreSQL – How to filter on a column with uppercase letters in its name

April 30, 2026 by Jean-Pierre Lambelet
Baie de serveurs illuminée illustrant une base de données PostgreSQL avec colonnes en majuscule

On PostgreSQL, a column whose name contains an uppercase letter must be wrapped in double quotes to be read or modified. Syntax and best practice to avoid this common pitfall.

Categories SQL Leave a comment

À propos

Jean-Pierre Lambelet est un développeur web suisse. Ce blog rassemble ses astuces et tutoriels sur PHP, Symfony, Drupal, Docker et l'outillage de développement front-end.

Recent Posts

  • LLM – System prompt – Prevent contact hallucination with a registry
  • PostgreSQL – How to filter on a column with uppercase letters in its name
  • Symfony – Doctrine – How to see where a sql query is executed
  • Install drupal/console on drupal 9
  • PHP Spaceship Operator <=>
  • FR
  • EN

Recent Posts

  • LLM – System prompt – Prevent contact hallucination with a registry
  • PostgreSQL – How to filter on a column with uppercase letters in its name
  • Symfony – Doctrine – How to see where a sql query is executed
© 2026 Jean-Pierre Lambelet • RSS feed