SQL Prompt Formatter error - Inline Index with included column
PeterVandivier_vgg
Posts: 2 New member
in SQL Prompt
The following valid SQL pops an (incorrect) parsing error when attempting to format the code block with ctrl+k+y
```sql
drop table if exists #foo;
```sql
drop table if exists #foo;
create table #foo (
a int,
b int,
index idx_foo (a) include(b)
with (data_compression = page)
) with (data_compression = page);
```
As near as I can tell, the error only occurs in the following conditions
```
As near as I can tell, the error only occurs in the following conditions
- inline syntax
- included column
- with compresson on index
- also compression on table
Tagged:
Answers
```sql
...although the following error is thrown when attempting to execute the batch:
Thank you for bringing this to our attention, I have been able to reproduce this in my environment and have escalated this to the dev team to look into.
Best,
Dustin
Hello,
Thank you for your patience with us regarding this issue.
Our development team has now reviewed the bug you have identified and highlighted it to us alongside our current workload and available resources. Unfortunately, on this occasion, this is not something they are able to provide a fix for.
We do appreciate the effort our customers go to working with us to better our products, so please do continue to highlight anything you find that needs our attention.
I am going to close this ticket, for now, however, please don’t hesitate in reaching out to us again if you have any questions regarding this.
Best,
Dustin