Unable to use IN clause with omniportlet

I am attempting to use a stored procedure with omniportlet. I have put together an IN clause in my sql statement that will not work. I think it is because of the way omniportlet handles tics, or something.
I had a similar post on using an ORDER BY with omniportlet that I suspect is a related error.
I am trying to use omniportlet, but I must confess that I am not very impressed. The SQL part of omniportlet leaves a lot to be desired.
Does anyone know when there will be a new version?

Thanks for your response. Do you know if the new portaltools/omniportlet contains the fix for the problem in this thread? I have an open tar and I know there is a bug report on it, just don't know status.
need help using stored procedure with omniportlet
I try to use an IN clause like this ('item1','item2','item3'). If I type it in, it works. I am feeding it via a picklist from a dynamic page. If I choose 1 item, it works. If I pass more than one item and try to build my string in the stored procedure for the IN to use, I can't get it to work. I have tried creating a list with the tics and commas, leaving off the first and last tics and just using the ones in the rest of the string.
NOTHING WORKS. I have an insert inside my stored procedure that puts the string I am building inside a test table, so I know what I am using works in SQL/PLUS. Just not omniportlet. I suspect it is the same kind of problem referenced in the above url.
There is a bug with using omniportlet when your IN clause is a variable.

Similar Messages

  • Unable to use IN clause with SQLJ

    Hi,
    i need to use the IN clause in my SQLJ sql. for example: #sql
    { select p.customer_name from customers p where p.state IN ('IL','MI','CA') };
    The above works, but when i try to pass in an array param
    #sql
    { select p.customer_name from customers p where p.state IN (:arr) }; - where arr is an array, this does not work. Later i understood that since IN is a keyword, this will not work. Is there any fix or workaround for this ? i dont want to embed SQL as a string in my java code ? Any suggestions will be greatly appreciated.
    Thanks in advance,
    Geetha

    Geetha,
    This question is asked with incredible frequency on JDBC/SQLJ related newsgroups, forums and similar Web sites (even on Ask Tom).
    As far as I know, what you wish to do is not possible. The best you can do is something like this:
    select p.customer_name from customers p where p.state IN (?,?,?)But please, don't take my word for it, search the Internet for other possibilities.
    Good Luck,
    Avi.

  • I have a Macbook with OS X 10.5.8. I am unable to use my iPhone with the iOS 6 upgrade on iTunes.

    I have a Macbook with OS X 10.5.8. I am unable to use my iPhone with the iOS 6 upgrade on iTunes.  Apparently I cannot downgrade to iOS 5 on my iPhone. Please tell me I don't have to pay anything to be able to use my products......

    Which version of iTunes?
    iTunes 10.6.3 - http://support.apple.com/kb/DL1575
    Unless this is a new iPhone 5 I believe the older ones will work with iOS6 and iTunes 10.6.3.  If it won't, you will need to upgrade operating system version.

  • I am unable to use my keyboard with out a delay, how do I fix this

    I am unable to use my keaboard with out a delay. How do I fix this?

    when just using safari to watch streaming television, my computer gets really slow, and locks up, and the dock appears blank
    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, or by a peripheral device. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output andWi-Fi on certain iMacs. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Unable to use 'copy' feature with registered version of quicktime pro.

    Hi.
    I have a registered version of Quicktime pro (7.1.6), and i am unable to use the copy feature. I captured several videos from work using a windows box and an application whose name escapes me at the moment. Due to the windows app being garbage, i was only able to capture in MPEG1 format (MPEG2 caused the app to crash, of course). I have brought the files home and am now unable to copy selections of it for exporting into smaller files. I can highlight lengths of the video (no audio, just video) but the 'copy' feature is grayed out still. Any ideas on what is causing this? The video format is as follows:
    MPEG1 Muxed, 640 x 480
    FPS: 29.97
    Data rate: 4066.42 kbits/sec
    I'm running 10.3.9, but have also had no success on a 10.4 macmini, so the OS doesn't seem to be the issue.
    I'm trying to get this video into imovie, but since it's over 600 megs, imovie cops out after a few hours and says it can't import it.
    Help?

    Not all multiplexed videos come with AC3. They don't have to have audio in the first place. Some of them come with Linear PCM, which is the case for iDVD's VOB files, and MP2. If a multiplexed video is equipped with AC3, you are right, and the resulting modified sub-clip won't contain audio. But if it's Linear PCM or MP2, the edited sub-clip will contain audio.
    I'm finished with this case.
    Message was edited by: Horror in Oklahoma

  • How to use in clause with variable elements with a prepared statement?

    Is there any way to use a prepared statement for a query which incorporates an in clause with unknown number of elements in the list?
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Iraj ():
    Is there any way to use a prepared statement for a query which incorporates an in clause with unknown number of elements in the list?<HR></BLOCKQUOTE>
    Sorry, can't be done. The PreparedStatement is precomplied, so you can't have variable number of params or unknown number of elements in a list.

  • Unable to Use Star Rating With JPG

    I have been unable to use the star rating with a certain batch of jpgs. I am able to use the star rating with dng files, and other jpgs, but there is a batch that I got off of my friends computer that I am unable to use the star rating with. I have tried clicking on the stars, and also through the label tab, but nothing is working.  Its really annoying because rating the pics is part of my workflow and I want to get these picture done.
    I'm using CS5 on a Mac running 10.6.8

    but there is a batch that I got off of my friends computer that I am unable to use the star rating with.
    Still strange things going on in the digital world...
    Recently I had the same with jpeg from other (to me unknown) sources. I managed with opening in PS and again save as max quality (not ideal but it worked). Those were only a few files.
    You might first try a few files to open and close in PS, if no luck make a duplicate (select some files for testing and with right mouse click choose duplicate) try those first. If still out of luck try the open and save as option. If this is the only solution the you can create a temporarily  action for this in PS (don't change the filename when in save as but leave it untouched and choose a new folder for destination so you won't loose the originals). When in Bridge select the files for the action, choose tools/photoshop/batch and run the action, piece of cake.

  • Unable to use iphone 4s with sony ICFCS10ip

    I am unable to use my new iphone 4s with sony ICFCS10ip dock speakers.
    My old 3gs phone works with it. Can anyone help with this issue.

    BELOW IS THE RESPONSE FROM SONY.....
    Thank you for contacting Sony Support.
    I'm sorry to inform you that the Sony FM/AM Clock Radio is not compatible with iPhone4S. Also, at present there is no update available for the Clock Radio which will make it compatible with iPhone4S.
    Thank you for your time.
    I AM DISAPPOINTED. Apple can get away with anything because of a lacking Android OS and its apps!

  • Using RETURNING clause with Execute Immediate

    I wrote a query to update a table and return the column in to a nested table type variable using returning clause but its not working I am getting error like
    ORA-06550: line 66, column 22:
    PLS-00306: wrong number or types of arguments in call to '||'
    ORA-06550: line 66, column 4:
    PL/SQL: Statement ignored
    I am getting error in following part of my query
    || 'RETURNING if_row_status bulk collect INTO '
    || v_if_row_status;
    v_if_row_status is defined as -
    TYPE v_count IS TABLE OF varchar2(50) INDEX BY BINARY_INTEGER;
    v_if_row_status v_count;

    I am trying to update a table for diffrent column if they are null and want no of column updated for each column.
    I wrote following query but I am not getting the correct output.
    UPDATE
    Temp_Bulk_Col_POC
    SET if_row_status = 'VALIDATED',
    if_row_processed_date = sysdate,
    if_row_error_msg =
    CASE
    WHEN record_type IS NULL
    THEN 'RECORD_TYPE is a required column and cannot be NULL'
    WHEN source_system IS NULL
    THEN 'SOURCE_SYSTEM is a required column and cannot be NULL'
    WHEN record_company IS NULL
    THEN 'RECORD_COMPANY is a required column and cannot be NULL'
    WHEN record_system IS NULL
    THEN 'RECORD_SYSTEM is a required column and cannot be NULL'
    WHEN txn_flag IS NULL
    THEN 'TXN_FLAG is a required column and cannot be NULL'
    WHEN create_date IS NULL
    THEN 'CREATE_DATE is a required column and cannot be NULL'
    WHEN UPDATE_date IS NULL
    THEN 'UPDATE_DATE is a required column and cannot be NULL'
    WHEN source_customer_id IS NULL
    THEN 'SOURCE_CUSTOMER_ID is a required column and cannot be NULL'
    WHEN source_product_id IS NULL
    THEN 'SOURCE_PRODUCT_ID is a required column and cannot be NULL'
    WHEN az_product_id IS NULL
    THEN 'AZ_PRODUCT_ID is a required column and cannot be NULL'
    WHEN decile IS NULL
    THEN 'DECILE is a required column and cannot be NULL'
    END
    WHERE if_row_status IS NULL
    AND (record_type IS NULL
    OR source_system IS NULL
    OR record_company IS NULL
    OR record_system IS NULL
    OR txn_flag IS NULL
    OR create_date IS NULL
    OR UPDATE_date IS NULL
    OR source_customer_id IS NULL
    OR source_product_id IS NULL
    OR az_product_id IS NULL
    OR decile IS NULL)
    RETURNING if_row_status,record_type,source_system,record_company,record_system,
    txn_flag,create_date,UPDATE_date,source_customer_id,source_product_id,az_product_id,
    decile
    BULK COLLECT INTO
    v_if_row_status,v_record_type,v_source_system,
    v_record_company,v_record_system,v_txn_flag,v_create_date,v_UPDATE_date,
    v_source_customer_id,v_source_product_id,v_az_product_id,v_decile;
    its showing same number for all the column.
    how I can collect based on the coulmn updated

  • USING BETWEEN CLAUSE WITH 'IN'.

    Can I use between function with IN.
    Example.
    select a.* from emp a, dept b
    where a.deptid=b.deptid
    and a.deptid in (
    a.deptid between '122' and '199', '330'
    Actually its giving an errorr
    ORA-00907: missing right parenthesis*

    This is not a correct syntax. Use multiple between condition with "OR".
    Regards,
    Vidya.

  • HP Pavilion 23-b320 All-in-One Desktop PC unable to use cyberlink youcam with skype

    I can not get Cyberlink YouCam to work with Skype.. CyberLink software has been registered and upgraded.

    Hi,
    For the issue of your CyberLink You Cam not working with Skype. To confirm is the WebCam able to work with other program? I have also included two documents for you. The first one is 'How do I use CyberLink YouCam with my Skype?'. This will make sure that the settings are correct. The second one is a thread on the Skype forum with some excellent troubleshooting 'CyberLink YouCam'.
    Please let me know if this helps, thank you.
    I worked on behalf of HP

  • Unable to use Page clause in EQL Endeca 3.0

    Hello All,
    I am trying to map Top 25 most visited locations from the data I have. I wrote following query which has correct syntax but I am unable to get the Top 25 results. When the query get processed I am getting following warning:
    Query: RETURN Test AS
    SELECT COUNT(RecordNumber) as Times_Visited,
    LONGLAT as LATLONG
    GROUP BY LATLONG
    Order By Times_Visited Desc
    Page(0,10)
    Result:
    Query processed successfully (with warnings).
    Warnings encountered while processing the EQL query:
    This implementation manages sorting based on user input. Any ORDER BY clauses in the EQL query will be discarded and ignored.
    This implementation manages paging and page size based on user input. Any PAGE clauses in the EQL query will be discarded and ignored.
    I have disabled the End user sort options End User Controls, any hint will be helpful.
    Thanks,
    Edited by: 950330 on Jun 4, 2013 4:25 PM

    I have seen in Apple Support Forum that you have the same problems with Audiosuite Plug Ins like me. Allways crashes with Autotune, Vocal align and Speed and others in Audio Suite. Logic is a terrible program.
    Do you have a solution for me. The only solution I have is to change to MOTUs digital performer. I had to use Logic cause I need Real Guitar. Realguitar doesn't work with my Protools HD2 under PT 6.9. and 7.1. I tried to use FXpansions VST to RTAS wrapper, but this hack doesn't work with complicated plugIns only with simple ones.
    Since Apple bought Emagic I have problems. I was friend with the main programmer of Logic in Hamburg. Since Apple is the owner there is no personal contact anymore, no good support, nothing. I don't need the logic synthesizers, samplers and plugins. They are all terrible in sound. I have all importend plug ins in TDM, RTAS, AS - so why logic? For Scores I use Finale.
    And if someone like me or you will have a solution for the AS problem there is no one to help you anymore.
    Yours
    Horst
    (nickname "mindmusic" - in apple support forum)

  • [SOLVED] Unable to use SUDO: issues with /etc/sudoers

    I have reinstalled Arch_64 and I have run into some problems with SUDO.
    I get the following errors when I try to use sudo:
    sudo : unable to stat /etc/sudoers : Permission Denied
    sudo : no valid sudoers sources found, quitting
    sudo : unable to initialize policy plugin
    Here's what I have done with it so far:
    * I added USERNAME (myself) to the 'wheel' group
    * I uncommented %wheel ALL=(ALL) All using visudo
    As it was not working for me I also:
    * # chown -c root:root /etc/sudoers
    * # chmod -c 0440 /etc/sudoers
    * Since that too did not work, I recommented %wheel and added USERNAME ALL=(ALL) ALL just under the line root ALL=(ALL) ALL and repeated the above steps. The above problem persists.
    * I checked with visudo -c and it says "/etc/sudoers parsed ok".
    I have been through the WIKI and the forums but still unable to figure out whats going wrong.
    I will appreciate if the forum can guide me to solution and help me resolve this issue.
    Thanks.
    Last edited by fantab (2012-11-20 09:00:56)

    Had exactly the same problem with a new Arch_64 install a few months ago, which turned out to be a problem with permissions on / (which i changed with chmod) - can't remember the details, but it was this post that put me on to a solution:
    http://archlinuxarm.org/forum/viewtopic … =20#p19727

  • I'm unable to use the domain with a .uk domain suffix with 2012 essentials

    I'm trying to link a domain I wish to use in office 365 to the essentials server but I receive "The domain name is not valid"when going through the "link domain to Office365" wizard, I also receive the same error when running through
    the anywhere access wizard, but I expect fixing one would fix the other.
    The domain in question is using the .uk domain which is a fairly new TLD
    I have tried the solution proposed here:
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/681176de-ae82-4689-a2a1-923895ba6389/anywhere-access-domain-ltduk-causes-the-domain-name-is-not-valid-error?forum=winserveressentials 
    But I then get the error "Unable to check for domain" when running either wizard
    Any one have any ideas on this?

    My advice would be to use the free *.remotwebaccess.com domain name with the RWA wizard, and then setup a forwarder on your custom domain to the RWA page.
    Robert Pearman SBS MVP
    itauthority.co.uk |
    Title(Required)
    Facebook |
    Twitter |
    Linked in |
    Google+

  • Using where clause  with like

    Hi all,
    im trying to set a block default where clause in the pre-query trigger of my block "customer_settlement" , to query the records that exist in a customers table like this, where the customer_name is variable based on the value entered by the user in enter-query mode before hitting the F8 key , the statement is :
    set_block_property( 'customer_settlement' , default_where ,
    ' fk_cust_code in ( select customer_code from customers where customer_name like %' || :customer_settlement.customer_name ||'% )' );
    the query doesnt work and giving me an error " unable to perform query" , notice that :customer_settlement.customer_name is an item in the block , the user change it and would like to query upon it , and its not a base table item on customer_settlement block its on customers table only . I tried all combinations of '%' and || but it seems that oracle can't see the value In the customer_name field.
    any help is highly thanked.
    im using Oracle form 9.0.4 and Oracle 10g Db.
    Regards,
    IKQ

    Hi,
    does this work ?
    set_block_property( 'customer_settlement' , default_where ,
    ' fk_cust_code in ( select customer_code from customers where customer_name like '''%' || :customer_settlement.customer_name ||'%''' )' );
    Frank

Maybe you are looking for

  • How to make a bean create an xml file..

    How does one create an xml file from a bean? If anyone have the answer, or some sample code I would really apprecciate it!!! In advance thanx a lot!!!

  • Setting up multiple email accounts

    I have already an email account on iCloud and a separate email address with Demon, another ISP.  I wish to stop using this ISP and create an additional email account with my iCloud account - if that is possible?  But how?

  • Schedule agreement

    Hi, When I work with any document type being a plant to plant document there is no output generated and when the delivery date in transaction ME38 is changerd it automatically updates the Statistical delivery date. Is there a way to have the Statisti

  • Does an AP reboot if you change the WLANs in an AP Group?

    When you create an AP Group and then assign an access point to that AP Group, you have to reboot the AP. What if you edit an AP Group?  Do the APs automatically reboot, or do you need to do it manually or even better, not at all? I can't see to find

  • Can't create custom task

    Dear all, i have created new class object A and method B. it was already activated. now i want to create standard task, i choose ABAP class for object category and choose class A for object type, but when i input method B for method there is an error