southbeach
Programmer
I have a query command
In this particular case poCstID = 3 and so does ucCstID. Fields are defined as int(9) in both tables.
I am getting an empty query. If I change the query to
--> NOTICE I simply a number 3 in lieu of b.ucCstID
I get the expected results ... What is up with that?
Your assistance will be truly appreciated.
Code:
SELECT a . * , b . * FROM potable a, uctable b WHERE b.UsrID = 1 AND a.poCstID = b.ucCstID AND `poBranch` = 'MIA' ORDER BY poID LIMIT 0, 20
In this particular case poCstID = 3 and so does ucCstID. Fields are defined as int(9) in both tables.
I am getting an empty query. If I change the query to
Code:
SELECT a . * , b . * FROM potable a, uctable b WHERE b.UsrID = 1 AND a.poCstID = 3 AND `poBranch` = 'MIA' ORDER BY poID LIMIT 0, 20
--> NOTICE I simply a number 3 in lieu of b.ucCstID
I get the expected results ... What is up with that?
Your assistance will be truly appreciated.