

A SQL comment begins with the /* symbol and ends with the */ symbol, and may span many lines inside your SQL. This commenting technique must be at the end of the line and in a single line. Similarly, in SQL, what is the comment character? Ctrl + K, Ctrl + C are the keyboard shortcuts for commenting in MS SQL Server Studio.

* CREATE PROC A SAMPLE PROC BEGIN AS SELECT * FROM A SAMPLE TABLE END */, for example, whereas - denotes a single line remark. Second, what does /* in SQL mean? /* denotes the beginning of a multiline comment. Within your SQL, this technique of commenting may only span one line and must be at the conclusion of the line. The comment must be at the end of a line in your SQL query with a line break following it when using the - symbol. In a similar vein, how can I remark in a MySQL query?Ī comment that begins with the - symbol in MySQL is comparable to a comment that begins with the # symbol.
#Comment in mysql workbench how to
The “ how to comment in mysql workbench shortcut” is a question that has been asked many times before. The program enables users to create database tables and design queries without typing SQL commands by hand. MySQL workbench is a graphical interface to MySQL, written in the Qt framework.
