I am re-architecting our company's APIs to use Snowflake from SQL Server. Our first immediate roadblock is the fact that our existing SQL Server stored procedures return table output and Snowflake does not allow that type of output. I don't care to completely re-design everything so I am thinking:
- Rebuild my Snowflake stored procedures the same way as SQL Server
- Before exit, dump the output into a temp table.
- My return value is the table name.
- Now I can return the data from the temp table.
Does anyone else have any better suggestions for how to handle this?
I know for coding, it will be much easier to do this using something like python, however, I don't want to maintain another python application just for data retrieval within snowflake.