Skip to Main Content

SQL & PL/SQL

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
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,122 views