sql-language-server icon indicating copy to clipboard operation
sql-language-server copied to clipboard

Multiple SQL Statements Per File

Open atomdmac opened this issue 4 years ago • 1 comments

When working on a local SQL file with this context:

SELECT * from table_1 where id = 1;
SELECT * from table_2 where id = 2;

I get the following error:

Error:Expected "--", "/*", [ \t\n\r], or end of input but "S" found.

This is using the NVIM 0.5 nightly build with vim-lsp.

Is this expected? And if so, is there a way to allow for multiple SQL statements in a single file like this?

atomdmac avatar Jun 30 '21 14:06 atomdmac

It's this bug will be solved one day? Unfortunately because of that, it ruin the experience with this awesome lsp

KevenGoncalves avatar Jul 02 '23 21:07 KevenGoncalves