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 the is the diff between local index and global index. give some example.
What are the original export and import utilities?
Can a formula column be obtained through a select statement ?
How to create a stored program unit?
How to rename an existing table?
How to create a temporary table in oracle?
defination of bitmap index
Explain alias?
What will be the syntax to find current date and time in format "yyyy-mm-dd"?
Explain the use of rows option in imp command.
Differentiate between translate and replace?
Explain the use of rows option in exp command.
How to bring a tablespace offline?
What do you mean by cdb and pdb in oracle 12c?
What is query image?