longest match starting digit.
weekendDec 24 2005 — edited Dec 27 2005Hi
(9i release 2/columns (varchar2 (30))
I wish to have a query that picks the value having the longest match starting digit(s) with my input.
Example
In put 5544
ColumnA
5500
554
5540
5539
The query will return 554 as it got longest match starting digits with input.
Will not pick 5540 as matching end at last digit 0.
So can I any one play the magic for me.
Wishes
Jawad