Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

I want to separate the full name in two parts - response (2) by Glass

$
0
0

SEL UPPER(SUBSTR('NILESH BHAWSAR',1,1))||LOWER(SUBSTR('NILESH BHAWSAR',2,POSITION('' IN 'NILESH BHAWSAR') -1)) AS First_Name,
UPPER(SUBSTR('NILESH BHAWSAR',POSITION('' IN 'NILESH BHAWSAR') + 1 ,1))||LOWER(SUBSTR('NILESH BHAWSAR',POSITION('' IN 'NILESH BHAWSAR') +2)) AS Last_Name


Viewing all articles
Browse latest Browse all 14773

Trending Articles