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

Popular posts from this blog

php - Wordpress: Link a post to posts of another category manually -

delphi xe7 upload/download dropbox file using the rest client and show progress -

java - Get more than One value and display it -