GREATER THAN symbol appearing as &gt ; in SQL*Plus

Version:11.2.0.3
OS : RHEL 5.4
We are a Software vedor firm.We have sent our SQL files to our client to execute. But the codes for various procedures and functions were failing
because, in their SQL*Plus session (in Putty) the LESS THAN character < was appearing as &lt ; and GREATER THAN character > was appearing as &gt ;
In the original code which we had sent to them has no problems with > or < characters.
Original code
Cursor feb_cur IS
  SELECT user_pwid
    FROM carton_hdr_dtl
   WHERE MODIFIED_DATE >= D_Last_Run_Date
   UNION
  SELECT user_pwid
    FROM carton_hdr_dtl_bkp
   WHERE (modified_date >= D_Last_Run_Date OR
          deleted_date >= D_Last_Run_Date);  But in the execution log file sent by our client, I can see &gt ; instead of > character.
54   Cursor feb_cur IS
55    SELECT user_pwid
56        FROM carton_hdr_dtl
57       WHERE MODIFIED_DATE &gt ;= D_Last_Run_Date
58       UNION
59    SELECT user_pwid
60        FROM carton_hdr_dtl_bkp
61       WHERE (modified_date &gt ;= D_Last_Run_Date OR
62              deleted_date &gt;= D_Last_Run_Date);What are they doing wrong? They use putty. We use putty too but we don't have any issues.
Edited by: Max on Dec 17, 2012 2:42 AM

Thank you Blushadow, Nicosa for providing this clue.
I checked with my client. They have put our scripts in Collabnet SVN version control and the implementor DBA will be provided the http URL .
Apparently SVN is accessed using http protocol and yes you are right it is opened through a browser by typing an URL like below
http://10.80.16.214:79839/svn/brcf/DBfiles/2012/WMHReleasel8/hrtb_pkt_wave.sqlFor most of the end users , the GREATER THAN character appears as > without any issues . For some users it appears as &gt ; . One potential cause is the difference in Internet Explorer version. They are currently looking into this.
THANK YOU BLUSHADOW and NICOSA for shedding light on this.
Hi Nicosa,
A forum formatting question:
How did you manage to get &gt_; (without the underscore) printed ? When I tried it the forums editor was converting it to > . This is why I placed a space/underscore between t and semi colon. Is there some escape character ?

