title: Stored procedure - Use array list in SQL query for insert in snowflake
body: <p>If i have created/generated a list of elements during processing in stored procedure say rownum = [1,2,3,4].
  Now i want to use this list in a sql statement to filter out rows say select * from mytable where rownum not in (1,2,3,4) in same stored procedure.
  How can i achieve this ?
  Please guide.
  Thanks</p>