Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Tedious Query

Maestro_VineetJan 27 2006 — edited Jan 18 2008
Hi
Experts ....here is something for u ppl, which appeared quite tedious for me lets see whether u have got the solution or not.

Suppose I have a table Dump with the following Construct and Value

#Dump
-------
Dcode Varchar2(15);

Dcode
.......
AAABBCCDDEEA
BBDDDFFAACC
DHSGHDADSFDF

NOW i need an output of somewhat like this
Dcode
......
ABCDE
BDFAC
DHSGAF

If its possible to get the desired output in a Single Select statement then i wud say 'Eureka' nor u can help me either with writing Procedure or Function.

Ur help is highly appreciated.

Regards
Vineet

Comments

Processing
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Feb 15 2008
Added on Jan 27 2006
23 comments
4,333 views