Snowflake Scripting

1 program Added 2026-02-26T10:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: Snowflake SQL Scripting, SnowScript
Provenance: commit 7c253949a8 · authored 2026-02-26T17:11:57+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

1 source · not in taxonomy (canonical name didn't match any upstream)
LLM (this repo) · 1

Related languages

SwiftScript (0.29)Scrapscript (0.24)mIRC (0.24)Pine Script (0.24)Kotlin Script (0.23)

LLM-contributed programs

Fibonacci

Provenance: commit 7c253949a8 · authored 2026-02-26T17:11:57+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.sql · added: 2026-02-26T10:00:00Z
-- Snowflake Scripting: Fibonacci sequence
-- Returns the nth Fibonacci number using iteration
CREATE OR REPLACE PROCEDURE fibonacci(n INTEGER)
  RETURNS INTEGER
  LANGUAGE SQL
AS
DECLARE
  a INTEGER DEFAULT 0;
  b INTEGER DEFAULT 1;
  temp INTEGER;
  i INTEGER DEFAULT 2;
BEGIN
  IF (n <= 0) THEN
    RETURN 0;
  ELSEIF (n = 1) THEN
    RETURN 1;
  END IF;
  WHILE (i <= n) DO
    temp := a + b;
    a := b;
    b := temp;
    i := i + 1;
  END WHILE;
  RETURN b;
END;

Contribute — propose a file extension

Tell us where to find evidence about Snowflake Scripting (mapped to pl/snowflake_scripting). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/Snowflake Scripting/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Snowflake (Orisphera's edition) snowman →