regarding comparison in sql

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • trysenthil
    New Member
    • Sep 2007
    • 9

    regarding comparison in sql

    thanks,
    one more doubt:

    while retrieving the data that is stored in oracle dbase., and comparing that particular field eg.name we are writing as name='INDIA' .
    how the comparison works with the name if i have 'iNDIA' OR 'INdia'
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by trysenthil
    thanks,
    one more doubt:

    while retrieving the data that is stored in oracle dbase., and comparing that particular field eg.name we are writing as name='INDIA' .
    how the comparison works with the name if i have 'iNDIA' OR 'INdia'
    You can use the UPPER function
    [CODE=sql]... where UPPER(name) = UPPER('iNdIa')[/CODE]

    Comment

    • trysenthil
      New Member
      • Sep 2007
      • 9

      #3
      Originally posted by r035198x
      You can use the UPPER function
      [CODE=sql]... where UPPER(name) = UPPER('iNdIa')[/CODE]
      thanks for your clarification

      Comment

      Working...