About 199,000 results
Open links in new tab
  1. Writing stored procedures in JavaScript - Snowflake

    SQL to JavaScript conversion can occur when: Calling a stored procedure with an argument. The argument is a SQL data type; when it is stored inside a JavaScript variable inside the stored …

  2. How to pass Parameter to Snowflake procedure using JavaScript

    Jul 19, 2022 · Here's how to get started. You can reference the Snowflake Stored Procedure API: https://docs.snowflake.com/en/sql-reference/stored-procedures-api.html. Note that the date …

  3. CREATE PROCEDURE - Snowflake Documentation

    CREATE or replace PROCEDURE proc3 RETURNS VARCHAR LANGUAGE javascript AS $$ var rs = snowflake. execute ({sqlText: `INSERT INTO table1 ("column 1") SELECT 'value 1' …

  4. Writing stored procedures in Snowflake Scripting

    To write a stored procedure that uses Snowflake Scripting: Use the CREATE PROCEDURE or WITH … CALL … command with LANGUAGE SQL. In the body of the stored procedure (the …

  5. Pass a number as an argument into a stored procedure snowflake

    Apr 26, 2022 · var remove_details_create = snowflake.createStatement(remove_details_sql) var remove_details_exec = remove_details_create.execute(); I'm attempting to select all data from …

  6. Can we pass list or array as parameter to JavaScript procedure in ...

    Aug 26, 2020 · Yes, you can pass an array into a Snowflake JavaScript stored procedure. Here's a sample: create or replace procedure test(ARR array) returns string language javascript as $$ …

  7. Using Snowflake JavaScript API for Stored Procedures - Hevo Data

    Oct 24, 2024 · Users can use Snowflake JavaScript API to create and execute stored procedures from their web applications. Snowflake JavaScript API allows Developers to execute …

  8. Snowflake – Stored Procedure Template in JavaScript

    Sep 30, 2021 · I always use the following template to execute my SP in Snowflake. CREATE OR REPLACE PROCEDURE SampleStoredProcedure() returns string not null language javascript …

  9. Snowflake 101: Working with Stored Procedures - Medium

    Mar 17, 2024 · Let's delve into the syntax of creating stored procedures (SP) using the Snowflake SQL Scripting language and decipher the meaning behind different keywords. As shown in the …

  10. Industrial Use Case on JavaScript APIs for Snowflake Stored Procedures

    Mar 19, 2023 · Snowflake object is accessible by default to the JavaScript code in a stored procedure. You do not need to create the object. The objects contain the methods in the …

Refresh