CATSEARCH only works with AND not with Or

Hello,
If I run the following query against my database it runs absolutely fine
SELECT * FROM
LOAD
WHERE ((catsearch (WILDCARD_SURNAMES, 'BRUCE', '') > 0)) AND PARSED_FORENAME1='ANTHONY'
But if I replace the "AND" with an "OR"
SELECT * FROM
LOAD
WHERE ((catsearch (WILDCARD_SURNAMES, 'BRUCE', '') > 0)) OR PARSED_FORENAME1='ANTHONY'
I get an Oracle error
ORA-20000: Oracle Text error:
DRG-10849: catsearch does not support functional invocation
DRG-10599: column is not indexed
I don't understand this, why can't I use OR?
Thanks for any help
Mark

The optimizer has chosen to drive the query from an index on parsed_forename1 or by doing a full table scan.
This causes it to try to invoke the ctxcat index in "functional lookup" mode - effectively saying "does rowid XXX match have the word "BRUCE" in WILDCARD_SURNAMES?"
However, CTXCAT indexes do not support functional lookups, so this is impossible.
The solution is to use a hint which persuades the optimizer to always drive the query from the CTXCAT index.
I know this is kind of messy, but our developers tell me there is no simple way to tell the optimizer that such as call is impossible (or infinitely expensive).

