-
Hi, i have a problem trying to parse any TSQL statement using antlr4-python3-runtime-4.13.1 with the official grammar in this repository.
I generate TsqlParser.py and TSqlLexer.py using the jetbrai…
-
retrospec puppet new_provider -n node_encrypt_mssql -t sqlserver_tsql
Should have created the provider files and spec files.
```
Successfully ran hook: /Users/cosman/github/retrospec-templates/clone…
-
From https://github.com/dbeaver/dbeaver/issues/16756.
Two large TSQL files:
https://github.com/jOOQ/sakila/blob/main/sql-server-sakila-db/sql-server-sakila-schema.sql
https://github.com/jOOQ/saki…
-
We need to reformat our sql files consistently both from our editor and check it in the CI. Could it be used for that purpose?
-
### Search before asking
- [X] I searched the [issues](https://github.com/sqlfluff/sqlfluff/issues) and found no similar issues.
### What Happened
`.sqlfluffignore` only ignores files when the ful…
-
#newbie
**What happened**:
I'm trying to parse:
`SELECT 'a' GO SELECT 'b'`
**Expected**: _two_ batches
**Actual**: parsed within _one_ batch
Being a newbie, it seems that the substri…
-
The current TSQL lexer rule for strings does not allow double quoted strings:
`STRING options { caseInsensitive=false; } : 'N'? '\'' (~'\'' | '\'\'')* '\'' ;`
[Microsoft uses only single quoted stri…
-
The following query arbitrary causes an `UNSAVE_TRANSACTION` error.
```ts
await this.sql.begin(async (tsql) => {
await tsql`DELETE
FROM mapping_table
WHERE a_id = ${aI…
-
Microsoft allows optional parentheses between `RETURN` and `select_statement` rule. Parentheses are not allowed in the current parser grammar: https://docs.microsoft.com/en-us/sql/t-sql/statements/cre…
-
In a SQL like
```
SELECT M2.* FROM ...
```
the current asterisk rule causes the callback to be visited twice by the tree walker.
Once for context ``M2.*`` and once for context ``*``
which in my…