I have been a curious , whether is this possible in SQL
Here is my table
Text
-----
India 01/01/2001 Mumbai
SriLanka 01/01/2001 Colombo
USA 01/01/2001 Chicago
From these create table separate columns (separated by space) like
Country Date Location
----- ----- --------
India 01/01/2001 Mumbai
SriLanka 01/01/2001 Colombo
USA 01/01/2001 Chicago
Only thing that structs me over here is regex that we do in JAVA.
Is something like possible in SQL as well.
Thanks !!!
You could split the columns with a table-valued function like this:
Result: