How to use 'LIKE' operator/substr/instr with if condition?

Hello

How to use 'LIKE' operator/substr/instr with if condition?

I can use the following function:
<? xdofx:InStr('ssStatus','Open',1) = '0'? >
which returns true or false depending on ssStatus as Open *.

But when I try to use <? If: xdofx:instr('ssStatus','Open',1) = '0'? > calculating <? end if? >

It gives an error.

Any suggestion? OR a solution?
Thank you.

Published by: user12427117 on March 10, 2011 20:42

Published by: user12427117 on March 10, 2011 20:46

You can try to use

0? >

Use contains to AS

Tags: Business Intelligence

Similar Questions

  • How to pass the variable in the lov using like operator SQL

    Hello.
    I want to use a lov I pass a variable using like operator.
    my query is
    Select empno, name of the table where empno as ': ed %';

    I want to show a % or B empno % so my empno is A001 to A199 AND B001 to B199
    How can I do this?


    regards

    Set the property default_where to the block and run the query

    set_block_property ('myblock ', default_where,' like upper (Ename)' |: mybind |) » %');

  • How to use as operator for several values

    Hi all

    I want to obtain the column values for the column - filed_name which ends by ('X 1', 'X 2' 'X 3' 'X 4' 'X 5' 'X 0' 'XA' 'XB' "XM" "XP" 'X' "CM" "MT") of the variable_info table


    I tried to use as shown below

    SELECT * FROM VARIABLE_INFO WHERE FieldName like (' %x 1 "," %X 0 ");

    but getting error
    ORA-00907: lack of right parenthesis

    can someone tell me how to use as operator for multiple values?

    Thank you/kumar

    You need not a subquery, just make sure that you use parentheses to group your GOLD requirements

    SELECT RELATION ,
    FIELD_NAME ,
    ATTRIBUTE ,
    FIELD_DESCRIPTION,
    SOURCE
    FROM VARIABLE_INFO
    WHERE RELATION NOT IN ( 'CHAI',  'ITAB', 'ITB2', 'ITB3', 'MINI', 'NOTE', 'MINC', 'FINI', 'FTIM', 'FWTG', 'FMLY', 'FMIS', 'FSUM', 'MEMB' ,'FINC', 'FASO')
    AND (SUBSTR(FIELD_NAME,-2) in ('X1', 'X2' ,'X3', 'X4', 'X5', 'X0', 'XA', 'XB', 'XM' ,'XP' ,'CM','MT')
      OR substr(FIELD_NAME,-1) in ('X')
      OR substr(FIELD_NAME,1) in ('J')
      )
    AND (ATTRIBUTE LIKE 'NUM%' OR ATTRIBUTE = '-') ;
    

    The error you are getting sounds like a problem with the definition of VARIABLE_INFO. It seems the synonym or something that it points to rear edge

    For example:

    CREATE SYNONYM X FOR DUAL;
    CREATE SYNONYM Y FOR X;
    CREATE OR REPLACE SYNONYM X FOR Y;
    SELECT * FROM Y;
    
    SQL Error: ORA-01775: looping chain of synonyms
    

    Kind regards
    Bob

  • Filling of LOV using like operator

    Hello...

    IAM trying one fill a LOV using like operator.

    I want a solution to this for the following problem...


    I have a block of text as "inp" and I have a list box with the Name, addr, subject values.
    After entering a substr in text box for example 'BA', and then select the name in the list box
    He must complete a lov having names which appears the BA...
    Like this

    Radha Bai
    Marie Charlotte
    Belot

    As much as BA is present, it must appear in the LOV.

    I have genereated Lov with the following code

    SELECT name from table-name, whose name like ' %: inp.

    so I called the lov in when-item-changed.

    But LOV is not filling.

    I changed the code you select name from table_name where substr (name, 1, 1) as substr(:inp,1,1)
    It displays the names starting with the first letter of the entry.

    I want to fill the lov using %: % inp...
    Someone help me...

    Hai,

    Try

    SELECT NAME FROM TAB_NAME WHERE NAME LIKE '%' || :inp || '%'
    

    Kind regards

    Manu.

    If this answer is useful or appropriate, please mark. Thank you.

  • How to use between operator in Disqualification without using the script processor?

    Hello Experts,

    How to use between operator in Disqualification? for example phonenumberLength between 7 and 10. I don't want to use the script processor? Also how to reproduce the SWITCH statement Disqualification CASE?

    Thank you

    Konate

    1 Add a processor 'check the length.

    2. connect the transformer and open the configuration dialog box

    3. in the tab 'Attributes' select your attribute of telephone number as the "field Check.

    4. in the tab "Options", enter "7-15"in the option 'number of valid characters.

    5. run the process.

    a. accounts with [included] a character length 7-15 phone numbers out of the release of "valid".

    b. records with a length of character <7 or="">15 phone numbers out of the release of "Invalid character count.

    Note: the processor also adds a 'LengthValid' flag attribute which you may also branch on [with the values "Y" and "NC" for both scenarios above]. See Library of processor of the online help for more information.

    Thank you

    Nick

  • Qosmio F20-155: how to use BT to share files with the mobile phone

    Hello
    I HAVE TOSHIBA QOSMIO F20-155, BUT I DON'T NO HOW TO USE BLUETOOTH TO SHARE FILES WITH MY CELL PHONE
    PLEASE HELP ME

    Hello

    First a simple question: are you sure that your laptop supports Bluetooth?
    AFAIK the Qosmio F20-155 was delivered without the BT module.

    In addition, if you are not sure if the phone has BT then you can check the bottom of the unit. It should be placed a label BT if the Bluetooth has been installed.

  • How to use a sony pslx-300 with wondows 7

    How to use my turntable sony PSLX300 with windows 7?  My pc dooes not play vinyl with the turntable, using the usb connection.

    How to use my turntable sony PSLX300 with windows 7?  My pc dooes not play vinyl with the turntable, using the usb connection.

    The free Audacity software might be worth a try:

    Audacity
    http://Audacity.sourceforge.NET/

    Features of Audacity
    http://Audacity.sourceforge.NET/about/features

    Audacity tutorials
    http://Audacity.sourceforge.net/manual-1.2/tutorials.html

    How to scan discs vinyls, audio tapes and minidiscs?
    http://Audacity.sourceforge.NET/help/faq_i18n?s=recording&i=records-tapes

    How to record tapes to PC/computer
    http://www.online-tech-tips.com/computer-tips/transfer-audio-cassette-to-computer/

    How to copy tapes to hard drive
    http://www.WikiHow.com/copy-cassettes-to-computer-hard-drive

    Transferring tapes and records to computer or CD
    http://wiki.audacityteam.org/index.php?title=Transferring_tapes_and_records_to_computer_or_CD

    How to save my recording on an audio CD?
    http://Audacity.sourceforge.NET/Help/FAQ?s=files&i=burn-CD

    Audacity can record RealAudio or other audio streams?
    http://Audacity.sourceforge.NET/Help/FAQ?s=recording&i=streaming

    Recording with Audacity
    http://Audacity.sourceforge.net/manual-1.2/tutorial_basics_4.html

  • Does anyone know how to use the movement of scroller with the function of the fluid width?

    Hi all

    Does anyone know how to use the movement of scroller with the function of the fluid width?

    Thanks, Federico

    This feature is not yet implemented.

  • How to use the Trim/Substr

    Hi all

    I have obligation to affix the tank $ in front of salary
    Scenario of
    In the company of some could get 4,5 or 6 figures salary
    I need $ as a plane in front of the salary
    Example of

    $2500
    $10000
    $200000 like this

    When I try to lpad(salary,'$',7) it means
    $$$ 2500 like that, I don't want that I need just one $ although it has 4 or 5 or 6 figures salary
    Here how to use substr or travel
    How can I reach my goal

    Concerning
    Suresh

    Use to_char with a format.
    Examples:

    sql> select to_char(1234567.89, '$999999999999990.00') from dual;
    
    TO_CHAR(1234567.89,'
    --------------------
             $1234567.89
    
    sql> select to_char(1234567.89, 'L999G999G999G999G990D00') from dual;
    
    TO_CHAR(1234567.89,'L999G999G999G
    ---------------------------------
                        $1,234,567.89
    
  • How to use the plugin Cordova customized with AEM Mobile?

    Hello

    I explored the basics of the AEM Mobile over the last days and also tried to use some plugins Cordova mentioned in the Plugins to the application tab. Now, I would like to know how to use a custom Cordova plugin or plugin other than those mentioned in this list in my application.

    Is it possible to achieve today? If Yes, please provide me with the markets / pointers to all documentation which explains the same thing.

    Custom plugins support is not yet available, but on the road map

  • How to use the probe PT 1000 with NI 9211

    Hi all

    How to use a PT 1000 with NI 9211 temperature sensor?

    I am currently using Signal Express, just try to measure the temperature, but so far with no success

    THX in advance,

    Lasse

    A NI 9211 is a thermocouple device I.  A PT 1000 is an RTD.  While it might be possible to signal conditioning to get this to work, you're better off:

    Purchase of a thermocouple to replace the PT 1000

    Or buy a NI 9217 (RTD module) to replace the NI 9211

  • BlackBerry smartphone how to use my Verizon Storm 9530 with my laptop to connect to Internet?

    I have a Verizon Storm 9530 and subscribe to the $30 data plan that allows me to connect to the Internet from the device.  I also read that the device can also be used as a modem with a laptop to connect to Internet.  I don't understand this.  How does this work?  Is the work of mobile phone as a dial-up modem?  Or just connect my ISP (Time Warner Cable)?  I use a connection broadband at home, but it does not help when I am away from my home.

    Can someone please explain how to use the 9530 with my Dell Notebook PC to connect to the Internet?

    How does it work?

    What hardware do I need?

    What software do I need?

    How do I put in place?

    Do I need to purchase any additional VZN service?

    Do I need VZ access?

    Please explain in detail.  Thank you.

    melburstein wrote:

    I have a Verizon Storm 9530 and subscribe to the $30 data plan that allows me to connect to the Internet from the device.  I also read that the device can also be used as a modem with a laptop to connect to Internet.  I don't understand this.  How does this work?  Is the work of mobile phone as a dial-up modem?  Or just connect my ISP (Time Warner Cable)?  I use a connection broadband at home, but it does not help when I am away from my home.

    Can someone please explain how to use the 9530 with my Dell Notebook PC to connect to the Internet?

    How does it work?

    What hardware do I need?

    What software do I need?

    How do I put in place?

    Do I need to purchase any additional VZN service?

    Do I need VZ access?

    Please explain in detail.  Thank you.

    1 attach. you your storm to the computer via usb.

    2. a computer, your usb cable and the storm

    3. you need to download vz access manager from verizon

    4. install vz access, connect the storm and on net

    5. Yes, its about $30 extra for tethering

    6. Yes, see #3

  • How to use the adapter USB Y with disk HARD 500 GB V63700-A

    Hello

    My V63700-A500GB external HARD drive is hard to work into my USB2.0 4 port adapter.

    I thought that maybe he needs more power goes into it.
    So I bought a USB - Y, but I can't find out how to use it.

    It has 2 male son of USB connector and a very narrow little that's not in taking wide slim HDD above.

    Anyone who uses these things to advise me how to?

    ... Thank you
    .. .Nick

    Of course you bought the wrong cable.
    I guess you need a USB 3.0 cable similar to [this | http://datalocker.com/wp-content/uploads/2013/09/usb3_cable_white__800px_wartermark.jpg] a

  • How to use the version control (CVS) with JDev10.1.3

    Hello

    I tried Googling on how to use CVS of JDEV10.1.3 to maitain source and version control. Did not find anything. Help, please...

    Thank you

    http://www.Oracle.com/technology/products/jdev/Viewlets/1013/cvs_viewlet_swf.html
    The online help in JDeveloper will have more information for you.
    Also a google for CVS JDeveloper come to this for example:
    http://www.idevelopment.info/data/programming/change_management/jdeveloper9i_source_control/PROGRAMMING_Creating_a_CVS_Module_and_JDeveloper9i_Workspace.shtml

  • How to use the Page number in the IF condition

    Hello

    I have an obligation to change the output based on Page numbers. Can you please help me how to use the Page number in IF condition.

    Thank you

    Can u send me a sample xml and RTF file to my email in my profile identification, so that I can have a look.

Maybe you are looking for

  • Get back with me

    Some videos sparkle, they work fine with other browsers, videos work fine with firefox. I don't know what kind of video it is, sorry.

  • Flat lens HDR AS-15

    Hello world! I bought my Sony Action Cam for a month there, and in general I'm very happy with it, although I think that Sony should release an another Firmware update with a higher throughput (16 MB/S for 1080/30 p is simply too weak). I have notici

  • How to add two times together?

    I'm trying to get the result of once added to a time difference to calculate the result. How is that possible?

  • OfficeJet Pro L7580 appears as a network drive in Win7

    I have a new Dell with Win7 64-bit desktop computer.  I installed the printer with last full 64 bit HP software program downloaded from the HP website.  My all-in-one L7580 load on my network as a hard drive.  When I click the link it reports: "LOCAT

  • ICB cannot link static lib VS2010 files

    A whole new file static lib created in VS2010 Express hat the following content: StaticLib.h: call __stdcall void (void); StaticLib.c __stdcall Sub call (void) {} VS2010 compiles this as a c file. It is already ensured by the end '.c', but to be sure