Special Characters in CONTAINS section of ORACLE TEXT

Can we have special characters in the CONTAINS Section of the ORACLE TEXT.
Ex:
Select count(*) from Table_Name where CONTAINS(Column_Name, '%SearchString#%')>1..
If I am introductions characters like @,#,$,^,&,*(, ) --> then I am getting error as given below
ERROR at line 1:
ORA-29902: error in executing ODCIIndexStart() routine
ORA-20000: Oracle Text error:
DRG-51030: wildcard query expansion resulted in too many terms
Any Suggestions Please.

Check this
http://download-east.oracle.com/docs/cd/B10501_01/text.920/a96518/cqspcl.htm#1360

Similar Messages

  • Problem with special characters being randomly inserted into a text document with Surface Pro

    Why are these special characters appearing in the text below?  How do I correct this issue?
    EXAMPLE:  Alice's friends took advantage of her they got all their nai;ls done.
     Her tabl;et is no l;onger working and does not know what happ;ened to it;.
    School: Her grades are falling and so she stop;ped working the program ;with PCC> She is failing all her cl;asses;. She is taking sociology class and he grades really hard. Science cl;ass she took a test and it bro;ught her down. She will have to do better
    on next test to ;;raise ;grade;.; Math cl;ass she will have to make up; a quiz for math—the math is getting harder—geometry is hard for her. Career cho8ices class—he has not p;ut in any grades yet but there is no grade yet. She re;ports that she is ;stubborn
    and she does not ask for help. She is staying after school; for working on her studies;. Grade ;;;;;;;;check wil;l be out next week.
    Therapy: Last f;4riday the therap;ist s;c;hed7led with Alice's bio dad and the therp;iast did not show and was not sure if dad showed because she does not know what dad l;ooks loiike.; They ar3e schedule;ed for this Friday. morning.;

    Hi,
    DId this issue just happened in this text?
    Please open the other text file to check the result.
    I suggest we create a notepad file,and type some words and save it.Then open it again to see the result.
    Meanwhile,as S.Sengupta mentioned,check your input method and Keyboard layout.
    Regards,
    Kelvin Xu
    TechNet Community Support

  • How does one enter special characters, in particular french accents into text in PS Elements?

    I'm trying to produce some artwork in Photoshop Elements with some French text in it, so I need to know how to input special characters for the letters with accents. Anyone got any ideas - I've tried looking for a glyph menu but that doesn't seem to exist on Elements.

    Which operating system are you using and version of photoshop elements?
    Photoshop elements doesn't have a Glyphs panel or menu.
    Here's a way:
    windows
    http://symbolcodes.tlt.psu.edu/accents/codealt.html
    mac
    http://symbolcodes.tlt.psu.edu/accents/codemac.html

  • Special characters in a feild in oracle table.

    Hi,
    I want to find out all the special characters in a particular field say name, how am I to do it.
    Can u please help me.
    Regards
    Sridhar

    SQL> ed
    Wrote file afiedt.buf
      1  with t as (select 1 as id, 'Fred' as name from dual union all
      2             select 2, 'Bob!' from dual union all
      3             select 3, 'Jimmy123' from dual union all
      4             select 4, '45Tim' from dual union all
      5             select 5, 'Ken5@Thomas.' from dual)
      6  -- end of test data
      7  select id, regexp_replace(name, '[(A-Za-z0-9)]') as special_chrs
      8* from t
    SQL> /
            ID SPECIAL_CHRS
             1
             2 !
             3
             4
             5 @.
    SQL>

  • Special Characters not being imported from standard text(SO10) to form

    Hello Experts,
    I have created a standard text in SO10 and tried importing it to the adobe form, i created.  I have maintained some sentences as highlighted and underlined.  Text got imported perfectly on to the form, but the formatting is not being exported.  Could you please help me in this issue.
    Thanks,
    Rakesh.

    Use Text modules instead of standard text

  • Special characters like hyphens cause problems in Text to Speech on Mac

    The Text to Speech function with the shortcut [option+esc] has helped me  a lot. But, the only problem is that when there is a hyphen in the paragraph selected it doesn't even start reading the paragraph.
    This problem occurs when reading pdf files from the chrome using TTS.

    I thought that perhaps that I might be able to do something like make the iPod screen have a white text on black mode (like in the Mac OS X accessability mode), would this be possible?
    Can anyone else think of anything when using an iPod to help vision impaired people to use an iPod?
    Cheers,
    Nicholas

  • SQL Injections and XSS - Escaping Special Characters

    Hi, hope someone can help in regards to security and SQL Injections and XSS.
    We are using APEX 4.0.2 on Oracle 11.2.0.2.
    1. It seems the special characters we have entered into normal 'Text Items' 'Text Areas' etc are not being escaped (ie <,>,&, '). If I enter them into the field (ie Surname) they are saved as is into session state and the database - no escaping. Am I missing something such as an environment setting as I thought the "smart" oracle escaping rules would cater for this.
    Surely I don't have to manually do each of then.
    Just to confirm, am I looking in the correct places to assess if the characters are escaped or not - ie should they show as '&amp;&lt;&gt;' in session state and/or the database ?
    2. Also, for the Oracle procedures such as '‘wwv_flow.accept’ , ‘wwv_flow.show’ , 'wwv_flow_utilities.show_as_popup_calendar' - do these escape special characters. If not, then they must be vulnerable to SQL Injections attacks.
    Thx
    Nigel

    Recx Ltd wrote:
    Just to pitch in, escaping values internally (either in the database or session state) is extremely problematic. Data searches, string comparison, reporting and double escaping are all areas which suffer badly when you do this.
    Stripping characters on input can also cause problems if not considered within the context of the application. Names such as "O'Niel", statistical output such as "n < 300", fields containing deliberate HTML markup can be annoying to debug. In certain situations stripping is totally ineffective and may still lead to cross-site scripting.
    Apex applications that share the database with other applications will also be affected.
    The database should contain 'raw' unfettered data and output should be escaped properly, as Joel said, at render time. Either with Apex attributes or using PLSQL functions such as htf.escape_sc() as and when required.Do not needlessly resurrect old threads. After a couple of months watches expire and the original posters are not alerted to the presence of your follow-up.
    Shameless plug: If you are in the game of needing to produce secure Apex code, you should get in touch.This crosses the line into spam: it violates the OTN Terms of Use&mdash;see 6(j).
    Promotional posts like this are liable to be removed by the moderators.

  • Equivalence Operator - Oracle Text Search

    Hi,
    I am trying to use Equivalence Operator(=) as following,
    SELECT SCORE (1), CLOB_COL
    FROM TEST_CLOB
    +WHERE CONTAINS (CLOB_COL, '({AIR}={WA@TER})', 1) > 0+
    This seems to work fine for normal words, but when the word has any special characters(WA@TER) the equivalence operator throws the following error.
    ORA-29902: error in executing ODCIIndexStart() routine
    ORA-20000: Oracle Text error:
    DRG-50921: EQUIV operand not a word or another EQUIV expression
    DRG-50921: EQUIV operand not a word or another EQUIV expression
    Please let me know if there is a way to escape the special characters.
    The same query seem to work if i use "OR" operator instead of "Equivalence" but need to know whether it is possible to do it with "Equivalence" operator.
    Thanks.

    865045 wrote:
    Hi,
    I am trying to use Equivalence Operator(=) as following,
    SELECT SCORE (1), CLOB_COL
    FROM TEST_CLOB
    +WHERE CONTAINS (CLOB_COL, '({AIR}={WA@TER})', 1) > 0+
    This seems to work fine for normal words, but when the word has any special characters(WA@TER) the equivalence operator throws the following error.
    ORA-29902: error in executing ODCIIndexStart() routine
    ORA-20000: Oracle Text error:
    DRG-50921: EQUIV operand not a word or another EQUIV expression
    DRG-50921: EQUIV operand not a word or another EQUIV expression
    Please let me know if there is a way to escape the special characters.
    The same query seem to work if i use "OR" operator instead of "Equivalence" but need to know whether it is possible to do it with "Equivalence" operator.
    Thanks.The second result in a simple google query for "oracle text escape special characters" returned this.
    http://download.oracle.com/docs/cd/B28359_01/text.111/b28304/cqspcl.htm
    Please keep google (and the Oracle documentation itself) in mind in the future, it's faster for you and less pollution to the forums for simple document reference questions like this.

  • SMARTFORM problems with special characters

    Hi everybody,
    only to know if somebody knows how to fix a problem printing special characters in a smartform, instead of some characters the smartform display (Print preview)  and prints interrogative symbols <b>"?"</b>.
    If someone knows about this problem, it will be helpfully for me,
    thanks and have a good day

    HI
    To display Special characters in Smartforms ...
    goto text editor of the perticular text node.
    in the text editor, Click INSERT - Characters - Displayable Characters.
    a new window will open showing all characters...if ur required character is not
    present, click on non-dispalyble character button , it displays all the characters
    and their respective numbers...select ur required character .
    Check it, if it is helpfull reward points..
    Thanks
    REGARDS
    DINESH

  • DW CS3: Auto Conversion of Special Characters?

    In DW 8 special characters entered or pasted into the text in
    Design view, were automatically converted to & encoded values.
    If you were typing ø, &oslash; was inserted in the code.
    This was very usefull when pasting large portions of non-English
    text.
    It seems that this feature has been disabled in DW CS3. Why?
    How do I enable this feature again?

    BennyO wrote:
    > It seems that this feature has been disabled in DW CS3.
    Why? How do I enable
    > this feature again?
    The feature has not been disabled. The default encoding in
    CS3 is UTF-8,
    which supports accented characters without the need to
    convert them to
    HTML entities, such as &oslash;. All modern browsers
    support UTF-8, so
    there should be no need to use HTML entities, unless you are
    saving
    content in a database that doesn't also support UTF-8 (MySQL
    3.23 or
    4.0, for example).
    If you want to go back to using HTML entities, change the
    default
    encoding to Western European (iso-8859-1).
    David Powers, Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Problem printing Special Characters in Smartform

    Hi,
    I am developing a Smartform for Position Description. For that I have to display data from table HRT1002 as the data in this table is stored using Text Editor the data internally is stored in '#' when there is a enter, space or some special Characters. While displaying this data I have used class CL_ABAP_CHAR_UTILITIES -->HORIZONTAL_TAB to make '#' to it original value in my internal table.
    After using the Class the data has been converted into the correct format, but while printing few special characters like ", ' , .. etc are been printed as # where as in my internal table they are not in # format.  How can I change the # to it original Character while printing.
    Regards,
    Ramu N.

    In Text Element,click Txt editor icon on the left side in General attributes.Then in the menu Include->Characters->Displayable Characters and then select the characters.
    To display Special characters in Smartforms ...
    goto text editor of the perticular text node.
    in the text editor, Click INSERT - Characters - Displayable Characters.
    a new window will open showing all characters...if ur required character is not
    present, click on non-dispalyble character button , it displays all the characters
    and their respective numbers...select ur required character .
    <b>Check it, if it is helpfull reward points..</b>
    Regards....
    ABhay

  • How to create French special characters on Linux

    I have a Linux machine now, and originally, I had no problems to create French special characters while simply typing the key combintation of alt+<ASCII-number> on Windows. The special characters were displayed both in any text document and in Skype's chat text field. Now on Linux, this does not work, nor can I display special characters by trying it by making use of the Linux way - that is by hitting ctrl, shift, u and then e. g. 00e7 for a small "cédille". Is there any workaround for this in Linux?

    I tested Skype for Ubuntu and it works. Here's how I did it:I pressed Ctrl+Shift+u (an underline u should appear)Then I typed 00e7 and I got underlined u00e7Finally, I pressed Enter after that u00e7 was converted to çThere is how I typed "cédille": ps. Please note 00e7 is code for ç, but not for é (which have code 00e9). See here the list of Unicode characters https://en.wikipedia.org/wiki/List_of_Unicode_characters

  • Why does text on certain portions of websites, usually when adjacent text contains special characters, become jumbled into seemingly random sets of characters that are not in any way jumbled when viewing the source of the webpage? How can I fix this?

    When viewing most text on most websites, it displays properly. However, there are two instances where text will either tend to, or consistently, become jumbled into a mess of seemingly random characters. Oddly enough, these seemingly random characters are not, in fact, random. The same weird character will be used to replace the same regular English text character consistently across the entire area that has been jumbled.
    The two instances where this tends to occur most often, or consistently in some cases, are, first, when a paragraph or particular section of formatted text contains special characters, such as Chinese or Japanese characters, or accented letters. When this happens, usually the paragraph that contains the special characters is completely jumbled, while the rest of the text on the page will have intermittent jumbling on a word or two. Most often, the word "the" is jumbled in this case.
    The second instance where this happens is when a website uses specially formatted text in some form or another. I, not being an expert at web development, am not sure what kind of formatting causes it, but I can provide consistent examples in lieu of my experience:
    - Example 1:
    [http://img408.imageshack.us/img408/9564/firefoxcharencodingissu.jpg]
    Example 1 shows a portion of a screen-shot of the website "Joystiq.com". Every single article title on the front page of this blog is consistently jumbled, while the text of the article itself remains untouched. Please note that when this jumbled text is highlighted, it is visible un-jumbled in the right-click menu as well as in the source code of the page. Other consistent instances can be found within many search fields on various websites. For instance, the search bar located at the top right of "Kotaku.com" consistently displays jumbled characters both on its default text of "Search" and on any text that is typed into the search box itself.
    - Example 2:
    [http://img822.imageshack.us/img822/9564/firefoxcharencodingissu.jpg]
    Example 2 shows both the jumbling of the paragraph containing the character "☆" as well as the subsequent peppering of the rest of the article's text with small jumbled words. Below this is the DOM Source of the selected text which shows how the text itself is being rendered properly within the site's source. Additionally, for convenience, I have edited on to the bottom of the image a small snippet of what the search bar on the same page looks like. Notice how the grayed-out text that normally would read "Search" is instead jumbled.
    This issue has been plaguing my browser for the past year or so, and I had hoped that it would go away with subsequent Firefox updates. It has not gone away.
    Thank you for reading! Please help!

    This issue can be caused by an old bitmap version of the Helvetica or Geneva font or (bitmap) fonts that Firefox can't display in that size.
    Firefox can't display some old bitmap fonts in a larger size and displays gibberish instead.
    You can test that by zooming out (View > Zoom > Zoom Out, Ctrl -) to make the text smaller.
    Uninstall (remove) all variants of that not working font to make Firefox use another font or see if you can find a True type version that doesn't show the problem.
    There have also been fonts with a Chinese name reported that identify themselves as Helvetica, so check that as well.
    Use this test to see if the Helvetica font is causing it (Copy & Paste the code in the location bar and press Enter):
    <pre><nowiki>data:text/html,
    Helvetica<br><font face="Helvetica" size="25">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</font><br>
    Helvetica Neue<br><font face="Helvetica Neue" size="25">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</font>
    </nowiki></pre>
    You should reset the network.http prefs that show user set on the about:config page.<br />
    Not all websites support http pipelining and if they do not then you can have issues with images or other problems.
    See also http://kb.mozillazine.org/Images_or_animations_do_not_load#First_steps

  • Search for Special Character in  Oracle Text CONTAINS Query

    Hi,
    We have to write few query which will search for email id in the Oracle Text.
    The Search text will be like <[email protected]> .
    So email id should be searched correctly with the @ symbol.
    Similarly we want the following special character to be searched in the Text like ",',*

    You will need to escape the special characters by either using \ in front of each special character or putting {} around the whole phrase that contains the special characters, as per the online documentation:
    http://download.oracle.com/docs/cd/B28359_01/text.111/b28304/cqspcl.htm#CCREF2091

  • Oracle text search - special characters issue

    Hi.
    I'm facing a real annoying problem with text search query, and everything I've tried failed...
    I have a table with a varchar column indexed by text index. The column contains special characters like '&', ',' and mainly- '-'. Since I want to disregard these special characters for searches I have created a basic lexer of type skipjoins for the column index. So now, the phrase 'aaa-bbb something'. for example, can be searched without '-', like this: 'aaabbb'. But I want to make it possible for this phrase to be searched with and without '-'. So, that when the user enters 'aaabbb' he will get the same results as when he enters 'aaa-bbb'.
    In other words, This condition:
    WHERE CONTAINS(column, '<query> <textquery grammar="context"> <progression><seq>'
    ||'aaabbb'
    ||'</seq></progression> </textquery> </query> ' ,1)> 2
    Will return the same results as this condition:
    WHERE CONTAINS(r.POI_NAME, '<query> <textquery grammar="context"> <progression><seq>'
    ||'aaa-bbb'
    ||'</seq></progression> </textquery> </query> ' ,1)> 2
    Since text query treats the '-' sign as a minus sign and searches for 'aaa' which doesn't contain 'bbb', the only way I found to fix this was to wrap the search text with {}. like this:
    WHERE CONTAINS(r.POI_NAME, '<query> <textquery grammar="context"> <progression><seq>'
    ||'{aaa-bbb}'
    ||'</seq></progression> </textquery> </query> ' ,1)> 2
    This all went very well, until I wanted to create a relaxation query. like this:
    WHERE CONTAINS(r.POI_NAME, '<query> <textquery grammar="context"> <progression><seq>'
    ||'{aaab}'
    ||'</seq><seq>'
    ||'{aaab}'
    ||'%</seq></progression> </textquery> </query> ' ,1)> 2
    In this case, I would expect the first part of the query to return no results (since it's not the whole word) but the second part, using '%' should have returned the record of 'aaa-bbb'. It doesn't. It will only return my result if I remove the '{}' for the second part. I can't do that, because the exact same search, when containing '-', will not return the expected results when I remove the braces (the sign is treated as minus sign):
    WHERE CONTAINS(r.POI_NAME, '<query> <textquery grammar="context"> <progression><seq>'
    ||'{aaab}'
    ||'</seq><seq>'
    ||'aaa-b'
    ||'%</seq></progression> </textquery> </query> ' ,1)> 2
    So I now have no solution. My question is- How can I create a query that will disregard the minus sign and treat it as a regular sign, but would still handle percentage sign as a special sign. So that I could run a query like the last example and will get the results of searching the phrase 'aaa-b%'?
    In short, and to simplify my question, I'm looking for a way to escape all characters (not only the minus sign) except for a specific character. Kind of like 'unescaping' a specific character (the '%' sign) within braces {}. Or, another way would be to remove the space that is added to the phrase inside the braces at the end of the word, preventing me from adding "%" at the end of the word, outside the braces.
    Thanks you,
    Nili

    I'm looking for a way to escape all characters (not only the minus sign) except for a specific character. Kind of like 'unescaping' a specific character (the '%' sign) within braces {}What about if you apply a function like regexp_replace to escape all known "specific characters", and then unescape the particular specific character again back as e.g. in
    SQL>  select 'a.da-df%df*' str, replace (
                                                   regexp_replace (
                                                        'a.da-df%df*',
                                                        '([[:punct:]])',
                                                        '\\\1'
                                                   str2
      from dual
    STR         STR2         
    a.da-df%df* a\.da\-df%df\*
    1 row selected.i.e. don't escape with curly brackets but with the backslash character.
    You can then use this string in your query like in
    WHERE CONTAINS(r.POI_NAME, '<query> <textquery grammar="context"> <progression><seq>'
    ||'aaab'
    ||'</seq><seq>'
    ||'aaa\-b'
    ||'%</seq></progression> </textquery> </query> ' ,1)> 2

Maybe you are looking for

  • How do I fix this error code: Your iTunes store (Canada) does not match that of the gift certicate (USA)

    Any suggestions would be appreciated please.....

  • How to add id to the existing Authorization Object

    Hi, I want to add one id to the existing Authorization Object,How to add this? Here is my Object and existing ID's authority-check object 'Z_W2WALL' for user sy-uname           id 'ZFREEZE' field r_freeze           id 'ZLI01' field r_li01           i

  • 75975 Background Image.

    Hello, We have recently installed CCM 6.1(1) with 7975 color phones. We are trying to display a custom image on the phones and are having no luck. Through the call manager OS Administration page I have uploaded the .png files for the image and the th

  • OEM 10G discovery on solaris

    My 10G OEM console/repository is recognizing nodes with 9i databases (w/ 10G agents installed)... but not nodes with 10G databases (10.1.0.2) installed. Emctl start agent has been run on both, oratab files and listeners appear correct, no firewalls i

  • Cannot edit info on tracks, have permissions set correctly.

    So, I'm running the majority of my music off an external, the same external that hosts time machine. I created a seperate folder on the drive not involved with the back-ups for this to work. All of the permissions for all of the songs I've randomly c