UPDATE affpixels SET Pixel ='loudnewmedia.com' AND AffID ='3' AND ProID ='2' WHERE PixelID ='2'
Why wont the fields update? When i run the above Query it says 0 rows affected
So why wont it update? PixelID = 2 exists.
0 rows affected. ( Query took 0.0004 sec )
Any help would be great.
Rudy is right. There should be commas there, and not ANDS. You would use ANDS with the conditions, the WHERE part, if you had more than one condition to met AND these additional conditions needed to be met in addition to the first.
interesting that it actually ran
the ANDs are wrong, they should be commas -- check da syntax in da manuals