Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Snowflake - Run Queries Separately

In SSMS, if I want to run multiple queries in different batches, I put the reserved word GO between each batch.

Is there a way to do this in Snowflake?

Edit #1

Example:

In SSMS, if I were to run the following, I could see all of the results one after another if I was profiling the data.

Select top 5 *
from table_a;
---
Select top 5 *
from table_b;
---
select top 5 *
from table_c;

The results would look like this in the results at the bottom of my screen:

columns
5 rows

columns
5 rows

columns
5 rows

This is what I want to do in Snowflake.

I am running this from the Microsoft Edge browser.

like image 424
Chicken Sandwich No Pickles Avatar asked Mar 13 '26 22:03

Chicken Sandwich No Pickles


1 Answers

As of today, either using the classic Web Interface or the new Snowsight, when multiple queries are run together, the results window only returns the last result-set.

like image 183
Francesco Quaratino Avatar answered Mar 16 '26 14:03

Francesco Quaratino