User Name Password Register
DaniWeb IT Discussion Community
All
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,808 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,630 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:

MySQL Error 1064 when DELETEing

Join Date: Aug 2004
Posts: 18
Reputation: ray_broome is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
ray_broome ray_broome is offline Offline
Newbie Poster

Re: MySQL Error 1064 when DELETEing

  #5  
May 7th, 2008
well the query i showed you is what prints out.
DELETE FROM images WHERE image_id = 803 AND plant_num = 2277 LIMIT 1;
DELETE FROM images WHERE image_id = 804 AND plant_num = 2277 LIMIT 1;
DELETE FROM images WHERE image_id = 805 AND plant_num = 2277 LIMIT 1;

and describe images is:
Field 	       Type 	                   Null 	Key 	Default 	Extra
image_id          int(10) unsigned 	   NO 	PRI 	NULL 	auto_increment
plant_num        int(10) unsigned 	   NO 	MUL 	NULL 	 
image_src 	       varchar(255) 	   NO 	  	NULL 	 
image_alt 	       varchar(64) 	   NO 	  	NULL 	 
location_taken  varchar(64) 	   YES 	  	Barbados 	 
is_vouchered    tinyint(1) 	   NO 	  	0 	 
is_best_fit 	       tinyint(1) 	   NO 	  	0 	 
Last edited by ray_broome : May 7th, 2008 at 4:39 pm.
Reply With Quote  
All times are GMT -4. The time now is 11:31 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC