How to use operator in the filter

Dear gurus,

I have a file to RT interface. As a condition of filter, I used the below code (like): -.

ARG. CENTRE_CODE_COLUMN = IN (select center_code from table_center_codes; )

but he throws ORA-00936: missing expression error.

What should do? Please notify.

At least please let me know how I'm going to implement my requirement? My requirement is: -.

Suppose that the file Src must filtered based on its center code value AA, BB, CC, DD, EE, etc.

IE ARG. CENTRE_CODE_COLUMN= 'AA' OR CENTRE_CODE_COLUMN arg= 'BB' OR CENTRE_CODE_COLUMN arg= 'CC '.

Rather than use this long code I stored these AA, BB... ValRech (filter value Codes) in a separate table table_center_codes.

and use the code ARG. CENTRE_CODE_COLUMN = IN (select center_code from table_center_codes; ) IE tried to get the value of filter condition

dynamically from the table_center_codes table.

But it fails.

Thank you

Papai

NB:- Please LET ME KNOW YOU HAVE ANY CONFUSION about the REQUIREMENT.

Perez,

Try this

ARG. CENTRE_CODE_COLUMN IN (select center_code from table_center_codes)

You cannot use IN and all.

Agostinho

Tags: Business Intelligence

Similar Questions

  • What is the differene between the operation of the filter and NL semi join?

    Hi all.

    The oracle is gr 10, 2 and 11 GR 2.

    There are differences between the operation of the filter and the HASH/MERGE semi join in the treatment of subqueries.

    But I couldn't see the difference between the operation of the filter and NL semi join?
    (the only thing I know is that the operation of the filter mechanism has cached, but I'm not sure if semi NL)

    What are the advantages and disadvantages of each of them?

    Thanks in advance.
    Best regards.

    >
    The oracle is gr 10, 2 and 11 GR 2.
    >
    These are not "version. What are the 4-digit versions?
    >
    There are differences between the operation of the filter and the HASH/MERGE semi join in the treatment of subqueries.
    >
    What is? When you make a statement like this post the information (and links) that backs up your statement.
    >
    But I couldn't see the difference between the operation of the filter and NL semi join?
    (the only thing I know is that the operation of the filter mechanism has cached, but I'm not sure if semi NL)
    >
    We cannot 'see the difference' you don't has not post anything to watch us.
    >
    What are the advantages and disadvantages of each of them?
    >
    Each of what? Again - it must be as specific as possible if you want specific comments.

    In addition, given that you should generally not use indications in production in any case code what does what are the differences? Oracle will make the choice.

    Without something specific to comment on everything that we can do is provide several links that talk about joins and how to produce and review them. These are all notebook of Jonathan Lewis:

    http://jonathanlewis.WordPress.com/?s=semi-join
    http://jonathanlewis.WordPress.com/2010/12/20/index-join-4/
    http://jonathanlewis.WordPress.com/2010/08/15/joins-MJ/--Les merge joins
    http://jonathanlewis.WordPress.com/2010/08/10/joins-HJ/--Les hash joins
    nested loops http://jonathanlewis.WordPress.com/2010/08/09/joins-NLJ/--joings
    http://jonathanlewis.WordPress.com/2011/06/08/how-to-hint-1/--comment tip for joins

    Check out these articles. Pay attention to how, in each of them, it does not provide only a text description but also provides the code and explains the code.

    In other words, it provides information specific to illustrate what he is talking about. That's what you need to do if you need help with a specific topic: provide the query plans and output that you use as the basis for your question. Allows us to see EXACTLY what you're talking about.

  • How to use paper in the latest version of Windows Live Mail?

    How to use paper in the latest version of Windows Live Mail?

    Version 2011

    Short answer: the stationery support has been removed from Windows Live Mail with the upgrade of v.2009 v.2011 back in 2010.

    Long answer: there are two solutions of workaround that you can try.

    • If you have a stationery .htm file, open it in Internet Explorer, and then select file > Send > Page by email (Alt - F E P). Save the message as a result as a .eml file and use it as a model for messages.
    • You can get in shape, for example a background color, to a HTML signature, then apply this signature to an e-mail message. Here's the one I use when sending pictures:


      Hello!

      Love
      Noel


      Here is the result:

  • How can I set up the filter to just show me videos?

    How can I set up the filter to just show me videos?  Thank you!!

    HI Timothy Drury,

    If you know the file extension, you can apply the text filter, or you can sort the files by file type.

    Concerning

    Sarika

  • JavaFX how to use WebView load the local HTML page?

    JavaFX how to use WebView load the local HTML page?

    If the HTML code of the files in the class path, which is in the package, the load using one of the following ways:

    String url = Main.class.getResource("/html/index.html").toExternalForm();
    engine.load(url);
    

    The above methods can only load files outside the class path!

  • How to use PS to judge the existence of a file in the directory specified and how to use PS to the directory specified for create to create the file? (javascript)

    1, how to use PS to judge of the existence of a file in the specified directory? (using javascript)

    2, how to use PS to the directory specified for create to create the folder? (using javascript)


    Thank you!

    If (Folder(/*_insert_the_path_here_*/).exists == false) {Folder(/*_insert_the_path_here_*/).create()}

  • How to use photoshop with the same account on more than one laptop?

    How to use photoshop with the same account on more than one laptop?

    a single user license entitles you to two facilities simultaneous/activations.  so, what's the problem?

  • How to call SQL in the filter condition

    Hello

    Booking dashboard report, I need filter order_date between this quarter beginning date and this date of end of quarter.
    I customized data are available from quarter to quarter end date.
    How do I use the filter.

    Thank you

    Looks like you need filter the date of the order between the start of quarter and the ending quarter by ensuring that order dates is always present between the quarter start date and the date of end of quarter

    Create a report of sub with a column of order date and order date is invited.

    So now, in the report main use filter option advanced and

    Take the quarter start date column and use the advanced on this filter option. Use the results to filter based on another request. You can specify the quarter start date is greater than the date of the selected order (order reporting date column)

    and

    Take the quarter end date column and use the advanced on this filter option. Use the results to filter based on another request. You can specify the quarter end date is less than the date of the selected order (order reporting date column)

    In this way, you can force the order date always between the date of beginning of quarter and quarter end date columns

    It may be useful
    Thank you
    Prash

  • How to use and control the tabs?

    Sorry for such a general question, but I use Firefox with older versions of Mac OS x for years and have just been struck by this brand new and I have no idea on your tabs, "new tab page" etc. Can you just send me some documents so I can understand what they are and how to use them?

    All I see on my headers Ff are all sorts of legs that have no relevance to me, like 'how to stop Firefox from... '. "(twice), a few other symbols Ff and other"tabs"I don't know everything." All the do is filling up a bar line.

    Thank you-

    You are welcome.

    If you have any other questions feel free to ask them.

  • How to use notes during the writing of my book with pages?

    How are used to write a book with pages of notes?

    You need the Apple EndNote plug-in for Pages v2.0and the EndNote 7.3.4 application (or later version) installed for compatibility El Capitan. With the plug-in installed and EndNote works, then you start Pages v5.6.1 and the Insert menu: reference EndNote is available for use. Launch Pages v5.6.1 prior to 7.3.4 EndNote and endnote reference entry in the Insert menu is not active.

  • How to use PersistentBitmap in the version 5.0 or any other method?

    I am completely unaware of an example of use of PersistentBitmap and am also not sure if it can be used in 5.0 but anyway, I extract the code next, I received, could someone advise me on how to use it?

    I have several images I want to stay put on the BB, even after a hard reboot. Links or advice is welcome! Thank you

    {classPersistableBitmapimplementsPersistable}
    int width;
    int height;
    int [] argbData;

    publicPersistableBitmap (Bitmap image) {}
    width = image.getWidth ();
    height = image.getHeight ();
    argbData newint = [width * height];
    image.getARGB (argbData, width, 0, 0, 0, width, height);
    }

    publicBitmap getBitmapImage() {}
    Bitmap image = newBitmap (width, height);
    image.setARGB (argbData, width, 0, 0, 0, width, height);
    return image;
    }

    The link below points to the documentation on the use of persistent store.  Take a look and let me know if you get stuck.

    https://bdsc.webapps.BlackBerry.com/Java/documentation/ww_java_datastorage/PersistentStore_intro_198...

  • How REGEXP_REPLACE used to replace the part of the string?

    Hello

    How can I replace the portion of string as follows, I want to replace the space as by ' - '.

    SELECT
    REGEXP_REPLACE (superior ("' Laura bought stuff from 2000 USD on 12 September 2012 to KL and kl left on September 20, 2012"),)
    ' [0-9] {1,2} [^ 0-9](JAN|) FEB | MAR | APR | JUN | JUL | AUG | MS | OCT | NOV | DEC) [^ 0-9] [0-9] {4}',
    (','-') "REGEXP_REPLACE.
    FROM DUAL;

    the output will be like this

    Laura bought of the stuff of 2000 USD on 12-Sep-2012 of KL and kl left on 20-Sep-2012

    concerning

    Something like that?

    SELECT
    REGEXP_REPLACE('Daivd bought stuff by 2000 USD on 12 Sep 2012 from KL and left kl on 20 Sep 2012',
    '([0-9]{1,2}) (JAN|FEB|MAR|APR|JUN|JUL|AUG|SEP|OCT|NOV|DEC) ([0-9]{4})',
    '\1-\2-\3',1,0,'i') "REGEXP_REPLACE"
    FROM DUAL;
    

    Explanation:

    You group the parts of the date de-construct with (additional).
    You can use expressions, backreference \1 \2 \3 and add '-' between \1-\2-\3 signs.

    You should not user upper ('...') in the first parameter. If you cannot recover the original state of the letters.
    If you want to case-insensitive matching you should use 'I' in the last parameter of regexp_replace.

    http://docs.Oracle.com/CD/B19306_01/server.102/b14200/functions130.htm

    Published by: hm on 25.09.2012 00:38

  • How to use setFireActionForSubmit with the settings and capture the parameter

    Hello

    Can someone explain how to use setFireActionForSubmit.

    I extend the ShoppingCartPG controller. In the extended controller processRequest method I am adding a button to the table and implementation of the setFireActionForSubmit, so when the button is pressed it triggers the setFireActionForSubmit event.
    I need to pass the RequisitionLineId as a parameter which is present in the t associated with the ShoppingCartPG.

    I used the following code in the processRequest
    =================================
    ' public void processRequest (OAPageContext paramOAPageContext, OAWebBean paramOAWebBean)
    {
    super.processRequest (paramOAPageContext, paramOAWebBean);
    OATableBean otbRN = (OATableBean) paramOAWebBean.findIndexedChildRecursive ("ItemTableRN");
    OASB OASubmitButtonBean = (OASubmitButtonBean) paramOAPageContext.getWebBeanFactory () .createWebBean (paramOAPageContext, "BUTTON_SUBMIT");

    oasb.setID ("addnInfo");
    oasb.setUINodeName ("addnInfo");
    oasb.setText ("additional information");

    String pageName = paramOAPageContext.getRootRegionCode ();
    Hashtable params = new Hashtable (1);
    params.put ("param1", pageName);

    Hashtable paramsWithBinds = new Hashtable (1);
    paramsWithBinds.put ("param2", new OADataBoundValueFireActionURL (OASB, "${oa.encrypt.current.RequisitionLineId}"));
    oasb.setFireActionForSubmit ("addnInfoEvent", params, paramsWithBinds, false, false);

    otbRN.addIndexedChild (oasb);
    }
    =================================

    And I capture the event "addnInfoEvent" in processFormRequest method and trying to capture the RequisitionLineId I the past as a parameter.
    This is the code that I used in processFormRequest.
    =================================
    ' Public Sub processFormRequest (OAPageContext paramOAPageContext, OAWebBean paramOAWebBean)
    {
    super.processFormRequest (paramOAPageContext, paramOAWebBean);
    OAApplicationModule localOAApplicationModule = (paramOAWebBean) paramOAPageContext.getApplicationModule;

    String strEvent = paramOAPageContext.getParameter (EVENT_PARAM);

    If ("addnInfoEvent".equals (strEvent))
    {
    Number format = 0;
    try {}
    Format = new Integer (ClientUtil.getDecryptedParameter (paramOAPageContext, "param2"));
    }
    catch (System.Exception e) {e.printStackTrace () ;}

    String outmsg = "line ID:" + size + ":" + strEvent;
    throw new OAException (outmsg, OAException.INFORMATION);
    }
    }
    =================================

    But I'm not able to capture the RequisitionLineId I sent as a parameter.
    Can someone let me know what I am doing wrong.

    Hello

    Because your table is not a tip so table using a submit button approach will not work because it won't give you rank of reference and you will not be able to enter the id of the corresponding command line, instead you use an icon of the image, which can be created through customization. Let me know if you need help in the code.

    Thank you
    Pratap

  • How to use profiles for the metadata tab in window of Contribution

    Hi Experts,

    Is it possible to use profiles in metadata tab Contribution. ??

    I want each payable region must have its own profile. For, for example, if the user will pay company information, then the metadata tab should show only metadata related company, not other meta data that are not relevant here.



    Help, please

    I thought you said you knew how to use/create profiles in your previous post...

    It's the quick rundown: like the regular profiles, you will first need to make sure your content has the metadata field to trigger profile assigned when it is created. This is done in designer under the definition of "Changing the content of the region" in your area of contribution. Assign the "value of trigger to profile" under "Default metadata" and then as idoc to the activation of your profile content rule condition.

  • How to use HTML in the JavaFX controls?

    JavaFX supports using HTML in the text of the JavaFX controls? For example, in the Swing components:

    button = new JButton("<html><font face=arial size=16><center><b><u>E</u>nable</b></font><br>"
      + "<font face=cambria size=12 color=#ffffdd>middle button</font></html>");
    

    If not, we could find a workaround?

    Incorporating a WebView in a label for the HTML rendering


    A WebView is a node that displays HTML.

    Most of the controls implement labelled, or have elements that are labeled.

    One labeled has a method setGraphic (node) that allows you to establish the chart attached to the label of a node given (including a WebView).

    For example:

    WebView webview = new WebView();
    webview.getEngine().loadContent("
    Enable
    middle button"); webview.setPrefSize(150, 50); Button buttonWithHTML = new Button("", webview);

    need to create a button with html in there (I didn't actually try running the example above).

    Aside time to start relatively slow on first use and overhead costs (which I can't quantify) to use WebView in this way, there are a couple of jira exceptional applications that are a bit annoying.

    RT-25004 allow transparent backgrounds in WebView

    RT-25005 favorite auto sizing for WebView

    You can vote for applications above jira or comment if such a feature is important to you.

    FXML/TextFlow/CSS Alternative

    Rather than using html in the labelled, TextFlow control support was introduced in Java 8, so that could be used instead.

    TextFlow also works well with FXML and css if you prefer to have the stuff in the TextFlow handled via a markup and a declarative style language.

    Open feature request

    There is a feature open request RT-2160 HTML support for text , which is currently scheduled for implementation in the initial release of Java 8.  I think the likelihood of it actually included it is zero percent, if it can be considered for a future version.  You can vote for the issue or add comments to it or provide an implementation if you are so inclined.

    Implementation considerations

    A possible implementation would be something that analyzes the HTML and then built a TextFlow HTML parsed according to the rules that are set out laborious mind-numbing detail in the specification HTML5 treatment.

    You can use an HTML parser relaxed such as the analysis of validator.nur (even though there may be others who would be a better fit).

    A simple implementation would be just to use the Analyzer in the jdk that is used for the swing controls, but that is hopelessly outdated.

    Perhaps, even simpler would be to accept only html strict entry and just use SAX to parse out, although things like validator.nu are too difficult to work with.

    Then, to the limited number of analyzed tags that you want to support (and you don't want to really not compatible with HTML5 all for something like this - otherwise use just WebView), create your TextFlow of the DOM who created your Analyzer.

    I wouldn't even both trying to handle most of the things in your html string in your application, stuff to do with style, fonts, colors, etc. These things were never in any case any good html and css is better for their handling, so just support things commonly used in modern day regular html (take a look at the HTML source "bootstrap" for example to see what it might be - if bootstrap uses her, I don't think not that you support it).  Things will support you are things around structure of document as lists, headings, etc. div blocks and cover the nodes - so only to implement this kind of important things and delegate all the rest to css where it belongs.

    Also, make sure that your implementation is part of the FXML so that you can easily integrate your html subset in a doc FXML.

Maybe you are looking for