2 ms·
In the same vein, I found this official library for parsing Microsoft T-SQL: https://devblogs.microsoft.com/azure-sql/programmatically-parsing-transact-sql-t-sq
by jiggawatts 4y ago
In the same vein, I found this official library for parsing Microsoft T-SQL: https://devblogs.microsoft.com/azure-sql/programmatically-parsing-transact-sql-t-sql-with-the-scriptdom-parser/ https://devblogs.microsoft.com/azure-sql/programmatically-pa...
I used it for a nasty global search & replace where a statement with quoted strings was sometimes embedded in quoted strings.
- hobs 4y agoIt's nice but it has a buuuuuuuunch of bugs - the published railroad diagrams/bnf grammar dont even match behavior in the wild so I feel bad for them, but you can see intellisense fail for similar reasons.