r/SQL • u/No_Ambition8323 • Sep 04 '26
Discussion Database-Specific SQL Differences
Have you ever written a SQL query that works perfectly in one database but fails in another?
What SQL feature or syntax surprised you the most when switching between DBMSs like MySQL, PostgreSQL, SQL Server, Oracle, or Snowflake?
13
Upvotes
View all comments
Show parent comment
2
u/VladDBA SQL Server DBA Sep 05 '26
As a SQL Server native, I had a similar reaction when finding out that Oracle needs that dummy table.
Luckily, with all the AI investments, Larry was able to find a way to no longer need DUAL in 23ai/26ai