MySQLã«ã¯ãç¾å¨æå»ãæ±ããé¢æ°ã¨ãã¦SYSDATE()ã¨NOW()ã¨ãã2ã¤ã®é¢æ°ãå®è£ ããã¦ãããããã¦ããããã¯å¾®å¦ã«åä½ãéããSYSDATE()ã¯é¢æ°ãå¼ã³åºãããç¬éã®æå»ãè¿ãã®ã«å¯¾ãã¦ãNOW()ã¯ã¯ã¨ãªéå§æã®æå»ãè¿ããä¾ãã°ã100ç§ããããããªé·ãã¯ã¨ãªã«ããã¦ä¸¡è ãå©ç¨ããå ´åãSYSDATE()ã§ã¯çµæã«æ大100ç§ã®å·®ãçããã®ã«å¯¾ãã¦ãNOW()ã§ã¯å·®ãçããªããNOW()ã§ã¯é¢æ°ãæåã«å®è¡ãããæã«çµæããã£ãã·ã¥ããã以éã¯ãã£ãã·ã¥ãããå¤ãå©ç¨ãããããã ã 次ã®ããã«SLEEP()ãå©ç¨ããã¨ãããæãã ããã mysql> SELECT SYSDATE(), SLEEP(100), SYSDATE(); +---------------------+------------+---------------------+ | SYSDATE(
{{#tags}}- {{label}}
{{/tags}}