Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old November 13th, 2005, 09:41 AM
desi90
Guest
 
Posts: n/a
Default sql query - case sensitive search

Hi,
I have a table stored with names. One of the column is name.
Example Name= 'John'
I have created a search functionality. How can I add sql seach so that
it return 'John' even when 'john' or 'JOHN' is typed in the search box.

  #2  
Old November 13th, 2005, 09:41 AM
jimfortune@compumarc.com
Guest
 
Posts: n/a
Default Re: sql query - case sensitive search

desi90 wrote:[color=blue]
> Hi,
> I have a table stored with names. One of the column is name.
> Example Name= 'John'
> I have created a search functionality. How can I add sql seach so[/color]
that[color=blue]
> it return 'John' even when 'john' or 'JOHN' is typed in the search[/color]
box.

Try using the StrConv function on the search text with the vbProperCase
setting.

James A. Fortune

Lockheed-Martin's Joint Strike Fighter (F-35) will probably be the last
manned fighter used by the U.S. -- Paul Richards

 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles