•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the MySQL section within the Web Development category of DaniWeb, a massive community of 363,806 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,655 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MySQL advertiser:
Views: 811 | Replies: 10 | Solved
•
•
Join Date: Aug 2004
Posts: 18
Reputation:
Rep Power: 4
Solved Threads: 0
I'm trying to carry out the following delete statements
but i am getting the error:
any idea what is causing this because everything looks okay to me.
Thanks in advance
DELETE FROM images AS i WHERE i.image_id = 803 AND i.plant_num = 2277 LIMIT 1 DELETE FROM images AS i WHERE i.image_id = 804 AND i.plant_num = 2277 LIMIT 1 DELETE FROM images AS i WHERE i.image_id = 805 AND i.plant_num = 2277 LIMIT 1
but i am getting the error:
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 'AS i WHERE i.image_id = 803 AND i.plant_num = 2277 LIMIT 1; DELETE FROM images A' at line 1
any idea what is causing this because everything looks okay to me.
Thanks in advance
Last edited by ray_broome : May 7th, 2008 at 2:21 pm.
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb MySQL Marketplace
Other Threads in the MySQL Forum
- Previous Thread: Insert doesn't do what it's supposed to
- Next Thread: mySQL TRIGGER problem



Threaded Mode