Some Mysql Query Help

Associate
Joined
13 Nov 2003
Posts
1,567
Location
Manchester
Hi All

Does anyone have ideas why this query isnt working? It doesnt return any errors, but it doesnt effect any rows.

Code:
UPDATE in_price_comb_temp SET stock = 'in_stock_temp.stock', date_added = 'in_stock_temp.date_added' WHERE 'in_price_comb_temp.dist_pn' = 'in_stock_temp.dist_pn'

Not sure if this even should work. Just trying to find a way of not selecting all the records and updating them one by in PHP

Thanks
Aaron
 
Hi Jon

Thanks for the message. That query doesn't work :(

I can't give too much information on here, as its quite sensitive. I will give all the details I can, what would help?

Thanks
Aaron
 
Back
Top Bottom