Equals Ignore case query

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gsreenathreddy
    New Member
    • Oct 2007
    • 40

    Equals Ignore case query

    Hi All,

    Is there any query in Oracle that will ignore the case with DB. I know there function in JAVA which ignore the case. Is there any feature same available in oracle.

    For Example: I have ename in DB as "aBc" and in search query user is entering as "ABC". I need to get the details of ename="aBc". How can we achieve this?

    Thanks,
    Sreenath
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    Use the LCASE or LOWER function on both sides of the equivalency.

    Comment

    • samir pradhan
      New Member
      • Jul 2008
      • 7

      #3
      SELECT Ename FROM Db
      WHERE UPPER(Ename)='A BC';

      Comment

      Working...