Currently I have a script that merges between my source and target table but updating and inserting. Both of these tables update daily through a task created on snowflake. I would like to preform this merge daily too. Is it possible to automate this merge through either a task or something else on snowflake?
Thanks
If your script contains only SQL commands (or commands that can be written in JS), you can create a stored procedure to call them, and then create a task to run this procedure on every day.
https://docs.snowflake.com/en/sql-reference/stored-procedures-usage.html
https://docs.snowflake.com/en/user-guide/tasks-intro.html