ABC_102_EDOT_R001
EXS_456_11
FFF_RRRR_DDD_444_ASG_E903
RT1_W101
My aim is to find the last "_". The above values are stored in a single column. I want to write a sql to get
R001
11
E903
W101
I have a string "ABC_102_EDOT_R001"
I want to extract R001.
I have tried INDEX & POSITION. That did not help.
I would appreciate your help ..
Thanks !!
I need to update a huge table
Total no of records in the table : 1.5 billion
Total size occupied by the table : 470GB
No of Rows to be updated : 0.5 billion rows.
Can any one suggest me a good plan ( faster way to update )
Thanks in Advance
Chandru
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.