How do I convert a comma separated string to a array?
I have the input '1,2,3' , and I need to convert it into an array.
1,2,3'
here is another easier option
select to_number(column_value) as IDs from xmltable('1,2,3,4,5');
548k questions
547k answers
4 comments
86.3k users