Home > database >  Mysql have similar oracle merge into function, now see update functions are based on the primary key
Mysql have similar oracle merge into function, now see update functions are based on the primary key

Time:10-11

Merge into can make judgment according to the field is not the primary key column exists, then update or insert

CodePudding user response:

Need to write their own function