I NEED SQL COMMAND TO EXTRACT THE NUMERIC VALUSE IN BETWEEN THE STRINGS

15 pts.
Tags:
SQL
SQL commands
VCH:FR:AUD/120.18/51.26YQAC/1.35QKAD/14.47QRCO/14.47QREB/1.35QKSB/6.00WGSE/20.91UOVZ

I NEED TO EXTRACT THE VALUES IN THE ABOVE STRING AND SUMM ALL THE VALUES USING SQL COMMAND

EX:120.18+51.26+1.35.....IN THE ABOVE GIVEN REFRENCE



Software/Hardware used:
SOFTWARE

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 4  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Denny Cherry
    Using what language and what platform? This is something which would be better done using a regex expression in the client not in the database.
    66,295 pointsBadges:
    report
  • UUKKY
    i want to write using Structured query language in Teradata platform is dataware house
    15 pointsBadges:
    report
  • Meandyou
    mrdenny is correct; better to do this in code rather than an SQL statement. SQL is best suited for processing individual columns as opposed to parsing a string of data.
    5,220 pointsBadges:
    report
  • Gent01
    If Teradata supports cursors, this is what you will need to use: Sudo Code: create temp table values(value int) Open Cursor Set variable a = lowest value Set variable b = highest value while a <= b insert into values(value) values(a) loop Close Cursor select * from values order by value
    1,870 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following