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 server parameter file in oracle?
Describe the types of sub query?
What exactly do quotation marks around the table name do?
In Oracle Applications We are Using Sub Ledger Accounting. When we Transfer the Data all modules (AP,AR,CE,FA) to SLA We done Some customizations? What are They??
What is the difference between sharding and replication?
What is the use of aggregate functions in oracle?
How does one get the view definition of fixed views/tables?
How to turn on or off recycle bin for the session?
Define oracle database
What is the difference between substr and instr?
How does propagation differ between Advanced Replication and Snapshot Replication (read-only)?
Explain about integrity constraint?
what is Single Byte Overhead...?
How translate command is different from replace?
What do you mean by cdb and pdb in oracle 12c?