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!

Arrays in a function to calculate Levenshtein distance

540364Oct 19 2006 — edited Nov 7 2006
Hi,
I'm trying to write a function to calculate the Levenshtein distance between two words. In order to do this I need 2 arrays of length(word1) in this function.

The solutions I found so far to create and use an array, typically use a table to store the items in the array. I'm not very thrilled by this solution, I'd rather use a varchar2(const) instead.
Does any one know a different solution to easily create and use arrays without having to preform difficult operations each time I want to update an item in the array?

Many thanx
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 5 2006
Added on Oct 19 2006
9 comments
673 views