0

My professor is teaching us SQL and says not to end statements with a semicolon. I'm confused

2nd Apr 2016, 1:53 AM
Melissa Pijoan
Melissa Pijoan - avatar
4 odpowiedzi
+ 1
You can leave a statement without semicolon when you want to run it independently, it will run just fine; however, if you want to run several statements in the same time (bulk, batch, call it what you may), you need to end each statement with a semicolon, otherwise you will get an error
28th Apr 2016, 6:30 PM
Diana Margarit
Diana Margarit - avatar
+ 1
ya semicolon is necessary without it your compiler couldn't understand that where the statement is end and if you try to run this compiler show error and the programe doesn't work
13th Jun 2016, 10:30 AM
Iman Ali
Iman Ali - avatar
+ 1
I don't know much about SQL but as per my knowledge it's not a programming language. That could be the reason. Hope u get it soon
22nd Jun 2016, 2:08 PM
Sumanth Reddy
Sumanth Reddy - avatar
0
it SHOULD be there present actually as mentioned so in one of the videos here...
28th Jun 2016, 7:53 PM
Krishna Limani
Krishna Limani - avatar