0 votes
1 view
in SQL by (36.4k points)

Can anyone explain how to split comma separated values in the SQL query?

1 Answer

0 votes
by (88.2k points)

We can use STRING_SPLIT() function to split the values on a specific separator. Here is an example to split comma separated values in SQL.

Select color from STRING_SPLIT( ‘red, blue, yellow’, ‘,’);

I advise registering for this SQL certification program by Intellipaat to learn SQL.

Related questions

0 votes
1 answer
asked Jul 23, 2019 in SQL by Tech4ever (20.3k points)
0 votes
1 answer
0 votes
1 answer
asked May 7 in SQL by Sudhir_1997 (36.4k points)
Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...