Thank you all I solved the problem
--- On Mon, 3/2/09, Darryle Steplight <dstepli...@gmail.com> wrote: From: Darryle Steplight <dstepli...@gmail.com> Subject: Re: Error: Duplicate entry '0' for key 'PRIMARY' To: samc...@yahoo.com Cc: mysql@lists.mysql.com, g...@primeexalia.com Date: Monday, March 2, 2009, 2:32 PM Are you trying to do an Insert On Duplicate Key? Do ou want to insert a new row if it doesn't already exist or update one if it does? On Mon, Mar 2, 2009 at 4:09 PM, sam rumaizan <samc...@yahoo.com> wrote: > Are you talking about Length/Values1 > > > > --- On Mon, 3/2/09, Gary Smith <g...@primeexalia.com> wrote: > > From: Gary Smith <g...@primeexalia.com> > Subject: Re: Error: Duplicate entry '0' for key 'PRIMARY' > To: samc...@yahoo.com, mysql@lists.mysql.com > Date: Monday, March 2, 2009, 1:58 PM > > Easy. Ensure that all in the primary key have unique values. > > With that said, it would be more useful to have a ddl and the query causing the > problem. > > > ------Original Message------ > From: sam rumaizan > To: mysql@lists.mysql.com > ReplyTo: samc...@yahoo.com > Sent: Mar 2, 2009 12:56 PM > Subject: Error: Duplicate entry '0' for key 'PRIMARY' > > Error: Duplicate entry '0' for key 'PRIMARY' > > how can i fix it ? > > > > > > Sent via BlackBerry by AT&T > > >