Home  >  Q&A  >  body text

在MySQL中,执行了DELIMITER // 这个语句后分号还有什么作用?

PHP中文网PHP中文网2741 days ago595

reply all(2)I'll reply

  • 阿神

    阿神2017-04-17 16:43:40

    The semicolon is the terminator of the mysql command, and DELIMITER is used to change the input terminator.

    reply
    0
  • ringa_lee

    ringa_lee2017-04-17 16:43:40

    The semicolon after the INSERT and RETURN statements is to separate multiple statements in the function/stored procedure. Otherwise, how do you divide the multiple statements in the stored procedure?

    reply
    0
  • Cancelreply