How to Use Python to Create Stored Procedures in Snowflake - SQL, Javascript, and Python Example

Veröffentlicht am: 18 Dezember 2021
auf dem Kanal: Sean MacKenzie Data Engineering
4,523
38

Stored procedures are one of the most useful features of almost any database system, and Snowflake is no different. Snowflake uses Javascript as the language for stored procedures, in which you can put together a whole bunch of SQL statements including logic for branching and looping if so needed. Stored procedures also allow you to pass in parameters so they are dynamic. Now, it is possible to create your stored procedures using the Snowflake interface, but some users also need to be able to create and use these with Python. This is where we can use the python connector to create our stored procedures. Let's go!

Related Videos:
Python on Snowflake: 1 Million Record Migration from SQL Server using read_sql and write_pandas
   • Python on Snowflake: 1 Million Record Migr...  
Python on Snowflake - How to use execute_async to kick off one/more queries - No stopping the code!
   • Python on Snowflake - How to use execute_a...  
How to Use SQL Joins when Using Python on Snowflake to Get Pandas Dataframes
   • How to Use SQL Joins when Using Python on ...  
How to Use Python to Create Stored Procedures in Snowflake - SQL, Javascript, and Python Example
You are watching this one now!
Python on Snowflake - How to Perform Transactions with Rollback
   • Python on Snowflake - How to Perform Trans...  
Python on Snowflake - How to Perform Concurrent Select Queries Using execute_async
   • Python on Snowflake - How to Perform Concu...  
Python on Snowflake - How to Use Describe()
   • Python on Snowflake - How to Use Describe()  
Python on Snowflake: How to use Merge (Upsert)
   • Python on Snowflake: How to use Merge (Ups...  
Python on Snowflake - How to Read and Write JSON Data Part 1
   • Python on Snowflake - How to Read and Writ...  

Interested in transforming your career or finding your next gig?
https://system.billzone.com/careers.html

Want my team to do a project for you? Let's get to it!
https://buy.billzone.com/smdeprojects...

Want to get access to premium content made just for you and have a chat with me? Find me on Patreon :

  / mackenziedataengineering  

Want to work with me 1:1? Contact me today and book your free 20 min consultation!

Contact form you can find at http://www.mackenziemackenzie.com/

Follow me on social media:
  / mackenziedataanalytics  
  / seamacke  
  / seamacke  
  / seamacke  
  / psmackenzie  

Get Microsoft Office including Access:
https://click.linksynergy.com/fs-bin/...

Got a YouTube Channel? I use TubeBuddy, it is awesome. Give it a try:
https://www.tubebuddy.com/seanmackenz...


#snowflake #bigdata #python

   • How to Use Python to Create Stored Procedu...  


Auf dieser Seite können Sie das Online-Video How to Use Python to Create Stored Procedures in Snowflake - SQL, Javascript, and Python Example mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Sean MacKenzie Data Engineering 18 Dezember 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 4,523 Mal angesehen und es wurde von 38 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!