I had already realized that mysql may not even be the only case, but I would like an explanation on it to be more objective.
I have several types of comments that are accepted:
1) -- ESTA LINHA ESTA COMENTADA ?
2) # ESTA LINHA ESTA COMENTADA ?
3) /*ESTA LINHA ESTA COMENTATA
E CONTINUA COMENTADA*/
4) /*!40101 SET character_set_client = utf8 */;
I know I can use both option 1 and 2 to make a comment on a single line and 3 and 4 for multiple lines but I still have to understand other details.
My question is / are:
- Use - or # make any difference, do you have any recommendations on when to use one or the other?
- Are the instructions in 4) executed even if they are commented?