List:General Discussion« Previous MessageNext Message »
From:sam rumaizan Date:March 2 2009 10:23pm
Subject:Re: Error: Duplicate entry '0' for key 'PRIMARY'
View as plain text  
Thank you all I solved the problem



--- On Mon, 3/2/09, Darryle Steplight <dsteplight@stripped> wrote:

From: Darryle Steplight <dsteplight@stripped>
Subject: Re: Error: Duplicate entry '0' for key 'PRIMARY'
To: samcalc@stripped
Cc: mysql@stripped, gary@stripped
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 <samcalc@stripped> wrote:
> Are you talking about Length/Values1
>
>
>
> --- On Mon, 3/2/09, Gary Smith <gary@stripped> wrote:
>
> From: Gary Smith <gary@stripped>
> Subject: Re: Error: Duplicate entry '0' for key 'PRIMARY'
> To: samcalc@stripped, mysql@stripped
> 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@stripped
> ReplyTo: samcalc@stripped
> 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
>
>
>



      
Thread
How could write this SQLwang shuming20 Apr
  • Re: How could write this SQLBaron Schwartz20 Apr
    • RE : How could write this SQLJacques Brignon20 Apr
      • Error: Duplicate entry '0' for key 'PRIMARY'sam rumaizan2 Mar
Re: Error: Duplicate entry '0' for key 'PRIMARY'sam rumaizan2 Mar
Re: Error: Duplicate entry '0' for key 'PRIMARY'sam rumaizan2 Mar
  • Re: Error: Duplicate entry '0' for key 'PRIMARY'Darryle Steplight2 Mar
    • Re: Error: Duplicate entry '0' for key 'PRIMARY'sam rumaizan2 Mar
  • drop down menu to a tablesam rumaizan3 Mar
    • Information missing (was: Re: drop down menu to a table)Joerg Bruehe3 Mar