- Timestamp:
- 07/31/18 21:09:27 (6 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/fits2sql.cc
r19114 r19116 147 147 "\n" 148 148 "Usually, the INSERT query would fail if the PRIMARY key exists already. " 149 "This can be avoided using the 'ON DUPLICATE KEY ' directive. With the "149 "This can be avoided using the 'ON DUPLICATE KEY UPDATE' directive. With the " 150 150 "--duplicate, you can specify what should be updated in case of a duplicate key. " 151 151 "To keep the row untouched, you can just update the primary key " 152 152 "with the identical primary key, e.g. --duplicate='MyPrimary=VALUES(MyPrimary)'. " 153 "For more details, see the MySQL manual.\n" 153 "The --duplicate resource can be specified more than once to add more expressions " 154 "to the assignment_list. For more details, see the MySQL manual.\n" 154 155 "\n" 155 156 "Another possibility is to add the IGNORE keyword to the INSERT query by " -
trunk/FACT++/src/root2sql.cc
r19114 r19116 154 154 "\n" 155 155 "Usually, the INSERT query would fail if the PRIMARY key exists already. " 156 "This can be avoided using the 'ON DUPLICATE KEY ' directive. With the "157 "--duplicate, you can specify what should be updated in case of a duplicate key. "156 "This can be avoided using the 'ON DUPLICATE KEY UPDATE' directive. With the " 157 "--duplicate, you can specify what should be updated in case of a duplicate key. " 158 158 "To keep the row untouched, you can just update the primary key " 159 159 "with the identical primary key, e.g. --duplicate='MyPrimary=VALUES(MyPrimary)'. " 160 "For more details, see the MySQL manual.\n" 160 "The --duplicate resource can be specified more than once to add more expressions " 161 "to the assignment_list. For more details, see the MySQL manual.\n" 161 162 "\n" 162 163 "For debugging purpose, or to just create or drop a table, the final insert "
Note:
See TracChangeset
for help on using the changeset viewer.