![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
#4
| |||
| |||
|
#5
| |||
| |||
|
|
I should add that the ACCOUNT.TYPE field is upper case. Further to the above, if I use a query containing the following;- ... WHERE LEFT(ACCOUNT.TYPE,8)="CUSTOMER" ... Then I get all expected matches for the query. The only thing that does not work is the direct comparison using the equals operator. btw. Version of MySQL is 5.0.27 running on Fedora Core 5. |
#6
| |||
| |||
|
|
I should add that the ACCOUNT.TYPE field is upper case. Further to the above, if I use a query containing the following;- ... WHERE LEFT(ACCOUNT.TYPE,8)="CUSTOMER" ... Then I get all expected matches for the query. The only thing that does not work is the direct comparison using the equals operator. btw. Version of MySQL is 5.0.27 running on Fedora Core 5. |
#7
| |||
| |||
|
|
I should add that the ACCOUNT.TYPE field is upper case. Further to the above, if I use a query containing the following;- ... WHERE LEFT(ACCOUNT.TYPE,8)="CUSTOMER" ... Then I get all expected matches for the query. The only thing that does not work is the direct comparison using the equals operator. btw. Version of MySQL is 5.0.27 running on Fedora Core 5. |
#8
| |||
| |||
|
|
"jammypodger" <r... (AT) fourfront (DOT) ltd.uk> wrote in message news:eddca4b9-b026-4864-8cef-5a135a53598e (AT) e39g2000hsf (DOT) googlegroups.com... I should add that the ACCOUNT.TYPE field is upper case. Further to the above, if I use a query containing the following;- ... WHERE LEFT(ACCOUNT.TYPE,8)="CUSTOMER" ... Then I get all expected matches for the query. The only thing that does not work is the direct comparison using the equals operator. btw. Version of MySQL is 5.0.27 running on Fedora Core 5. It sounds like a problem with padding and/or trimming blanks. *What does MySQL doc say about testing strings of different lengths for equality? |
#9
| |||
| |||
|
|
"jammypodger" <r... (AT) fourfront (DOT) ltd.uk> wrote in message news:eddca4b9-b026-4864-8cef-5a135a53598e (AT) e39g2000hsf (DOT) googlegroups.com... I should add that the ACCOUNT.TYPE field is upper case. Further to the above, if I use a query containing the following;- ... WHERE LEFT(ACCOUNT.TYPE,8)="CUSTOMER" ... Then I get all expected matches for the query. The only thing that does not work is the direct comparison using the equals operator. btw. Version of MySQL is 5.0.27 running on Fedora Core 5. It sounds like a problem with padding and/or trimming blanks. *What does MySQL doc say about testing strings of different lengths for equality? |
#10
| |||
| |||
|
|
"jammypodger" <r... (AT) fourfront (DOT) ltd.uk> wrote in message news:eddca4b9-b026-4864-8cef-5a135a53598e (AT) e39g2000hsf (DOT) googlegroups.com... I should add that the ACCOUNT.TYPE field is upper case. Further to the above, if I use a query containing the following;- ... WHERE LEFT(ACCOUNT.TYPE,8)="CUSTOMER" ... Then I get all expected matches for the query. The only thing that does not work is the direct comparison using the equals operator. btw. Version of MySQL is 5.0.27 running on Fedora Core 5. It sounds like a problem with padding and/or trimming blanks. *What does MySQL doc say about testing strings of different lengths for equality? |
![]() |
| Thread Tools | |
| Display Modes | |
| |