Similar Messages

  • In Turkish QWERTY Keyboard you can type less then symbol " " but you can type greater than symbol  by using shift , why ??

    In Turkish QWERTY Keyboard you can type less then symbol "< " but you can type greater than symbol  by using shift <, why ??

    In Turkish QWERTY Keyboard you can type less then symbol "< " but you can type greater than symbol  by using shift <, why ??

  • My greater-than ( ) symbol is a "4" in motion! How do I get my to work?

    My greater-than (>) symbol is a "4" in motion! How do I get my > to work?
    Thanks,
    Ken

    Are you trying to add text? Did you check the Style tab and what font is set there? some fonts don't have certain characters.

  • HT1688 Where are the less than and greater than symbols?

    where are the less than < and greater than > symbols?

    Assuming rawValue of the total field is returning as "10000".
    In the Calculate event of the Total field, write the following with Java Script as language.
    VP_Signature.presence = "hidden";
    Officer_Signature.presence = "hidden";
    if(total.rawValue>10000){
         VP_Signature.presence = "visible";
         Officer_Signature.presence = "visible";    
    else{ 
         VP_Signature.presence = "hidden"; 
         Officer_Signature.presence = "visible";
    Thanks
    Srini

  • ROWNUM with Greater than symbol..!

    Hi
    Can any one explain why ">" greater than operator not working with ROWNUM.
    FOR EXAMPLE:
    SELECT * FROM EMP where rownum > 2;
    But the less than operator is working.
    SELECT * FROM EMP where rownum < 2;
    Please clarify this.
    Thanks in advance.
    Regards
    Sathya

    Hello,
    " … since something like a rownumber actually doesn't exist …"I’m pretty sure the OP is referring to the pseudo-column ROWNUM, which generated automatically by the db systems, for every query. This value, starting with 1, is being attached to every record which satisfy the where clause condition. Hence, for the first record to be assigned a rownum, the where clause must consider rownum=1 as a valid condition.
    " Rownum needs to be "generated" in a subquery first "I don't see any problem with the following code (with no subquery):
    select * from emp
    where rownum <=3;This query will display the first 3 fetched (not sorted) records from the emp table.
    Regards,
    Arie.

  • greater than symbol inserted at bottom of php pages in all pages

    I've coded for years and never seen this.  At the bottom of all of my pages, no matter what I do, the following gets added in
    "<html>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"  obviously these symbols show up and make all my webpages look awful.  I delete, save, and upload, and in less than ten minutes, they are there and on my website too.  What is happening?????

    Hi
    Does this appear when you preview your local copy, (you do have a local copy, and are not working directly with your servers copy)?
    If your local copy is O/K, then it may be that your server has been infected with a virus, and this is inserting the code. A virus that added code similar to that you are describing, has been floating around the web for years now.
    If your local copy has the problem then check your computer for viruses.
    PZ

  • Type tool quotation marks display like greater-than symbols

    I'm having trouble with getting quotation marks to display correctly, they look like 2 stacked >> symbols.  They change slightly depending on what font I'm using, but they all ride at the base of the text.  I cannot acheive normal looking curly or staight quotes at all.  I have tried switching smart quotes on and off in the preferences, restarting, etc.  I've noticed this problem in the past, but I thought it was the font I was using.  The same thing happens with Times New Roman.  I'm running an up to date version of PSextended CS5, 64bit on win 7 64.  Any help would be greatly appreciated!

    Not sure if this is where you looked, but check the overall Windows settings as follows: 
    Click Start and type Language in the search box.  When Region and Language comes up, click it. 
    Look through all the tabs to ensure everything's set as expected.
    Outside of finding something unexpected in there, it's never a bad idea to try resetting the Character tool, or even the Photoshop overall preferences.  To reset the Type Tool, select the T tool, then right-click in the T tool icon in the options area:
    -Noel

  • "Greater than" symbol ( ) not working in Leopard

    I can't input the > symbol on my keyboard. I have a Core 2 Duo MacBook with Leopard. This symbol should come by shift+< but it's not. I reseted all the operating system keyboard shortcuts but no luck. Any suggestions?

    If a third party application has mapped its own keyboard shortcuts, I do not know of any universal way to reset those.
    What you might consider doing is loading up Activity Monitor and killing off any other applications running aside from the normal operating system components and see if you can use the shortcut keys normally at that point.
    Hope this helps! 
    David

  • How can I type the symbol for greater than or equal to

    I wish to type the symbol for greater than or equal to in an equation but my keyboard does not have such a symbol

    Mathematical Operators - 2200-22FF
    :≥ &nbsp; &nbsp; &amp;#x2265; 8805 GREATER-THAN OR EQUAL TO
    :http://www.sql-und-xml.de/unicode-database/mathematical-operators.html
    If this is for HTML use &amp;ge; to create &ge;
    you can bring up CharMap (charmap.exe)
    go down 11 windows (of 10 rows each) and it is on bottom row
    You should be able to type as Alt+8805 on the Numeric keypad (not number row)
    or on laptop with NumLock off as Fn+Alt+8805
    but that is not working for me and I verified that hex(x2265) and decimal (8805)
    values are equivalent.

  • The amount charged to our credit card was greater than the amount on our invoice.

    This last month, our credit card was charged was charged an amount greater than what appeared on our invoice.  Why did this happen, and how can we get a refund of the difference?

    Yes, of course that's what I tried first.  I attempted to use the Contact Support box in the lower right corner of:
    https://helpx.adobe.com/creative-cloud/topics/getting-started.html
    And got this:
    We're sorry, but our records indicate you aren't eligible for this support option.
    Experts are always available in our free community forums.
    Hence my post here.
    However, it appears that the URL you provided takes me to a completely different chat application, so perhaps I'll have better luck there.  I'll give it a try.
    Thanks for your help.

  • Less Than Symbol ( )

    Hi All,
      I want a  less than ( < ) symbol to be displayed .....
    When I give "&gt;" , I get a greater than symbol (>)..... But when I give "&lt;" , i get a blank value
    Thanks

    <mx:.................    dataProvider="&lt;">

  • Problem entering password sql plus in wnidows vista

    hello,
    after i successful installation in windows vista, i try run SQL Plus
    when i try running SQL PLUS, i have to entered my username and password.
    Entering my username is no problem. but when i try entering password, i cannot entering input password because no matter what i do, my password does not appear on the screen SQL Plus
    Is something wrong about installation?
    Please help me.

    Well, that is why it is called password. You do not want anyone to see it while you are typing, right? Just type in the password (you should see * for each typed password character) and hit enter. And if you are running non-gui version of SQL*Plus (in command window) you will not see any characters (even *) while typing password.
    SY.
    Edited by: Solomon Yakobson on Jun 5, 2010 7:36 AM

  • Query performance : TOAD Vs SQL Plus, and caching of query output

    Hi,
    I have one query which takes more than 2 minutes in TOAD, but the same one takes less than 30 secs when executed in SQL Plus. Can some body please tell me why the performance is so different in the two. Is this a known issue? Can i get the actual time required for a query?
    Also when I execute the same query in TOAD for the second time in succession, the execution time reduces drastically from 2 mins to 10 secs. Does caching occur in TOAD? Can I disable it. I am using TOAD for Oracle, Version 9.0.0.160.
    Thanks,
    Rahul.

    user641207 wrote:
    Hi,
    I have one query which takes more than 2 minutes in TOAD, but the same one takes less than 30 secs when executed in SQL Plus. Can some body please tell me why the performance is so different in the two. Is this a known issue? Can i get the actual time required for a query?
    Also when I execute the same query in TOAD for the second time in succession, the execution time reduces drastically from 2 mins to 10 secs. Does caching occur in TOAD? Can I disable it. I am using TOAD for Oracle, Version 9.0.0.160.Rahul,
    it's unlikely but possible that the session established via TOAD has different settings than the session established via SQL*Plus.
    You can check V$SQL and V$SQL_SHARED_CURSOR to find out if the SQL you're executing has different plans, which would result in multiple rows in V$SQL for the same SQL_ID (10g) or ADDRESS, HASH_VALUE (pre-10g) with different CHILD_NUMBERs and V$SQL_SHARED_CURSOR can tell you why they can't share the plan, in case you've got multiple plans.
    In addition you can use V$SES_OPTIMIZER_ENV to find out if the optimizer related settings differ for the TOAD and SQL*Plus session.
    The caching effect is probably the caching of the database rather than anything else. I don't think that TOAD caches the result on the client side.
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

  • Greater than or equal symbol not working

    Hi,
    I cannot get the "greater than or equal to" symbol to display properly. I can get the less than or equal symbol to display by typing Ctrl+q #, and then formatting it as Symbol font.
    According to the Character_Sets.pdf FrameMaker Online reference, the greaterequal symbol is Ctrl+q 3, but when I format it as Symbol, FrameMaker displays a box (which looks to me to be a non-printing character).
    Any suggestions on how I get a "greater than or equal to" symbol to display?
    Thanks,
    John B.
    FrameMaker 8 (8.0 p277)
    Windows XP SP 3

    Error7103 wrote:
    > I cannot get the "greater than or equal to" symbol to display properly.
    Try this...
    Click in margin.
    Format > Characters > Designer...
    Character Tag: [ Symbol ]
    Family: [ Symbol ]
    all else As Is or blank
    Commands: New Format...
    [*] Store in Catalog
    Click in Body Flow A.
    Special > Variable...
    [Create Variable]
    Name: [ char.symbol.greaterequal ]
    Definition: [ <Symbol>\xb3 ]
    [Add]
    [Done]
    [Insert]
    Advantages:
    Avoid frequent arcane typing: you only need to look up the special character entry sequence once per document (if that - we keep these var defs in a separate catalog for ease of application).
    Isolates special char encodings for dealing with eventual replacement by native Unicode glyphs and/or ports to platforms lacking legacy Symbol overlay font
    Isolates special char renderings for possible changes to font with native >= glyph
    Assures text inserted adjacent to symbol will be in native paragraph font, and not Symbol.
    Prevents spell checker from needlessly complaining.
    Is portable between FM platforms and releases, although \xb3 does appear as Š (cap s caron above) in Windows dialogs.
    Disadvantages:
    If you apply a Default ¶ Font to the para, the variable is no longer in Symbol font (but this is always the case for variables that use alternate fonts). You have to re-select the var (which may be hard to even see), and re-insert it.
    If you highlight the entire para, or just the text containing the var, and apply a new PgfTag, the variable likewise gets de-fonted. It has ever been thus.
    You have to search by Variable, and not by special character.
    So what do we suppose made this topic so popular that it's got over 1000 Views so far?
    I tried these instructions with great anticipation, but alas, it did not work for me.
    Maybe it works differently on FrameMaker 9. I even tried making a PDF to see if it just rendered differently on the screen, since you mentioned the display in Windows dialog boxes (even though I was just in the main flow).
    See the screenshot below for my results.

  • Passing variable of size greater than 32767 from Pro*C to PL/SQL procedure

    Hi,
    I am trying to pass a variable os size greater than 32767 from Pro*C to an SQL procedure.I tried assigning the host variable directly to a CLOB in the SQL section but nothing happens.In the below code the size of l_var1 is 33000.PROC_DATA is a procedure that takes CLOB as input and gives the other three(Data,Err_Code,Err_Msg) as output.These variables are declared globally.
    Process_Data(char* l_var1)
    EXEC SQL EXECUTE
    DECLARE
    l_clob clob;
    BEGIN
    l_clob := :l_var1
    PROC_DATA(l_clob,:Data,:Err_Code,:Err_Msg) ;
    COMMIT;
    END;
    END-EXEC;
    I also tried using DBMS_LOB.This was the code that i used.
    Process_Data(char* l_var1)
    EXEC SQL EXECUTE
    DECLARE
    l_clob clob;
    BEGIN
    DBMS_LOB.CREATETEMPORARY(l_clob,TRUE);
    DBMS_LOB.OPEN(l_clob,dbms_lob.lob_readwrite);
    DBMS_LOB.WRITE (l_clob, LENGTH (:l_var1), 1,:l_var1);
    PROC_DATA(l_clob,:Data,:Err_Code,:Err_Msg) ;
    COMMIT;
    END;
    END-EXEC;
    Here since DBMS_LOB packages allow a maximum of 32767,the value of l_var1 is not being assigned to l_clob.
    I am able to do the above process provided i split l_var1 into two variables and then append to l_clob using WRITEAPPEND.i.e l_var1 is 32000 in length and l_var2 contains the rest.
    Process_Data(char* l_var1,char* l_var2)
    EXEC SQL EXECUTE
    DECLARE
    l_clob clob;
    BEGIN
    dbms_lob.createtemporary(l_clob,TRUE);
    dbms_lob.OPEN(l_clob,dbms_lob.lob_readwrite);
    DBMS_LOB.WRITE (l_clob, LENGTH (:l_var1), 1,:l_var1);
    DBMS_LOB.WRITEAPPEND (l_clob, LENGTH(:l_var2), :l_var2);
    PROC_DATA(l_clob,:Data,:Err_Code,:Err_Msg) ;
    COMMIT;
    END;
    END-EXEC;
    But the above code requires dynamic memory allocation in Pro*C which i would like to avoid.Could you let me know if there is any other way to perform the above?

    Hi,
    The Long Datatype has been deprecated use Clob or Blob. This will solve lot of problems inherent with the datatype.
    Regards,
    Ganesh R

Maybe you are looking for