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

How to Split a string into two columns

$
0
0
Hi Everyone,I have a database in which sample data is as below:सुविधा देवी पुत्री हजारू राम देवकी देवी पुत्री शंकर दास लीला देवी पुत्री काँशी राम मनोरमा उर्फ सपना देवी पुत्री बिद्या सागर Now I need to saprate the name and father name on the basis to relation mentioned in the string e.g.Name Relation Fathar सुविधा देवी पुत्री हजारू रामदेवकी देवी पुत्री शंकर दास लीला देवी पुत्री काँशी राममनोरमा उर्फ सपना देवी पुत्री बिद्या सागरCan anyone guide me how can I do the same in SQL Query.

Viewing all articles
Browse latest Browse all 3145

Trending Articles