Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

SEPARATE WORDS TO ROWS (Convert Comma Separated)

$
0
0
I have a table Sample with data stored like belowID | STRING |------------------------------------------------------------------1 | 'ENGLAN SPAIN' ITALY 'FRANCE GERMANY' BRAZILI need the output like..-----------------|ENGLAND SPAIN ||---------------||ITALY ||---------------||FRANCE GERMANY ||---------------||BRAZIL |-----------------How can I do the same with a select query in SQL Server?

Viewing all articles
Browse latest Browse all 3145

Trending Articles