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 a proxy class?
What is tns name?
How to name query output columns in oracle?
What do you mean by a deadlock?
What are the various types of snapshots ?
What is SQL access advisor in Oracle?
What is the sid in oracle?
What happens if you set the sga too low in oracle?
Explain an extent?
How to create a new table in oracle?
How to connect to oracle using service name instead of sid?
How to experiment a data lock in oracle?
Assuming today is Monday, how would you use the DBMS_JOB package to schedule the execution of a given procedure owned by SCOTT to start Wednesday at 9AM and to run subsequently every other day at 2AM.
What do you mean by merge in oracle and how can we merge two tables?
What happens if variable names collide with table/column names?