SQL is a convention

Published on

SQL is a convention. There are many RDBMSs that behave similarly and call themselves “SQL databases”. However, it’s difficult to tell whether an application that works on one SQL database will work on another SQL database. Similarly, validating a new RDBMS against the SQL specification (ISO/IEC 9075) would cost a nontrivial amount of time, effort, and money. At this point, defining “SQL” as the shared behaviors of the leading SQL RDBMSs would be just as meaningful as buying and reading the SQL specification.

I’d like to see more cross-RDBMS comparisons and collections of tests to make defining “SQL” and testing SQL conformance easier. To that end, I’ve started a project comparing information_schema implementations and another project collecting sql parser tests. Feel free to send me links to sample databases and other permissively-copyrighted SQL test suites!