2015/04/30 schoo WEB-campus https://schoo.jp/class/2218 Read less
ééã£ã¦ä¸»ãã¼ã¨åãå¤ãå«ãè¡ãæ¿å ¥ãããã¨ãããã¨ã©ã¼ãåºãã¦æãã¦ã»ããã¨ã INSERT INTO test VALUES(1,100); ã¨ããã¨ãERROR 1062 (23000): Duplicate entry '1' for key 1 ã¨ããã¨ã©ã¼ãåºãã ééã£ã¦ä¸»ãã¼ã¨åãå¤ãå«ãè¡ãæ¿å ¥ãããã¨ãã¦ãç¡è¦ãã¦å¦çãç¶è¡ãã¦ã»ããã¨ã INSERT IGNORE INTO test VALUES(1,100); ã¨ããã¨ãQuery OK, 0 rows affected (0.00 sec) ã¨è¡¨ç¤ºãããããã¼ãã«ã¯å¤æ´ããã¦ããªãã 主ãã¼ã¨åãå¤ãå«ãè¡ããªããªãæ°ããæ¿å ¥ãããããªããã®è¡ãæ´æ°ãã¦ã»ããã¨ã REPLACE INTO test VALUES(1,500); ã¨ããã¨ãQuery OK, 2 rows affected (0.00 sec)
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}