How about trailing commas in SQL?

The author discusses the highly requested feature of allowing trailing commas in SQL, using examples like SELECT statements and CREATE TABLE commands. They contemplate how best to implement this feature in PostgreSQL and the SQL standard to ensure consistency across implementations. The author considers various approaches, including selectively supporting cases, fully supporting trailing commas, and adding them universally. They highlight potential challenges and risks of implementing trailing commas in SQL, drawing comparisons to programming languages that offer varying levels of support. The author emphasizes the importance of avoiding fragmentation and chaos in SQL implementations by carefully considering the way forward.

http://peter.eisentraut.org/blog/2025/02/11/how-about-trailing-commas-in-sql

To top