ON DUPLICATE KEY UPDATE Statement ... or. MySQL Manual :: REPLACE INTO Syntax. Both will allow you to do the insert-if-not-exists-or-update in one query.
確定! 回上一頁