Loading multiple rows with mysql question
#4

Why not just use INSERT IGNORE INTO syntax and set Name as UNIQUE index? This way, it will check if rows were affected (a successful row was inserted) or otherwise (nothing affected) returned an error for duplicate and ignored (skipped) the query.
Reply


Messages In This Thread
Loading multiple rows with mysql question - by ax1 - 08.10.2017, 17:26
Re: Loading multiple rows with mysql question - by Jstylezzz - 09.10.2017, 07:36
Re: Loading multiple rows with mysql question - by ax1 - 09.10.2017, 18:35
Re: Loading multiple rows with mysql question - by Konstantinos - 09.10.2017, 18:50
Re: Loading multiple rows with mysql question - by ax1 - 10.10.2017, 15:50
Re: Loading multiple rows with mysql question - by ax1 - 11.10.2017, 14:21
Re: Loading multiple rows with mysql question - by whadez - 11.10.2017, 14:24
Re: Loading multiple rows with mysql question - by Jstylezzz - 11.10.2017, 15:13

Forum Jump:


Users browsing this thread: 1 Guest(s)