masimatutu@nerdica.net to Programmer Humor@programming.dev · 11 months agoIt's that time of the year again!files.mastodon.socialimagemessage-square58fedilinkarrow-up11.22Karrow-down132file-text
arrow-up11.19Karrow-down1imageIt's that time of the year again!files.mastodon.socialmasimatutu@nerdica.net to Programmer Humor@programming.dev · 11 months agomessage-square58fedilinkfile-text
minus-squaretakeda@lemmy.worldlinkfedilinkarrow-up4·11 months agoYou 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 months agoIf you don’t use a semicolon directly in MySQL it won’t do anything until you add it.
minus-squaretakeda@lemmy.worldlinkfedilinkarrow-up2·11 months agoIn 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.