Hi all,
I have a table named TOPIC, set up as follows:
TOPIC_NAME | TOTAL
---------------------------------------------
test | 5
name | 4
java | 9
vb | 12
In my program, users are asked to enter a topic. What I'd like to do is to go through the TOPIC table, and see if anything matches or resembles, and then suggest that to them instead, so that I can get more accurate counts. For instance, with the example above, if they enter "testing", I'd like to say "Is this the same as 'test'? Type yes to change the topic name, or no to save a new topic" so that I can keep a more accurate tally in TOTAL -- otherwise, I can see tons of TOTALs of "1".
Does anyone have any suggestions? I am using Oracle 9i, and have (VERY briefly) tried playing around with relevancies and wildcards...
Thanks in advance,
~Lindsay
I have a table named TOPIC, set up as follows:
TOPIC_NAME | TOTAL
---------------------------------------------
test | 5
name | 4
java | 9
vb | 12
In my program, users are asked to enter a topic. What I'd like to do is to go through the TOPIC table, and see if anything matches or resembles, and then suggest that to them instead, so that I can get more accurate counts. For instance, with the example above, if they enter "testing", I'd like to say "Is this the same as 'test'? Type yes to change the topic name, or no to save a new topic" so that I can keep a more accurate tally in TOTAL -- otherwise, I can see tons of TOTALs of "1".
Does anyone have any suggestions? I am using Oracle 9i, and have (VERY briefly) tried playing around with relevancies and wildcards...
Thanks in advance,
~Lindsay