mysql - ON DUPLICATE update nothing -
i know can use update ignore
pass on whether there duplicate key. how use following syntax same?
insert table on duplicate key *do nothing*
you exact same way.
insert ignore table ....
that silently skip constraint violations. bulk insert (eg insert ignore table select ... ...
), skip rows violate constraint, continue insert rows can be.
useful duplicate removal.
Comments
Post a Comment