masimatutu@nerdica.net to Programmer Humor@programming.dev · 9 months agoIt's that time of the year again!files.mastodon.socialimagemessage-square59fedilinkarrow-up11.21Karrow-down132file-text
arrow-up11.18Karrow-down1imageIt's that time of the year again!files.mastodon.socialmasimatutu@nerdica.net to Programmer Humor@programming.dev · 9 months agomessage-square59fedilinkfile-text
minus-squaretakeda@lemmy.worldlinkfedilinkarrow-up4·9 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·9 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·9 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.