|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
SQL HELP!! Again
I'm trying to get my head around this sql problem but can't do it. It so frustrating.
I have an attribute called vol_iss as the following: vol_iss='vol12iss3'; I'm trying to extract only the numbers, 12 and 3 but the thing is the numbers can be 1 digit or larger. Can somebody help me please. |
|
#2
|
|||
|
|||
|
Not tested:
Code:
SELECT TRANSLATE(vol_iss, '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ', '0123456789') FROM TABLE |
![]() |
| Viewing: Dev Shed Forums > Databases > Oracle Development > SQL HELP!! Again |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|