Skip to content
Advertisement

execute multiple create view statements in snowflake

Is there a way to create multiple views in one query in Snowflake?

I keep getting error when I try this –

Error:

I also tried this –

but it only executes the first create view statement.

Advertisement

Answer

There is no “go” command in SnowFlake:

SnowFlake Commands

Executing Multiple SQL Statements in a Stored Procedure

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement