Comments in MySQL or MariaDB
If you need to comment out only single line, then you can use -- or #. If you are using -- then after -- use the space.
Example:
-- This is comment
Select * from customer
# Select * from employee
If you need to comment out multiple lines then you can use /* multiple line comments */.
/* Use customer table
to get information related to
customers
*/
Executable Comments :
MySQL provides executable comments , so the code will run on MySQL database but not on other databases systems.
/*! Your Code here */
This will run on MySQL database but not on other database systems.
How to use Comments in MySQL or Comments in MairaDB - MySQL Developer Tutorial
Acually, I recently saw your post, This is very nice and I feel good to see your post. I am always following your blog, Continue posting...
ReplyDeleteOracle DBA Training in Chennai
Oracle DBA Course in Chennai
Spark Training in Chennai
Oracle Training in Chennai
Social Media Marketing Courses in Chennai
Pega Training in Chennai
Linux Training in Chennai
Primavera Training in Chennai
Tableau Training in Chennai
Oracle DBA Training Fess in Chennai
Hi,
ReplyDeleteI must appreciate you for providing such a valuable content for us. This is one amazing piece of article. Helped a lot in increasing my knowledge.
Software Testing Training in Chennai
Software Testing Course in Chennai
CCNA Course in Chennai
Cloud Computing Training in Chennai
Data Science Course in Chennai
Devops Training in Chennai
Software Testing Training in Adyar
Software Testing Training in Tnagar
Thanks for sharing this great blog. That is very interesting to read and I am always searching for informative blog like this.
ReplyDeleteHtml5 Training in Chennai
Html5 Course
Html5 Training Course
Best Html5 Course
Html5 Training in Tambaram
DOT NET Training in Chennai
QTP Training in Chennai
LoadRunner Training in Chennai