model of multi line search with as

Hi all

I use oracle 9i. I want to search for multi - line pattern.

for example

Update tablename
Set the columnname.

I used select * from user_source where text like "update tablename set columnname %" but this only seems to work if update tablename set columnname is in the same line.

Thank you.

Well, no wonder it doesn't work. USER_SOURCE stores a single line of text per line, so the text in the column by definition cannot contain the multiline strings. One solution could be a LEAD analytic function:

SQL> create or replace
  2    procedure p1
  3      is
  4      begin
  5          update emp
  6             set ename = ename;
  7  end;
  8  /

Procedure created.

SQL> select  distinct name
  2    from  (
  3           select  s.*,
  4                   lead(text) over(partition by name order by line) next_text
  5             from  user_source s
  6          )
  7    where text like '%update emp%'
  8      and next_text like '%set ename%'
  9  /

NAME
------------------------------
P1

SQL> 

SY.

Tags: Database

Similar Questions

  • Bug? : function in the form "addRow" can't handle multi-line model line

    Hi all

    I created a custom report (model line named column) model which creates 2 lines per registration type (which is actually 2 lines in a HTML table).

    In the APEX feature initTabForm (apex_4_0.js) the line of the sample (f01_0000) is read and stored in gTabFormInitRow

    This is done using a selector to jQuery like this: jQuery('#init_row_'+pRegionID) which returns only the first line of my multi-line record.

    This behavior is expected, or is this a bug? Or do I have to change my HTML structure?

    brgds,
    Peter

    -----
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    Work: http://www.click-click.at
    Training: http://www.click-click.at/apex-4-0-workshops

    Peter,

    This is the expected behavior. It would be impossible to anticipate all HTML structure customers would like to use in their models, on the other hand, although we do not want to keep open and not to lock these models. So in your case, I suggest to go with a table nested in the TR line, this way you can keep your single-TR by sub LINE shape, yet within these lines, have your own table structure.

    Kind regards
    Marc

  • How to build a JTree with nodes multi-line Windows L and am FJt

    Although I already found 2 ways to build nodes multi-line JTree but both methods work very well in Java by default appearance and when I change my windows look and feel then it fails. I can't understand what is the problem. The two ways by which I build multi line nodes are:

    First: Using html in nodes
    as the DOSB linea < br > < html > < / html >

    Secondly: By implementing TreeRenderer and change it accordingly, such a class is given below
    class ModifiedTreeCellRenderer extends JPanel implements TreeCellRenderer {
        protected JLabel icon;
        protected TreeTextArea text;
        
        public ModifiedTreeCellRenderer() {
            setLayout(new BoxLayout(this, BoxLayout.X_AXIS));
            icon = new JLabel() {
                @Override
                public void setBackground(Color color) {
                    if (color instanceof ColorUIResource)
                    color = null;
                    super.setBackground(color);
                }
            };
            add(icon);
            add(Box.createHorizontalStrut(4));
            add(text = new TreeTextArea());
        }
        
        @Override
        public Component getTreeCellRendererComponent(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row, boolean hasFocus) {
            String stringValue = tree.convertValueToText(value, isSelected, expanded, leaf, row, hasFocus);
            setEnabled(tree.isEnabled());
            text.setText(stringValue);
            text.setSelect(isSelected);
            text.setFocus(hasFocus);
            if (leaf) {
                icon.setIcon(UIManager.getIcon("Tree.leafIcon"));
            } else if (expanded) {
                icon.setIcon(UIManager.getIcon("Tree.openIcon"));
            } else {
                icon.setIcon(UIManager.getIcon("Tree.closedIcon"));
            }
            return this;
        }
    
        @Override
        public Dimension getPreferredSize() {
            Dimension iconD = icon.getPreferredSize();
            Dimension textD = text.getPreferredSize();
            int height = iconD.height < textD.height ? textD.height : iconD.height;
            return new Dimension(iconD.width + textD.width, height);
        }
    
        @Override
        public void setBackground(Color color) {
            if (color instanceof ColorUIResource)
                color = null;
            super.setBackground(color);
        }
    
        class TreeTextArea extends JTextArea {
            Dimension preferredSize;
            
            TreeTextArea() {
                setLineWrap(true);
                setWrapStyleWord(true);
                setOpaque(true);
            }
    
            @Override
            public void setBackground(Color color) {
                if (color instanceof ColorUIResource)
                color = null;
                super.setBackground(color);
            }
    
            @Override
            public void setPreferredSize(Dimension d) {
                if (d != null) {
                preferredSize = d;
                }
            }
    
            @Override
            public Dimension getPreferredSize() {
                return preferredSize;
            }
    
            @Override
            public void setText(String str) {
                FontMetrics fm = getToolkit().getFontMetrics(getFont());
                BufferedReader br = new BufferedReader(new StringReader(str));
                String line;
                int maxWidth = 0, lines = 0;
                try {
                    while ((line = br.readLine()) != null) {
                        int width = SwingUtilities.computeStringWidth(fm, line);
                        if (maxWidth < width) {
                            maxWidth = width;
                        }
                        lines++;
                    }
                } catch (IOException ex) {
                    System.out.println(ex);
                }
                lines = (lines < 1) ? 1 : lines;
                int height = fm.getHeight() * lines;
                setPreferredSize(new Dimension(maxWidth + 6, height));
                super.setText(str);
            }
    
            void setSelect(boolean isSelected) {
                Color bColor;
                if (isSelected) {
                    bColor = UIManager.getColor("Tree.selectionBackground");
                } else {
                    bColor = UIManager.getColor("Tree.textBackground");
                }
                super.setBackground(bColor);
            }
    
            void setFocus(boolean hasFocus) {
                if (hasFocus) {
                    Color lineColor = UIManager.getColor("Tree.selectionBorderColor");
                    setBorder(BorderFactory.createLineBorder(lineColor));
                } else {
                    setBorder(BorderFactory.createEmptyBorder(1, 1, 1, 1));
                }
            }
        }
    }
       
    but the two methods in the event of failure in a Windows look and feel, can anyone help with this?

    Published by: user8978073 on April 30, 2011 10:24

    Published by: user8978073 on April 30, 2011 10:25

    Can't check right now, but - afair, windowsLAF sets the rowHeight to a fixed value (16 or 18 or something like that). Consult the setRowHeight and make sure that there<= 0="" to="" indicate="" that="" it="" should="" be="">

  • AutoComplete - see value in the form of multi line + return value.

    Hi Experts,

    I had a simple solution for AutoComplete to see the multi line like: select line1 | Chr (10) | Line2 | Chr (10) | line 3 of une_table.
    In onblur DA it is a process that reduces the value, set the fields another request based on the process of pl/sql.

    After the upgrade to the latest version of apex + modified model - the integer value is displayed as a single line only (no need to any text is indicated).

    I want to manage something like: ExtJs - Ajax search field
    http://Apex.Oracle.com/pls/OTN/f?p=PLAYPEN:1:264121214928301:

    Is there a solution to the APEX to use AutoComplete with multi display value line without incorporating the ExtJs?
    Sorry for my English :)

    Thank you!
    Concerning
    J :D

    I'll add my plugin in 2 or 3 days...

    Welcome

  • Upgrade to 3.6.15. Now my Add ons (1 password, Download Helper, Multi line Bookmark Toolbar) disappeared. Everyone knows about this problem? Any ideas on how to solve this problem? Thank you.

    Upgrade to 3.6.15. Now my Add ons (1 password, Download Helper, Multi line Bookmark Toolbar) disappeared. Everyone knows about this problem? Any ideas on how to solve this problem? Thank you.

    There may be a problem with one of the files which stores details of the installed extensions. Try to delete these files as described in the section "Corrupt extension files" of this link - https://support.mozilla.com/kb/Unable+to+install+add-ons

    Although this article is not specifically about your problem, the method indicated in the corrupted files extension section can help. When you restart Firefox after you delete these files, the list of installed extensions is rebuilt and cela hopefully solve your problem.

  • Pop up multi line string causes missing "error".

    I need to display a string of long text (multi line) in a pop-up message.

    If I do this with a very long string in the .c file it works (I have several \n in the chain so that it looks OK in the pop-.

    However, if I try to extend the string of text on several lines THAT CVI is complaining, how to do this, I don't want to use a too large number of columns.

    That's what he does not like:

    case EVENT_RIGHT_CLICK:
    MessagePopup ('Run Test Jig Interface Test Help',')
    This test verifies that this program can communicate with
    the ATJ hardware.\n\n this program asks equipment and
    firmware revision of the ATJ and then records the results in this section as well as in the test report");
    break;

    Thank you

    You can split the text on multiple lines by using the line continuation character ' \ ', in this way:

    MessagePopup ("Run Test Jig Interface Test Help",
       "This test verifies that this program can communicate with " \
       "the ATJ hardware.\n\n This program requests the hardware and " \
       "firmware revison of the ATJ and then records the results in this " \
       "section as well as in the test report");
    
  • LabVIEW 8.6.1 AMD Multi Core Crash with call loops

    Hi all

    I tried, but I couldn't find all the messages with my exact situation.  Here it goes:

    I have a multi-core AMD Phenom 64 processor and I'm running Windows 7 64 and I am running an application in LabVIEW 8.6.1 in compatibility mode.  (I know, not a good idea)  I have a pretty complex application with several timed loops and the different ways to talk to FieldPoint (FieldPoint 6.0.6 and experimentation with Modbus talk to cFP-180 x).  You may be wondering why I'm using call loops.  It is an application of RT which can also run on Windows using structures conditional disable, etc.

    I had met sporadic crashing earlier in my files executable for more than a year and used a lvalarms.dll in only patched version my executables.  It was on a totally different processor and we were running Vista at that time.  Now, I notice a very similar behavior on 8.6.1, except now the development environment all crashes or breaks down my executable compiled as well.

    I found this KB, but he was referring to problems observed on LabVIEW 8.5, and the utility of the OS is only for Windows XP.  As recommended in the KB, I used BCDEdit to set the flag onecpu and now everything seems to work normally.  My PC is now significantly slower, however, and I wonder if there is another workaround solution that I might be able to try.

    If you have read so far and who have followed my description you already have my gratitude.  If anyone else has experienced this?  Someone at - it ideas?

    Thank you very much

    Jim

    Alright.  In case someone else runs into this apparently dark scenario, here's workaround solutions I've found:

    1. see if the problem goes away by setting the processor affinity using the Task Manager. Open the Task Manager, look under the "Processes" tab and right-click on the process. (for example LabVIEW.exe or your executable)  Under the context menu which select "set affinity...". "and select only the CPU 0.  In my case, I have a quad-core processor, so I up to four logical processors that are displayed in the dialog box that results.

    Run your application code or the executable file for a while, and if everything seems to be stable, it would seem that you have isolated the problem successfully.

    2. one of the solutions is to disable additional logical processors for the entire operating system, although there may be negative implications on performance.  In this case, try the steps in the lower part of this KB.  I have Windows 7, so I used the utility of command-line bcdedit with no problems.

    3. Finally, a really interesting option that is well worked for me should automatically set the affinity of the processor for each individual process.  There is at least a utility available to achieve this.  I've now changed my LabVIEW 8.6 shortcut to call RunFirst, which sets the processor affinity for LabVIEW to automatically use the first logical processor.  This way I can still use my processor image for all it's worth except in applications that have problems with it.

    I hope this helps someone else out there one day.

    Jim

  • How can I add multi line selection in a drop-down list

    I just started with Acrobat DC. Everything is simple, until it isn't. I try to add items to my drop-down list. It's easy. I'm trying to make the choice of multi line. It is an inspection report and the choice will not fit on a single line. So after making the choice, can not read the answer. Thank you-Tim

    It is possible to do it, but only with a script and it's a kind of buggy. In other words, not really a good idea.

  • Deploy the model via command line

    Hi all,

    Is possible the deply a model via command line and set hostname and network?

    Thanks for your help

    PS: Do not forget a gift for the ghetto script repository

    You try to create a model of an existing VM using the CLI or the cloning of a virtual machine from a template?

    =========================================================================

    William Lam

    VMware vExpert 2009,2010

    VMware VCP3, 4

    VMware VCAP4-DCA

    VMware scripts and resources at: http://www.virtuallyghetto.com/

    Twitter: @lamw

    repository scripts vGhetto

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

    VMware Code Central - Scripts/code samples for developers and administrators

    VMware developer community

    If you find this information useful, please give points to "correct" or "useful".

  • Trying to create a multi-line dialog box

    I worked on a study PDF guide. At the end of each chapter is a self test, and I have some javascript which marks the review when a user clicks a button. Currently, I use a window app.alert to notify the user what responses it is correct and display explanations on incorrect answers. Unfortunately, some of the explanations may be a little long, so I had some tests auto split in several alerts. I have a snippet of code (below) for example to a dialog box, but have been unable to find examples of a multi-line dialog box. A thread has responses as "it is not easy", but no solid examples. Someone at - it an example of a simple dialog box, a line that I could adjust to my needs?

    var oDlg = { 
        description: { name: "Test Dialog", elements: [ { name: "Hello World", type: "static_text", }, { type: "ok", }, ] } 
    }; 
    // Dialog Activation 
    app.execDialog(oDlg);
    
    

    I tried to do something like that, but it barfs on the first carriage return:

    var sText = "Question 5: Incorrect! The correct answer is B\r\rA, C, and D are incorrect. && and || are both short-circuit operators. With &&, when the left side evaluates to false the right side is never evaluated. And with ||, when the left side evaluates to true, the right side is never evaluated.\r\rIn the first statement, i1 does not equal 99 when it is evaluated, so the second expression is printed. However, it is decremented BEFORE the print statement, so the combined value of i and j is 299.\r\rIn the second statement, the left side of the equation evaluates to false, so the right side is never evaluated. Thus the second expression is printed out.\r\rIn the third statement, i3 equates to 100, so the first expression is printed out.\r\rFor the last statement, the left side of the expression is evaluated to true, so the right is never evaluated. The first expression is printed out.\r\rThe final result is 'Value2: 299, Value2: 300, Value1: 299, Value1: 300'";
    
    var oDlg = { 
    description: { name: "Test Dialog", elements: [ { name: SText, type: "static_text", }, { type: "ok", }, ] } 
    }; 
    // Dialog Activation 
    app.execDialog(oDlg);
    

    Any help would be appreciated.

    Here is a basic sample:

    Dialog1 var = {}

    DoDialog: function() {}

    Return app.execDialog (this);

    },

    initialize: function {(dialogue)

    var dlgInit = {}

    "not1": this.strnot1

    };

    Dialog.Load (dlgInit);

    },

    Description: {}

    name: "dlg1."

    elements:

    [

    {

    type: "display."

    elements:

    [

    {

    type: "cluster."

    item_id: "cls1."

    name: "Notes."

    elements:

    [

    {

    type: 'static_text. "

    Multiline: 'true ',.

    item_id: "not1."

    Width: 300,

    height: 300,.

    }

    ]

    }

    ]

    },

    {

    type: "ok."

    }

    ]

    } / / description

    };

    var sText = "Question 5: Incorrect! The correct answer is B\r\rA, C, and D are incorrect. & and | are only two short circuit operators. With &, when the left is set to false, the right side is never evaluated. And with |, when the left evaluates to true, the right side is never evaluated.\r\rIn the first statement, i1 is not equal 99 when it is evaluated, so the second expression is printed. However, it is decremented BEFORE the print statement, so the combined value of i and j is 299.\r\rIn that the second statement, the left side of the equation is set to false, then the right-hand side is never evaluated. The second expression is so printed out.\r\rIn the third statement, i3 is equivalent to 100, so the first expression is printed out.\r\rFor the last statement, the left side of the expression evaluates to true, then the right is never evaluated. The first expression is printed out.\r\rThe end result is ' value2: 299, value2: 300, value1: 299, value1: 300 ft;

    Dialog1.strnot1 = sText;

    Dialog1. DoDialog();

  • How do I Center a text entry field can be single or multi-line?

    I have created a form in Adobe Acrobat Pro XI and have almost everything I like.  One of my latest problems trying to get a text in a field of centered text.  The entrance is sometimes a single line and multi-line sometimes.  If I put in place for multi-line entries are centered, then the single line looks like offshore... and vice versa.  Is it possible to have the centered text automatically in the text field single or multi-line?

    Unfortunately, there is no way to set up a field so that the text is guaranteed to be centered vertically in both cases. If you set up so that the rich text formatting is enabled, it is possible for a user centered vertically, but this isn't something you can preconfigure so that it remains in effect when the field is cleaned. For a user to do, with the emphasis placed on the ground that they would have to display the toolbar properties (Ctrl + E), click on the "more..." "> paragraph > alignment > intermediate text [button]

  • How can I increase the attack in a multi-line text box?

    Is this possible?

    I found this ad a few years where someone has asked a similar question:

    http://forums.Adobe.com/thread/286972

    This feature has never been added? If this is not the case-how can I make the code work posted in response to that post?  Just hide the lines would be a good alternative, I think. I tried to add the code to my existing PDF, but seems not to do anything, the lines are still visible when you type in the field.

    No, leading to control has been added and it probably never will be.

    The code at this other thread is not complete because the functions that it calls are not displayed. They are not integrated. Here is a link to a document with a multi-line field that behaves in this way: https://workspaces.acrobat.com/?d=AG6oZ3bi3DYHokxDPeWN7A

    There are several small scripts in various events that control the behavior.

  • FormsCentral Adobe multi-line text field

    I am trying to create a form that will expand the fields of history/medical notes as indicated by the patient.  I tried incorporating fields "(multi-line) text field ', but get a field with a scroll bar, rather than a growing field.  Moving to other fields, or registration or import the file does not change the scope of expanded scroll.

    Any help appreciated.

    Many LiveCycle Designer is uninstalled when you install Acrobat 11, you must be eligible to receive the latest free version, so you can continue to use the dynamic forms designer.

  • SOA 11 g group EM - instances of search with wildcards?

    Hello ~

    My apologies if this isn't the right place for this post... it is a bit of a gray line between SOA and EM.

    In any case, in the MS that comes with SOA Suite 11 g, less:
    Farm > SOA > soa-infra > [partition name] > [composite name] > Instances (tab)
    the user can search the audit trail entries for example the details that are still in the database.

    My question is, if I search by name (which is a field that can be set by calling setInstanceTitle() in a BPEL/mediator object), is it possible to do this search with a wildcard?

    I tried:
    myquery%
    and
    myquery*
    but neither giving the desired results (all instances whose name begins with "myquery").

    Thanks in advance for your comments,

    -Nathan

    I don't think not possible to EM, but you can query the instance history in the SDM Store using wildcard characters.

  • Need to search with correct spelling typo snacks

    Hello

    If I am searching with a wrong spelling, it must ask (or) check with the correct spelling. Say, if the user performs a search for the keyword "serch", to look for the word "search".

    This will make it possible to link the search words with the Thesaurus built instead of setting the spelling of all the words.

    An example of the foregoing will be more useful.

    Thanks in advance.

    Oracle doesn't have a built-in spellchecker or similar spellings recovery method directly from the thesaurus. If you want a spell checker, then you must either get a dictionary that you can compare to or find a way to use a spellchecker online. If you get a dictionary, then you'll do something like creating a context on the dictionary and using fuzzy index to find possible spellings of correct based on a bad. If you use a spell checker online, he will do something similar. If using a spell checker in line and you wait until it is always available to your application, you should ensure that you have purchased a subscription to this service. In both cases, the final results are substantially the same as if you just do a fuzzy search in a first time and save a lot of trouble and further treatment, which can take some time. I have provided a few examples below for comparison. I first demonstrated using a dictionary. I walked just two rows, but you want to download a whole dictionary of somewhere, probably in text format, then use SQL * Loader to load it into a table. Then I have shown by using an online service, but not one who subscribes to that you can count on a method. Finally, I made a simple query using and blurred that renders the same as other methods, without all the extra code and treatment. So, I hope you can see that everything you need is probably a fuzzy search. In the examples I've provided, I used functions to concatenate all the suggested correct spellings with the | symbol, meaning the Oracle text and surrounded by each group in parentheses. You can use additional criteria to narrow the possibilities.

    SCOTT@orcl_11gR2> -- test environment:
    SCOTT@orcl_11gR2> create table test_tab
      2    (test_col  varchar2 (60))
      3  /
    
    Table created.
    
    SCOTT@orcl_11gR2> insert all
      2  into test_tab (test_col) values ('search for the rabbit')
      3  into test_tab (test_col) values ('some other data')
      4  select * from dual
      5  /
    
    2 rows created.
    
    SCOTT@orcl_11gR2> create index test_idx
      2  on test_tab (test_col)
      3  indextype is ctxsys.context
      4  /
    
    Index created.
    
    SCOTT@orcl_11gR2> -- method using dictionary you obtain:
    SCOTT@orcl_11gR2> create table test_dict
      2    (test_word  varchar2(30))
      3  /
    
    Table created.
    
    SCOTT@orcl_11gR2> insert all
      2  into test_dict values ('rabbit')
      3  into test_dict values ('search')
      4  select * from dual
      5  /
    
    2 rows created.
    
    SCOTT@orcl_11gR2> create index test_dict_idx
      2  on test_dict (test_word)
      3  indextype is ctxsys.context
      4  /
    
    Index created.
    
    SCOTT@orcl_11gR2> create or replace function dict_check
      2    (p_word in varchar2)
      3    return       varchar2
      4  as
      5    v_words       varchar2 (2000);
      6  begin
      7    for r in
      8        (select test_word
      9         from      test_dict
     10         where  contains (test_word, '?' || p_word) > 0
     11         union
     12         select p_word
     13         from      dual)
     14    loop
     15        v_words := v_words || '|' || r.test_word;
     16    end loop;
     17    return '(' || ltrim (v_words, '|') || ')';
     18  end;
     19  /
    
    Function created.
    
    SCOTT@orcl_11gR2> select dict_check ('serch') from dual
      2  /
    
    DICT_CHECK('SERCH')
    --------------------------------------------------------------------------------
    (search|serch)
    
    1 row selected.
    
    SCOTT@orcl_11gR2> select dict_check ('rabit') from dual
      2  /
    
    DICT_CHECK('RABIT')
    --------------------------------------------------------------------------------
    (rabbit|rabit)
    
    1 row selected.
    
    SCOTT@orcl_11gR2> select * from test_tab
      2  where  contains
      3             (test_col,
      4              dict_check ('serch')
      5              || ' and ' ||
      6              dict_check ('rabbit')) > 0
      7  /
    
    TEST_COL
    ------------------------------------------------------------
    search for the rabbit
    
    1 row selected.
    
    SCOTT@orcl_11gR2> -- method using online spell checker:
    SCOTT@orcl_11gR2> create or replace function spell_check
      2    (p_word in varchar2)
      3    return       varchar2
      4  as
      5    l_res     clob;
      6    l_cnt     varchar2(10);
      7    l_sc     varchar2(10);
      8    l_words     varchar2(2000);
      9  begin
     10    l_res := httpuritype
     11              ('http://ws.cdyne.com/SpellChecker/check.asmx/CheckTextBodyV2?'
     12               || utl_url.escape('BodyText=' || p_word)).getclob();
     13    l_cnt := XmlType(l_res).extract
     14              ('/DocumentSummary/MisspelledWordCount/text()',
     15               'xmlns="http://ws.cdyne.com/').getStringVal();
     16    if l_cnt > 0 then
     17        l_sc := XmlType(l_res).extract
     18               ('/DocumentSummary/MisspelledWord['||1||']/SuggestionCount/text()',
     19                'xmlns="http://ws.cdyne.com/').getStringVal();
     20        for i in 1 .. l_sc loop
     21          l_words := l_words || '|' ||
     22                  XmlType(l_res).extract
     23                 ('/DocumentSummary/MisspelledWord['||1||']/Suggestions['||i||']/text()',
     24                  'xmlns="http://ws.cdyne.com/').getStringVal();
     25        end loop;
     26    else
     27        l_words := p_word;
     28    end if;
     29    return '(' || ltrim (l_words, '|') || ')';
     30  end spell_check;
     31  /
    
    Function created.
    
    SCOTT@orcl_11gR2> select spell_check ('serch') from dual
      2  /
    
    SPELL_CHECK('SERCH')
    --------------------------------------------------------------------------------
    (search|such|perch|sch|sash|searches|Zach|searched|searcher|research|Sorcha|sush
    i|searchers|searching|searcher's|sashay|Sacha|sushis|sashed|sashes|sash&apo
    s;s|researcher|sashing|sushi's|sashays)
    
    1 row selected.
    
    SCOTT@orcl_11gR2> select spell_check ('rabit') from dual
      2  /
    
    SPELL_CHECK('RABIT')
    --------------------------------------------------------------------------------
    (rabbit|habit|robot|rabid|rabbet|rabis|rebid|rubout|Rabat|rabbits|reboot|rowboat
    |rabbiter|robots|rubato|Robt|rabbited|rebate|rabbit's|rabidly|rabbets|ribbe
    d|rubbed|rubatos|robbed)
    
    1 row selected.
    
    SCOTT@orcl_11gR2> select * from test_tab
      2  where  contains
      3             (test_col,
      4              spell_check ('serch')
      5              || ' and ' ||
      6              spell_check ('rabbit')) > 0
      7  /
    
    TEST_COL
    ------------------------------------------------------------
    search for the rabbit
    
    1 row selected.
    
    SCOTT@orcl_11gR2> -- fuzzy search:
    SCOTT@orcl_11gR2> select * from test_tab
      2  where  contains
      3             (test_col,
      4              '?serch and ?rabbit') > 0
      5  /
    
    TEST_COL
    ------------------------------------------------------------
    search for the rabbit
    
    1 row selected.
    
    SCOTT@orcl_11gR2>
    

Maybe you are looking for