Table1- have two column
filename data
AFGDFD-20112011 hi how r u
bsdasd-23042011 name shoud be in bold
Now i want output like
filename data
AFGDFD hi how r u
bsdasd name shoud be in bold
Kindly answer this
Answer Posted / suman rana
SELECT REGEXP_SUBSTR (filename, '[[:alpha:]]+') filename, data
FROM (SELECT 'AFGDFD-20112011' filename, 'hi how r u' data
FROM DUAL
UNION
SELECT 'bsdasd-23042011', 'name shoud be in bold' FROM DUAL)
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the sid in oracle?
How translate command is different from replace?
Is oracle a language?
Can group functions be used in the order by clause in oracle?
How to define an explicit cursor in oracle?
How to omit columns with default values in insert statement in oracle?
What is execute immediate in oracle?
What is oracle open database communication (odbc)?
How to connect to a local oracle 10g xe server?
Differentiate between function and procedure in oracle.
Define the SGA and: How you would configure SGA for a mid-sized OLTP environment? What is involved in tuning the SGA?
How view is different from a table?
Can the query output be sorted by multiple columns in oracle?
Does oracle database need java?
Explain the use of full option in exp command.