Greater than/less than comparisons

Hello!
Does somebody has any idea why I get this error message ?
Greater than/less than comparisons with character type operands may not be portable  ?                                  
friendly regards
erdem

Hi Erdem,
       You can only use the comparison operators with in the Numeric Characters or the parameters with integer Data Types or Decimal Data Types.
For Example,
Data : A type I Value '5',
         B Type I Value '10'.
If A < B.
else.
Thanks.
Reward points If Helpful.

Similar Messages

  • Can a topic title contain angle brackets (greater than / less than)?

    Using RoboHelp 8, WebHelp output generated via rhcl and displayed in modified Internet Explorer (IE).
    One of my colleagues is creating a topic to describe an application object that has angle brackets (greater than / less than signs) in its screen name. Needless to say, RoboHelp doesn't like those symbols in the topic title, and it hides them and the text between them in the generated topic title. Steps to reproduce: Typed < and > in the Properties dialog; topic's <title> meta tag shows &lt; and &gt; .
    Other than replacing the topic title field with static text, is there a way to push these symbols through the Properties dialog or the HTML editor?
    It's not world-shatteringly important - the workaround is okay - but I'd like to know how to avoid this problem with other "special" characters, if I can.
    Thanks,
    Elisa

    Willam is correct that you cannot type < or > directly into the HTML code and in pointing out that RoboHelp automatically converts the code when you type that in design view.
    However, I think that you are aware of that and it is not the problem you want addressed. You can see that you can type that straight into the Topic Heading but your Topic Headings are not typed in, you are using fields and what you are finding is that if the Topic Title contains the brackets, that works everywhere other than Topic Headings. Is that correct?
    If so the cause is linked to what Willam has pointed out but I am sure Adobe could work out a solution. Report it as a bug. Please follow this link.
    http://www.Adobe.com/cfusion/mmform/index.cfm?name=wishform&product=38
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • User input formula variable with greater than/less than operators for KFG

    Hello all,
    I have used a formula in my query that is a difference of two key figures .For e.g:
    Difference = tax from system A  -  tax from system B.
    Now when the users run the report they should be prompted for the 'Difference' threshold for seeing the report say where difference is greater 100 or equal to 10 and so on.Currrently I have created a formula variable with 'user input' and created a 'condition' to display 'Difference' greater than the user entered value.
    However,it is required to have various selection options for setting the threshold of difference.For e.g User should be able to set say 'equal to'/'greater than/less than/not equal to operator for 'difference' in the initial selection screen of the report.
    With the current user-input formula variable I am not getting these 'greater than' etc operators.Any ideas on how to achieve this?

    Ya know, that's all well and good ... BUT ... WHAT IF you do want to sort text type columns with Greater Than and Less Than operatiors??
    SQL does it just Fine ... so WHY does APEX have the limit??? This is an Oracle BUG ... it SHOULD NOT limit the operators ... I realize "they" may be trying to be helpful with proper constraints to field searches ... but ... if SQL can do it, then ... no need for a limit.
    EG ...
    Show the records where
    the "Begin_Year-Wk" data is less than or equal to "2009-09" AND
    the "End_Year-Wk" data is greater than or equal to "2009-04"
    ... to give everything that was running in that 5 week period whether or not it starts within that time frame
    I can run this query perfectly fine via SQL ... but not in APEX ... unless I reconvert a lot of strings back to numbers, and for sorting / formatting / explain-to-user purposes, I really don't want them to be numbers.
    So ... there's gotta be a hidden tweak for operators somewhere ...

  • Greater Than Less Than

    Dear all,
    I am Using oracle 10g R2 database on windows.
    I have a doubt that,
    If I have a 'Date' datatype column suppose a and want to (select Less than sysdate and greater than Sysdate-31(One Month).
    e.i.
    select a,b,c from T where a Less Than Sysdate-31(One month.);How can i do this.
    Thanks,
    Chanchal Wankhade.

    Shinegar wrote:
    I had not considered the effect on an index with TRUNC. Thank you for pointing that out.
    TRUNC doesn't actually remove time as you can see below
    SELECT TO_CHAR(TRUNC(SYSDATE),'MM/DD/YYYY HH:MM:SS AM') "Today's Date and Time" from DUAL;
    Today's Date and Time
    01/19/2012 12:01:00 AMLet's say sysdate = Jan 19, 2012 11:00:00 AM
    As shown above, trunc(sysdate) = Jan 19, 2012 12:01:00 AM
    So, trunc(sysdate) -1 = Jan 18, 2012 12:01:00 AM
    Removing the trunc from column a
    select a,b,c
    from T
    where a between trunc(sysdate)-1 and trunc(sysdate);will also remove all data that is greater than Jan 19, 2012, 12:01:00 AM so you would only see data from one day -- Jan 18th.
    Adding the trunc to column a returns all the data from Jan 18th and 19th.
    It is my experience that users will ask for a date range, but then will ask for just one day. If Column a is not truncated, then no rows would be returned when between trunc(sysdate) and trunc(sysdate).
    Most programmers will not use trunc(sysdate) in the where clause, but would use a variable with value assigned of sysdate or trunc(sysdate) as it provides more flexibility.
    If you do not want to use trunc on column a, then the where clause should be BETWEEN trunc(sysdate) - 31 AND sysdate.
    Edited by: Shinegar on Jan 19, 2012 12:40 PMThe trunc function does not remove the time portion, but it does set it to midnight. Or at least i would if you used the correct format mask in your TO_CHAR. The mask for minutes is MI not MM.
    SQL> SELECT TO_CHAR(TRUNC(SYSDATE),'MM/DD/YYYY HH:MI:SS AM') am_pm,
      2         TO_CHAR(TRUNC(SYSDATE),'MM/DD/YYYY HH24:MI:SS') mil_time
      3  from dual;
    AM_PM                  MIL_TIME
    01/19/2012 12:00:00 AM 01/19/2012 00:00:00John

  • Numbers '08 "If" with a greater or less than answer

    Hi all - I have a cell with a sum D & E28 (merged cell) that I want another cell B30 to display a value based on what is in cell D & E28.
    If cell D & E28 is 8 or less I want B30 to say 8. If D & E28 is greater than 8.001 but less than 12 I want B30 to say 12 and if D & E28 is greater than 12.001 but less then 18 I want B30 to say 18
    Any ideas?
    Thanks
    Peter

    pdmjr,
    =IF(ROUND(D28,3)<=8.001, 8, IF(ROUND(D28,3)<=12.001, 12, IF(ROUND(D28,3)<=18, 18, "Over 18")))
    should do it for you.
    The nested IF statements handle your logic. The ROUND statements handle internal math errors and your need to break at .001. You didn't say what to do with inputs of 18 or greater, so I suggested a text string for that case.
    The form of the IF statement is: If (logical statement) is True, Then do this, Else do this. Your case requires three tests. You could quibble about a value that is, say, 12.0011 and rounds to 12.001, but I doubt you are concerned about that level of detail. If so let me know.
    Does this help?
    Regards,
    Jerry
    Message was edited by: Jerrold Green1

  • Filtering Interactive Reports with Greater Than Less Than Operators

    The available filter operators in the interactive reports do not include greater than or less than. How is it possible to enable an application user to filter records where greater than or less then logic is needed?
    For example the user wants to query records where sysdate falls between a start and end date.
    Regards,
    Todd

    Ya know, that's all well and good ... BUT ... WHAT IF you do want to sort text type columns with Greater Than and Less Than operatiors??
    SQL does it just Fine ... so WHY does APEX have the limit??? This is an Oracle BUG ... it SHOULD NOT limit the operators ... I realize "they" may be trying to be helpful with proper constraints to field searches ... but ... if SQL can do it, then ... no need for a limit.
    EG ...
    Show the records where
    the "Begin_Year-Wk" data is less than or equal to "2009-09" AND
    the "End_Year-Wk" data is greater than or equal to "2009-04"
    ... to give everything that was running in that 5 week period whether or not it starts within that time frame
    I can run this query perfectly fine via SQL ... but not in APEX ... unless I reconvert a lot of strings back to numbers, and for sorting / formatting / explain-to-user purposes, I really don't want them to be numbers.
    So ... there's gotta be a hidden tweak for operators somewhere ...

  • Using greater than - less than in a date query in a form

    In version 5, the user could put in ">03/05/08" in a date field, hit the execute query button, and the form would pull up everything >3/5/2008. In version 10g, I get all format errors when I put in the same thing. Is there a work-around, or is this feature no longer supported in 10g?

    I assume you have recently performed an upgrade to Forms 10g. Did you only upgrade to Forms 10g or were their other upgrades as well (like the Database)? Has the NLS_DATE_FORMAT changed? Can you run your query in SQL*Plus successfully? Any additional information you can provide will greatly aid us in helping you troubleshoot this issue.
    Craig...

  • Use of greater than, less than and ranges in release strategy

    Hi,
    We are using release strategy on purchase order level. We have added purchasing group as one of the characteristics of this release strategy. As we have many purchasing groups in place we want to work with ranges of purchasing groups and also make use of the <,>  signs. We can enter those signs, but the strategy does not seem to recognize them. The blocking is not working.  Whe also have the po value in the startegy and there the signs do work. Probably because this field is numeric.
    Is there somebody that has an idea how to solve this?
    Regards,
    Ed

    Jurgen,
    This does not work. I can select multiple values for the purchasing group characteristic, but I can not select the option intervals allowed. I assume this only applies to numeric attributes. I can not define purchasing group as a numeric characteristic. The system overwrites this when I refer to the field in EKKO.
    Is there an option to use the not equal sign?
    Ed

  • Using 'Greater than/less than' in dynamic where condition

    Hi Guys,
    I am trying to use a logical expression with GT/LT condition in dynamic where, butits giving dump  "expression worngly parenthesised' . My query runs perfectly fine when the logical expression does not have 'GT/LT' . Is there a different way of using GT/LT in dynamic where or is it not posiible at all?? Please find my query below -
    IF vendor IS NOT INITIAL.
          i_where_clause = 'a~lifnr = vendor'.
          APPEND i_where_clause.
          CLEAR i_where_clause.
        ENDIF.
        IF to_date IS NOT INITIAL.
          i_where_clause = 'a~zzearliestdep LT to_date'.
          APPEND i_where_clause.
          CLEAR i_where_clause.
        ENDIF.
        IF from_date IS NOT INITIAL.
          i_where_clause = 'a~zzlatestdep GT from_date'.
          APPEND i_where_clause.
          CLEAR i_where_clause.
        ENDIF.
      SELECT aebeln alifnr azzearliestdep azzlatestdep
                bebelp belikz b~kzabs
           INTO CORRESPONDING FIELDS OF TABLE i_podetails
           UP TO max_hits ROWS
           FROM ( ekko AS a INNER JOIN ekpo AS b
                   ON aebeln = bebeln )
           WHERE a~ebeln = ebeln AND
                (i_where_clause).

    Hi,
    Try this -
    IF vendor IS NOT INITIAL.
      i_where_clause = 'a~lifnr = vendor'.
      APPEND i_where_clause.
    ENDIF.
    IF to_date IS NOT INITIAL.
      if i_where_cause[] is not initial.
        i_where_clause = 'AND'
        append i_where_cause.
      endif.
      i_where_clause = 'a~zzearliestdep LT to_date'.
      APPEND i_where_clause.
    ENDIF.
    IF from_date IS NOT INITIAL.
      if i_where_cause[] is not initial.
        i_where_clause = 'AND'
        append i_where_cause.
      endif.
      i_where_clause = 'a~zzlatestdep GT from_date'.
      APPEND i_where_clause.
      CLEAR i_where_clause.
    ENDIF.
    Cheers.
    \[removed by moderator\]
    Edited by: Jan Stallkamp on Jun 26, 2008 1:08 PM

  • Dates Greater Than, Less Than, but what about the dates between?

    This is what my data looks like.
    Employee# StartsWork EndsWork
    1_________8/15______8/16
    2_________8/16______8/19
    3_________8/17______8/17
    I need to know how many employees I have working on any given day.
    The table below shows the dates across the top, and the data in the cells represents the total number of workers on any given date.
    Date_____8/15_______8/16_______8/17________8/18________8/19_______8/20
    Workers___1__________2__________2___________1__________1__________0
    FYI: This report does not contain any prompts. It just shows me the next 6 days.
    I was trying something like this but without any success: Create a column
    CASE WHEN current_date > "StartWork" AND current_date < "EndsWork" THEN '1' WHEN (current_date+1) > "StartWork" AND (current_date+1) < "EndsWork" THEN '2'
    and so on, then just use the column to sort the rows. I can use some count function later to finish it.

    Create three date dimensions, Join first date dimension (d1) with Start Date, join second date dimension (d2) with End date, create a dummy join (1=1) with 3rd date dimension.
    On the report or in PRD create a measure as follows.
    CASE WHEN D3.Date <= d2.Date and D3.Date >= D1.Date then 1 ELSE 0 END

  • Case statements without the need for Greater than less than

    i have a problem where i have 6 different priorities. from high to low:
    A-A
    A-B
    A-C
    B-A
    B-B
    B-C
    One field on the database (default) holds the default priorities. this value in this example is (A-B)
    the problem is determinig wether the (actual) value, in this example (A-C) is an "UPGRADE" or a "DOWNGRADE" from the default.
    the actual value may change, the default value never changes, so i need to determine if the actual value has increased in priority or decreased in priority?
    i cant use the > or < functions obviously, what i have come up with so far is:
    (case when actual = 'A-A' AND ((select default from table x) IN ( 'A-B','A-C','B-A','B-B','B-C','C-A','C-B','C-C')
    when actual = 'A-B' AND ((select default from table x) IN('A-C''A-C','B-A','B-B','B-C','C-A','C-B','C-C') THEN 'UPGRADE' ELSE 'DOWNGRADE' END)
    is this the best way to do a query like this ????

    try adding control to form to let them select [ <, <=, >,>=] via a drop down and enter a value, then pass these items to a function that returns a sql select...
    Report Region source would be function returning sql select..
    Thank you,
    Tony Miller
    Webster, TX

  • How do you get to greater than, less than symbols ( , )

    Trying to find these symbols on keyboard. Anybody know if they are available?
    Ken

    If using the Samsung keyboard:  press Sym, then press 1/2
    If using the Swype keyboard:  press 123 (in lower left-hand corner), then press the shift key (looks like a 1 in a box next to a 2, it's just above the Swype key)

  • If number 1 is ( , ,=) to number 2 display (greater than), (Less than), (equal)

    Im not sure how to wire this. Help please. 

    Open LabVIEW.
    From the tabs on top, choose "File" -> "New VI"
    From the tabs on top of the new VI, choose "Help" -> "LabVIEW Help..."
    OR, (takes longer, but will be worth it sooner)
    Do the online LabVIEW tutorials
    LabVIEW Introduction Course - Three Hours
    LabVIEW Introduction Course - Six Hours
    Cameron
    To err is human, but to really foul it up requires a computer.
    The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
    Profanity is the one language all programmers know best.
    An expert is someone who has made all the possible mistakes.
    To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):
    LabVIEW Unit 1 - Getting Started
    Learn to Use LabVIEW with MyDAQ

  • I have a manual that contains headings and index entries that contain less than and greater than characters, and . The Publish to Responsive HTML5 function escapes these correctly in the main body of the text but does not work correctly in either the C

    I have a manual that contains headings and index entries that contain less than and greater than characters, < and >. The Publish to Responsive HTML5 function escapes these correctly in the main body of the text but does not work correctly in either the Contents or the Index of the generated HTML. In the Contents the words are completely missing and in the index entries the '\' characters that are required in the markers remain in the entry but the leading less than symbol and the first character of the word is deleted; hence what should appear as <dataseries> appears as \ataseries\>. I believe this is a FMv12 bug. Has anyone else experienced this? Is the FM team aware and working on a fix. Any suggestions for a workaround?

    The Index issue is more complicated since in order to get the < and > into the index requires the entry itself to be escaped. So, in order to index '<x2settings>' you have to key '\<x2settings\>'. Looking at the generated index entry in the .js file we see '<key name=\"\\2settings\\&gt;\">. This is a bit of a mess and produces an index entry of '\2settings\>'. This ought to be '<key name=\"&amp;lt;x2settings&amp;gt;\" >'. I have tested this fix and it works - but the worst of it is that the first character of the index entry has been stripped out. Consequently I cannot fix this with a few global changes - and I have a lot of index entries of this type. I'm looking forward to a response to this since I cannot publish this document in its current state.  

  • Greater Than or Less Than using String Variables

    I seem to have a problem when trying to sort an ALPHABETIC LIST, seeing if one text field is greater tan or less than another.
    i.e. Lets say my variables are called FirstLetter and SecondLetter.
    FirstLetter="A", SecondLetter="B"
    So as an example and a test....Can I ask ...
    IF SecondLetter>FirstLetter Then
            Textwindow.WriteLine(SecondLetter + "  >" + FirstLetter)
    Else
            Textwindow.WriteLine(FirstLetter + " >= " + SecondLetter)
    Endif
    I seem to be fine and program working well with numeric values in variables but the '> & <' feature does not seem to work with Text ?
    Any help really appreciated
    Thanks
    Dave

    We gotta get their ASCII/UNICODE value before comparing them:
    firstLetter = "A"
    secondLetter = "B"
    If Text.GetCharacterCode(firstLetter) > Text.GetCharacterCode(secondLetter) Then
    Textwindow.WriteLine(FirstLetter + " > " + SecondLetter)
    ElseIf Text.GetCharacterCode(firstLetter) < Text.GetCharacterCode(secondLetter) Then
    Textwindow.WriteLine(SecondLetter + " > " + FirstLetter)
    Else
    Textwindow.WriteLine("They're the same " + FirstLetter + " letter!")
    EndIf
    Click on "Propose As Answer" if some post solves your problem or "Vote As Helpful" if some post has been useful to you! (^_^)

Maybe you are looking for

  • Can anyone help with my flash player???

    i need help with this there isnt any sound coming from my flash player and this confuses me becxause the video plays and it only happend to the flash player not my windows media player or anything does anyone know anything about this???

  • Remedy Connector namespace issue

    Priority of Inquiry (H/M/L): H SR (number + severity):6457438.993+2 Product (component + version):1370+10.2.0.3.0 OS (vendor + version):46/Linux x86+2.6.9-22.ELs Type of Assistance (Technical/Escalation/Corroboration):Technical Details: [Well-formed

  • HELP!! Authorization in the same laptop with different operation systems

    My BF installed Win 7 operation system on his laptop yesterday and re-authorized it when he used iTunes. However, when he finished authorization, a dialog block showing that "*Including this one, you have authorised two computers out of your availabl

  • Drop datafiles

    HI, Oracle 10.2.0.4 SUSe 10 Archivelog mode The datafile mount point is 100% used. So I had to shutdown the DB and mount it. I want to make some space in the mount space and delete unwanted datafiles from the database. Since now i am in mount stage h

  • UOM Load Error

    Dear SRMers, System Information: ECC 6.0 and SRM 5.0 I was loading the UOM from ECC 6.0 to SRM using the DNL_CUST_BASIS3 customizing object. During the load process,  I am getting the followinng error: Run time error : Data_Length_Negative. Exception