Skip to content
Advertisement

what this sign mean in sql query

i have the following code :

 SELECT *
    FROM tbl_doc
      /*_archive*/
      ,
      TBL_LOG@dblink
    WHERE Prim_id='2121212';

What is /*_archive*/ mean ? in my database we have :

tbl_doc_status
tbl_doc_archive
tbl_doc_save

Advertisement

Answer

From a /* sequence to the following */ sequence, as in the C programming language. This syntax enables a comment to extend over multiple lines because the beginning and closing sequences need not be on the same line.

MySQL Server supports certain variants of C-style comments. These enable you to write code that includes MySQL extensions, but is still portable, by using comments of the following form:

/*! MySQL-specific code */

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement