How can I get number of rows affected by an update query in a procedure in snowflake
Create procedure prc_upd_tables As Begin Var stmt= "select distinct 'update' || Table || '.' || Table_schema || '.' || table_name || Set column_cd= 8 where column_cd = 4; as upd from table_name
Sample output Table1 -24 rows Table2 - 30 rows Table3 - 0 rows Table4 -73 rows