Fix TSqlParser.g4 to Support OpenQuery Format for Table Names#4421
Fix TSqlParser.g4 to Support OpenQuery Format for Table Names#4421openai0229 wants to merge 2 commits intoantlr:masterfrom
Conversation
|
Please add the test to the examples/ directory. Every change to a grammar must have proof that the problem is fixed via the Github Actions tests for this repo. |
|
This change does not work. It does not parse the example you provide. |
OK! I have now added the test file.
This modification works normally with me, and the version of the antlr plugin I am using is 1.23.1. Is there a problem with the plugin? |
My mistake. I was on the wrong branch. Reviewing now. |
OK!Waiting for your answer. |
Affected File:
The parser now correctly processes queries in the OPENQUERY format, ensuring smooth parsing of remote queries in SQL Server.

Test Sql: