masimatutu@nerdica.net to Programmer Humor@programming.dev · 11 个月前It's that time of the year again!files.mastodon.socialimagemessage-square59fedilinkarrow-up11.22Karrow-down132file-text
arrow-up11.18Karrow-down1imageIt's that time of the year again!files.mastodon.socialmasimatutu@nerdica.net to Programmer Humor@programming.dev · 11 个月前message-square59fedilinkfile-text
minus-squaretakeda@lemmy.worldlinkfedilinkarrow-up4·11 个月前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.
minus-squaremellejwz@lemmy.worldlinkfedilinkEnglisharrow-up2·11 个月前If you don’t use a semicolon directly in MySQL it won’t do anything until you add it.
minus-squaretakeda@lemmy.worldlinkfedilinkarrow-up2·11 个月前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.
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.
If you don’t use a semicolon directly in MySQL it won’t do anything until you add it.
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.