/*!….*/ comment in mysql

/*!….*/ comment in mysql

/*!….*/ comment in mysql
MySQL Server parses and executes the code within /*! and ..*/ as it would any other SQL statement, but other SQL servers will ignore the extensions.

Syntax:
/*! MySQL-specific code */

Example :

CREATE /*! TEMPORARY */ TABLE table1 SELECT * FROM table2;
Mysql Create a temporary table table1. But other SQL servers create a normal table.

Leave a Reply

You must be logged in to post a comment.


All material @ copyrighted by chrisranjana.com. If you want to link to this article you are welcome to do so. Unauthorized publication is strictly prohibited. This developer tutorial website contains articles by Php programmers , Software developers, Mysql programmers and asp c# programmers. This website also contains ajax tutorials and advanced mysql sql stored procedures and functions tutorials and sample codes.