Mysql putting info in the Wrong place
#3

This doesn't seem like the place to use ON DUPLICATE KEY. It seems like 'id' should be the primary key (and thus a unique value). The primary key's only purpose is to uniquely identify the row in the table. It should have no other purpose or meaning. The primary key should never be changed.
Reply


Messages In This Thread
Mysql putting info in the Wrong place - by MCZOFT - 13.01.2015, 21:58
Re: Mysql putting info in the Wrong place - by donsta3000 - 13.01.2015, 22:46
Re: Mysql putting info in the Wrong place - by Vince - 13.01.2015, 23:03
Re : Mysql putting info in the Wrong place - by MCZOFT - 13.01.2015, 23:18
Re: Re : Mysql putting info in the Wrong place - by Vince - 13.01.2015, 23:28
Re : Mysql putting info in the Wrong place - by MCZOFT - 13.01.2015, 23:32
Re : Mysql putting info in the Wrong place - by MCZOFT - 14.01.2015, 12:58

Forum Jump:


Users browsing this thread: 1 Guest(s)