Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run scripts with multiple SQL statements #43

Open
kjn70 opened this issue Apr 19, 2021 · 1 comment
Open

Unable to run scripts with multiple SQL statements #43

kjn70 opened this issue Apr 19, 2021 · 1 comment

Comments

@kjn70
Copy link

kjn70 commented Apr 19, 2021

Attempting to run a script with multiple SQL statements, for example:

select 'Hello World' as "Welcome Message";
select 'Hello again!' as "Message 2";

results in the following error:

Multiple SQL Statements in a single API call are not supported; use one API call per statement instead.

This makes the driver effectively useless for many scripted tasks.

@pluong5438
Copy link

Same issue. Would be nice to be able to run a file with multiple sql statements using this extension but unfortunately we have to fall back to SnowSQL via terminal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants