matteote
Re:Open Source SQL Parsers
on Friday April 22, 2022 @02:09AM (#31118737)
I use ANTLR4 and its rewriter to translate between two similar SQL dialects, for migration purposes.
Re:SQL language proposal: JOIN FOREIGN
on Thursday December 30, 2021 @04:17PM (#29741534)
This reminds me of KEY JOIN in Sybase which, unlike this syntax, does not require to specify the foreign key. I find Sybase's syntax to be too implicit, and challenging to port to other dialects; JOIN FOREIGN with explicit PK reference looks much better.
I wonder how it is expected to work with non-table references (views, CTEs, subqueries), especially when the columns involved in the foreign key (on either side) are not returned explicitly by the referenced object.