Re: does mysql alert about all the duplicates?
- Date: Thu, 17 Mar 2016 10:01:49 +0000
- From: lejeczek <peljasz@xxxxxxxxxxx>
- Subject: Re: does mysql alert about all the duplicates?
I'm looking at this examples and still wonder - how do I
insert into my.table select * from my.othertable ....
and allow all the updates?
Both tables are schematically identical.
Seems I cannot get the syntax around it.
On 16/03/16 14:38, Rebecca Love wrote:
Maybe this post will help you with your user/config question.
On Mar 16, 2016, at 7:46 AM, Reindl Harald <h.reindl@xxxxxxxxxxxxx> wrote:
Am 16.03.2016 um 13:38 schrieb lejeczek:
just another beginner's question.
if I insert into table and there are duplicate primary keys - does mysql
alert about all the duplicates or just the first one and then
exits/abandon the rest of the insert without any alerts for potential
And is this a user/config controlled behavior?
only the first because it makes no sense when you attempt to make 1000000 inserts proceed the whole operation when in the second one a fatal error happens
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql