• @takeda
    link
    411 months ago

    You need semicolons if it is a script with multiple commands to separate them. It is not needed for a single statement, like you would use in most language libraries.

    • @mellejwz
      link
      English
      211 months ago

      If you don’t use a semicolon directly in MySQL it won’t do anything until you add it.

      • @takeda
        link
        211 months ago

        In the MySQL client console where you can run multiple commands.

        If you add semicolon in language library commands such as fetch() you will get an error.