If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > The right place of keyword 'binary' in the WHERE cluase

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-07-08, 23:58
cy163 cy163 is offline
Registered User
 
Join Date: Apr 2007
Posts: 127
The right place of keyword 'binary' in the WHERE cluase

Hello ALL,

In the following query, i have to use 'binary ' in the WHERE clause. However, there was error message occurred. I wonder where is the right place of 'binary' when WHERE clause contains more than one conditions(Name='XXX' , Address='YYY').

Code:
SELECT 
     *
FROM
      tableA
WHERE
      binary (Name='XXX' AND Address='YYY')
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On