Comments are used to attach explanatory text to SQL statements or statement blocks. The database server does not execute comments. SQL Anywhere supports the following types of comments: -- (double hyphen), // (double slash), and /* ... */ (slash-asterisk). See Comments.
To turn existing text into comments, select the text in the SQL Statements pane and press Ctrl+Minus Sign (-) to add double hyphen comment indicators or Ctrl+Forward Slash (/) to add double slash comment indicators. The SQL comment indicator is added to the beginning of each line with selected text.
If no text is selected, the comment indicator is added to the beginning of the current line.
To remove a comment indicator, select the text and press Ctrl+Minus Sign (-) to remove double hyphen comment indicators or Ctrl+Forward Slash (/)to remove double slash comment indicators.
|Discuss this page in DocCommentXchange.
Send feedback about this page using email.
|Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1|