Using Oracle SQL, there is a function, noted below, that will allow you to create a "list" of names, phone numbers, etc., without using multiple DUAL queries and UNION/UNION ALL to get more than one record. The query below produces a list in this case of 10 names.
SELECT COLUMN_VALUE USERNAME FROM TABLE(SYS.DBMS_DEBUG_VC2COLL( 'WARNER,JEFF', 'MALITO,CARL', 'MOODY,JEANNE', 'PHILLIPS,HUGH & KELLY', 'PATSANTARAS,VICTORIA', 'BROWN,ROLAND', 'RADOSEVICH,MIKE', 'RIDER,JACK', 'MACLEOD,LENARD', 'SCOTT,DAN' ))
However, when trying to run this same query in Snowflake, it will not work. I receive this error: SQL compilation error: Invalid identifier SYS.DBMS_DEBUG_VC2COLL
Is there a "Snowflake version" of this query that can be used?