waitfor  Slash-asterisk style comments

Chapter 14: Using Batches and Control-of-Flow Language

Comments

Use the comment notation to attach comments to statements, batches, and stored procedures. Comments are not executed.

You can insert a comment on a line by itself or at the end of a command line. Two comment styles are available: the “slash-asterisk” style:

/* text of comment */

and the “double-hyphen” style:

-- text of comment

You cannot use the double hyphen style for multiline comments.

There is no maximum length for comments.





Copyright © 2005. Sybase Inc. All rights reserved. Slash-asterisk style comments

View this book as PDF