• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Case Insensitive Query Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Case Insensitive Query Question


  • Subject: Re: Case Insensitive Query Question
  • From: Bob Stuart <email@hidden>
  • Date: Sat, 6 Mar 2004 12:09:48 -0500

James,
Other than DB2/AS400 I believe most databases will perform the way you want.
If you don't put a * on the end of the search string the CaseInsensitiveLike will only match Brown and not Browner. If you put a * on the end then it will match both. DB2/AS400 seems to have a weird bug where like without an * does not match but if you are using anything else it should work.
At 9:35 AM -0600 3/6/04, James Cicenia wrote:
Hello -

I need to do a case insensitive query. I found this in the
EOQualifier class: QualifierOperatorCaseInsensitiveLike

However, this is a "Like" clause. I need mine to be exact.
If someone typed in "Brown" vs "Browner", wouldn't the like clause
find both since it needs an "*" if I searched for Brown?

Any enlightenment here would be greatly appreciated.

-James Cicenia
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


--
Bob Stuart
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Case Insensitive Query Question (From: James Cicenia <email@hidden>)

  • Prev by Date: Case Insensitive Query Question
  • Next by Date: Re: WOComponent Template
  • Previous by thread: Case Insensitive Query Question
  • Next by thread: Re: WOComponent Template
  • Index(es):
    • Date
    • Thread