Skip to content
Advertisement

Tag: snowflake-cloud-data-platform

Update rows limit in Snowflake

I there a way to update values for top-n/limit amount of records in Snowflake? Sample data, top rows are the ones that need to flaged: The logic must combine SELECT n FROM limit 200 with SET FLAG = 1 Below syntax is not working: Answer If you need to update only a limited number of rows, you can try this

Nested JSON parsing using Snowflake SQL

I have a problem parsing a certain nested JSON structure in Snowflake. The problem here is the usage of special characters like @ and # for example for some of the elements. Those characters prevents me from using simple dot notation when trying to access some of the elements without resourcing to a really complicated queries utilizing joins and where

Advertisement