Similar Messages

  • Javax.faces.ViewState value starts with '%' and not with '!'

    While recording and ADF Application on JMeter, what should the regular expression extractor be when the javax.faces.ViewState recorded value starts with '%' and not with '!'.
    I have been following the following link and it talks only about javax.faces.ViewState values that start with '!'
    http://one-size-doesnt-fit-all.blogspot.in/2010/04/configuring-apache-jmeter-specifically.html

    Hi,
    If '!' present in first position of string, you need to remove it or replace it in transformation.
    Following is the  sample code...
    loop at SOURCE_PACKAGE into ls_SOURCE_PACKAGE.
          record_num = sy-tabix.
          IF ( ls_SOURCE_PACKAGE-fieldname(1) = '!' ).
            ls_SOURCE_PACKAGE-fieldname(1) = '' .
    ENDIF.
        MODIFY SOURCE_PACKAGE INDEX record_num FROM LS_SOURCE_PACKAGE.
      ENDLOOP.
    Hope this helps..

  • Why is my airportxpr only working with Itunes and not with another music program

    why is my airportxpr only working with Itunes and not with another music program??
    I can not select/see other outputs in my sound selector.

    You have not indicated which OS or which music program you have so I have listed a program called Airfoil to try for both Windows and Mac - it may work for you
    for Windows - http://rogueamoeba.com/airfoil/windows/
    for Mac - http://rogueamoeba.com/airfoil/mac/

  • Three finger or two finger gesture to move back and forward between pages of file only work on safari, unlike with old os. this new lion won't let me do it. Any help?

    three finger or two finger gesture to move back and forward between pages of file only work on safari, unlike with old os. this new lion won't let me do it. Any help?

    I have decided to dedicate this thread to the wonderful errors of Lion OSX. Each time I find a huge problem with Lion I will make note of it here.
    Today I discovered a new treasure of doggie poop in Lion. No Save As......
    I repeat. No Save As. In text editor I couldn't save the file with a new extension. I finally accomplished this oh so majorly difficult task (because we all know how difficult it should be to save a file with a new extension) by pressing duplicate and then saving a copy of the file with a new extension. Yet then I had to delete the first copy and send it to trash. And of course then I have to secure empty trash because if I have to do this the rest of my mac's life I will be taking up a quarter of percentage of space with duplicate files. So this is the real reason they got rid of Save As: so that it would garble up some extra GB on the ole hard disk.
    So about 20 minutes of my time were wasted while doing my homework and studying for an exam because I had to look up "how to save a file with a new extension in  mac Lion" and then wasted time sitting here and ranting on this forum until someone over at Apple wakes up from their OSX-coma.
    are you freaking kidding me Apple? I mean REALLY?!!!! who the heck designed this?!!! I want to know. I want his or her name and I want to sit down with them and have a long chat. and then I'd probably splash cold water on their face to wake them up.
    I am starting to believe that Apple is Satan.

  • I created an application and in  that application if date is changed the application starts from splash screen on re-entering and if date is not changed and u re-enters the application then it open in page where u leaved.It works with iPod not with iPhone

    I created an application and in  that application if date is changed the application starts from splash screen on re-entering and if date is not changed and u re-enters the application then it open in page where u leaved.It works with iPod not with iPhone

    Try posting in the developer forums to see if you can get some assistance,you'll have to be a registered developer for access though.
    developer.apple.com

  • Code works with Dreamweaver CS6 and not with CC

    <p><a href="javascript:void(0)" onclick="window.open('http://www.anything.comt', '', 'top=20,left=20,toolbar=0,statusbar=1,scrollbars=1,resizable=1')" title="title">name</a></p> works with Dreamweaver CS6 and not with CC
    [Edited Title and moved to Dreamweaver- JTS]

    I'm not quite sure I understand your point.
    I have just tested the Open Browser Window behavior in Dreamweaver CC. It creates slightly different code from Dreamweaver CS6, but it works correctly. This is what is created in the HTML:
    <p>my <a href="#" onClick="MM_openBrWindow('http://www.adobe.com/','mywindow','toolbar=yes,location=yes,status=yes,menubar=yes,scrollb ars=yes,resizable=yes')">link</a>
    </p>
    Dreamweaver CC also adds the following code to the <head> of the page:
    <script type="text/javascript">
    function MM_openBrWindow(theURL,winName,features) { //v2.0
      window.open(theURL,winName,features);
    </script>
    The definition of the MM_openBrWindow() function is needed in the <head> for the code to work. But it definitely works OK.
    With regard to _self and _blank not working, I can't find any problem with the way Dreamweaver CC handles them.
    However, if you feel happier working with Dreamweaver CS6, you can download it from the following page:
    https://creative.adobe.com/products/dreamweaver
    Open the drop-down menu under "In this version", and select Dreamweaver CS6 as shown in the following screenshot:
    With Dreamweaver CS6 selected, click the large Download button at the top-right of the page. You can then download CS6, and install it alongside Dreamweaver CC.

  • The problem I have since I upgraded to Mavericks version 10.9.1 The problem appears only with Mail not with other programs, not even with my browser. When I try to zoom the text of an e-mail I received or sent , I can no longer use the keys Command   to e

    the problem I have since I upgraded to Mavericks version 10.9.1
    The problem appears only with Mail not with other programs, not even with my browser.
    When I try to zoom the text of an e-mail I received or sent , I can no longer use the keys Command + to enlarge the text, although I can reduce it with Command -.
    As I have a problem with my eyes, This is a serious matter for me.
    When I write an e-mail, if I select text and press Command +, it just displaces the text to the right.
    Now, my husband has a USB keyboard. If he connects it to my computer, his regular Command + does not work either, but  he uses the extended keyboard, then it works. Unfortunately, he needs it for a musical application which does not work with a wireless keyboard.

    Firefox 3.6.4 and 3.6.6 use a process called, "plugin-container.exe" which was using up most of my CPU when I opened up multiple tabs that contained Adobe Flash files, and caused Firefox to lock up.
    My solution was to use Firefox 3.5.10 which you can get from the Mozilla website at [http://www.mozilla.com/en-US/firefox/all-older.html]
    I am using Adobe Flash 10.1.53.64 without any problem in this version of Firefox. Check the release notes, I believe it contains all the latest security fixes in "Firefox 3.6.4".
    Hopefully, they will fix Firefox 3.6 in the next version (e.g. Firefox 3.6.7), until then you should probably use "Firefox 3.5.10".

  • Hp photosmart 7150 only prints black and white with mac

    My hp photosmart 7150 only prints black and white with mac.  I have tried installing and uninstalling, installing drivers, but no change.

    Hi,
    You did not mentioned your Mac OS X version, however I assume you have one of the latest versions.
    The Photosmart 7150 is not supported on Mac OS X v10.6, v10.7, v10.8 or v10.9 and therefore it is more than likely that there are no drivers for your OS and the used Generic Driver only provide B&W printing.
    Although it is not officially supported you may check 3rd party solutions such as the 3rd party HP-IJS print drivers which list your printer as supported.
    Be sure to install any of the 3 required downloads, then click the plus sign under Printers & Scanners, click the Use drop down and click on Select Printer Software.
    Search for your printer model form the list and select the driver, I believe that may work:
    http://www.linuxfoundation.org/collaborate/workgroups/openprinting/macosx/hpijs
    Although it only list up to 10.8 (Mountain Lion) it should also work on Mavericks from my experience.
    Hope that may help,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • Can i use iCloud keychain with my own passwords and not with what is assigned and stored?

    Can i use iCloud keychain with my own passwords and not with what is assigned and stored?

    tammersalem wrote:) <-HDMI-> (HDTV)
    My main concerns are:
    -If I use iTunes on my main computer, will it then be available to Apple TV?
    -If I use Apple TV to download will it be available to my Main computer?
    -Can the Apple TV use a media server for storage over LAN (using NTFS Samab or otherwise)?
    Basically iTunes feeds AppleTv with media either syncing (copying to it) or streaming live.
    Media must be compatible with AppleTV.
    AppleTV requires a proper iTunes instance running - it cannot access a NAS directly.
    If you store media in a folder on a NAS and it's part of the computer iTunes library (just stored on the NAS vs internal/external drive), then when running iTunes makes this content available to AppleTV.
    Data will travel:
    NAS > network > iTunes > network to AppleTV
    As the path is potentially slower than internal/external attached drive > iTunes > network > AppleTV, it may or may not work robustly for streaming.
    If AppleTv is set to sync (it can also stream in this mode), when you purchase direct on AppleTV, the media should sync back to where the itunes library is stored (via iTunes) to keep things in sync and to allow you to backup the media.
    You cannot drag/drop media to/from AppleTv across the network, nor can it directly access storage itself - iTunes is an essential cog in the wheel.
    The majority of commercial 'in-built iTunes media servers' will not work directly with AppleTV as it has to be 'paired' with iTunes by entering a numerical code in iTunes and does not simply see 'shared libraries'.

  • View/table V_T682 can only be displayed and maintained with restrictions

    Hi friends,
    When I want to displaying for V_T682 table  from  SM30 tr.code , it gives me about error "  View/table V_T682 can only be displayed and maintained with restrictions". I think ,this table's maintenance status is  marked as  display/maintenance allowed with restrictions on SE11. So, how I can display the this table from sm30 tr.code.(Note: I have only displaying authorization)

    Hi Lakshmipathi
    I already knowing to execute the tables from se16 tr.code,  My aim is to displaying the customizing view.(Note: I have no authorization for SM34 tr.code.)
    Edited by: kaiz34 on Sep 20, 2010 4:51 PM
    Edited by: kaiz34 on Sep 20, 2010 4:52 PM

  • View/table Ztable can only be displayed and maintained with restrictio

    Team,
    I am getting this error when I enter my table in SM30 and click on either -No Restrictions; -Enter conditions. (I already created Table Maint. for it.)
    Error:
    "View/table ZTABLE can only be displayed and maintained with restrictions"
    I deleted and recreated but the error is still there. What could be the reason for the above error.
    Thanks

    Hi,
    Try this..
    Goto SE11 give the table name goto change mode
    then click on DELIVERY MAINTANCE TAB
    then select option data browser/table maintance allowed as 'DISPLAY?MAINTAINCE ALLOWED.
    this will work
    Thanks,
    Naren

  • Imac works well with ethernet not with wireless - although my other imac work fine w the wireless

    imac works well with ethernet not with wireless - although my other imac work fine w the wireless?  do i have a prob with a wireless card?

    Are the computers in the same place?
    You can look around for wireless networks. See:
    iStumbler - 98
    find AirPort networks, Bluetooth devices, Bonjour services
    http://www.versiontracker.com/dyn/moreinfo/macosx/17572
    >USB dongle
    Newer Technology MAXPower 802.11g/b Wireless USB 2.0 Stick Adapter $15.99 http://eshop.macsales.com/item/Newer%20Technology/MXP2802GU2/ 
    Newer Technology MAXPower 802.11n/g/b USB Adapter. The easiest way to add Wireless Connectivity to ANY computer! 'n' speed is the newest and fastest. $29.99 http://eshop.macsales.com/item/Newer%20Technology/MXP802NU2C/

  • Booting with mode CLI and not with the console.

    hi,
    On a SF300-08, is anybody knows how to work with CLI and not with the Console Menu Interface ?
    Thank you for your help.
    Pascal Linglin

    Hi Pascal.
    Firstly make sure your switch is using the most recent firmware, which is now as of yesterday  1.1.2.0 .
    When that firmware is running on the switch,  a textview CLI option should be seen on the main menu as per the following screen capture;
    to get back to the menu, just type menu from the cli interface.
    Hope i answered your question?
    regards Dave

  • In User groups user name is shown as ADLDSMembershipProvider:UserID and not with First & Last Name

    Hello,
    In SharePoint site Groups for some users, user name is coming up with ADLDSMembershipProvider:UserID and not with the correct first name and last name. 
    Can some one please advice how i can get the correct first name and last name for the users, below screenshots for your
    reference.
    Please advice.
    Regards,
    Purvish Shah

    Hello,
    What version of sharepoint you are using?
    It seems that you have also configured custom membership provider with AD LDS. To verify this go to central admin and check the web application properties to confirm what auth method is being used.
    Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • View/table v_fagl_activec can only be displayed and maintained with restric

    Hi,
    When i required to activate a New G.L in ecc.6.0.I am getting following error while activating.
    view/table v_fagl_activec can only be displayed and maintained with restrictions.
    Please guide me
    Thanks and Regards
      RAVi

    From se11's Delivery and Maintenance tab check out Data Browser/Table View Maint property. Make it without any restrictions.

Maybe you are looking for

  • IBook is not working right on IPad and iPhone!!!

    Why don't the Ipad Mini don't highlight words all the time. When  I click on a word I want to highlight or a word that I want to define or a word that I want  to post on Facebook the IPhone5 or Ipad Mini  want do those kind of thing it only do it whe

  • Email Func:BCS Classes-Customizing the sender and receiver

    Hi All, In my functionality previously, I used FM 'SO_DOCUMENT_SEND_API1' wherein I can freely customized the sender and recipient.  But I need to change it to BCS class due to 50 character limitation in Subject. Please see thread Email Functionality

  • Reset/Clear Number Format

    Hi, I have used my phone overseas with a USA sim card. Now when I text some people in Australian (from Australia) the phones persists in using the USA number format for text messages - as a result they do not sent I tried using the overseas sim card

  • Read large binary file

    How would you read a large binary file into memory please? I had a thought about creating a Byte Array on the fly, however you cannot createa byte array with a long so what happens when you reach the maximum value an integer can store?

  • UCCX 7.0 license with ICM feature

    Does anyone have the UCCX 7.0 license with 7.0 features? Thanks in advance AmIr.