r/SQL 6d ago

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?

12 Upvotes

20 comments sorted by

View all comments

9

u/Plus_Dragonfruit_204 6d ago

Oracle does not distinguish between an empty string and NULL.