hi,
this is the second time i've got this error message...
and here is the code...
the query works fine on various servers and my local server running mysql-5.0.45.
but it doesn't work on my host server. i've told them the same thing but they only tell me that there must be something wrong with my script and thats the farthest i can get with them. they couldn't even reply back to tell me what version of mysql they are running. this is the second time a query has produced an error on their server which i know works fine elsewhere. i just can't ignore this any longer.
is there something wrong with my query? or is there a fix that i could apply to make it work?
much appreciated
this is the second time i've got this error message...
MySQL said:
#1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT itemnumber
FROM 00_orders_paypal_payment_info ) AND supp
and here is the code...
Code:
SELECT *
FROM 04_articles
WHERE unique_id0 NOT
IN
(
SELECT itemnumber
FROM 00_orders_paypal_payment_info
) AND supplier_id = 'YUTFHDNEEHGT12654' AND deleted = 'publish' OR deleted = 'approve'
LIMIT 0 , 30
the query works fine on various servers and my local server running mysql-5.0.45.
but it doesn't work on my host server. i've told them the same thing but they only tell me that there must be something wrong with my script and thats the farthest i can get with them. they couldn't even reply back to tell me what version of mysql they are running. this is the second time a query has produced an error on their server which i know works fine elsewhere. i just can't ignore this any longer.
is there something wrong with my query? or is there a fix that i could apply to make it work?
much appreciated