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