• @[email protected]
    link
    fedilink
    4•3 years 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.

    • @[email protected]
      link
      fedilink
      English
      2•3 years ago

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

      • @[email protected]
        link
        fedilink
        2•3 years 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.