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


Please Help Members By Posting Answers For Below Questions

What are the varoius components of physical database structure of oracle database?

573


What do you know about normalization? Explain in detail?

502


Does oracle partitioning improve performance?

555


What do you mean by a tablespace?

566


When system tablespace is created?

608






 What are the oracle DML commands possible through an update strategy?

583


What are the parameters that we can pass through a stored procedure?

559


Differentiate between post-database commit and post-form commit?

545


Explain the use of ignore option in imp command.

577


How do I call oracle stored procedures that take no parameters?

570


What is meant by raw datatype?

574


Explain view?

583


What is the use of file param in imp command?

648


Explain the use of show option in imp command.

644


Explain the use of tables option in exp command.

595