Page is a not externally linkable
- Code, Content, and Presentation
-- Databases
---- Options for inserting and updating mysql


drooh - 9:35 pm on Jul 5, 2011 (gmt 0)


Ok, thank you, I wish they could write their examples like that. For some reason that mysql website is just so hard for me to read.

Somehow

INSERT [LOW_PRIORITY | DELAYED | HIGH_PRIORITY] [IGNORE]
[INTO] tbl_name
SET col_name={expr | DEFAULT}, ...
[ ON DUPLICATE KEY UPDATE
col_name=expr
[, col_name=expr] ... ]

Just doesnt register in my brain.

thanks for you post and letting me know this is possible.


Thread source:: http://www.webmasterworld.com/databases_sql_mysql/4331051.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com