masimatutu@nerdica.net to Programmer Humor@programming.dev · 1 year agoIt'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 · 1 year agomessage-square59fedilinkfile-text
minus-squaretakeda@lemmy.worldlinkfedilinkarrow-up4·1 year 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·1 year agoIf you don’t use a semicolon directly in MySQL it won’t do anything until you add it.
minus-squaretakeda@lemmy.worldlinkfedilinkarrow-up2·1 year 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.