Split the data For Search [message #435076] |
Mon, 14 December 2009 03:51 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
|
Hi,
I Required to Split Each Words in the sentence for search the data like that.
Ex:
During the search of data for the following words,
WELDING MACHINE
it required to search the material name like WELDING MACHINE and
MACHINE WELDING.
Regards,
C V S
|
|
|
|
|
Re: Split the data For Search [message #435093 is a reply to message #435084] |
Mon, 14 December 2009 04:29 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
![](/forum/images/custom_avatars/72104.gif) |
Littlefoot
Messages: 21823 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
In that case, you should have put the question into the SQL & PL/SQL forum, not Forms one. Splitting a "sentence" into "words" is not a Forms problem.
Anyway: you'd use character functions, such as SUBSTR and INSTR to do that job. (Unfortunately, as you aren't on Oracle 10g or above, you can't use regular expressions.) Research their use, try to produce a query. If you don't succeed, come back, show what you have done, explain why it doesn't work and someone will take a look and provide further help.
In other words, I'm not in the mood to write that for you.
|
|
|