save up to 40%

What are comments in Oracle?

Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.

What are comments in Oracle?

Rating:

Comments allow the owner of the code to leave notes about the working of the program or a particular statement. The comments can be associated with either SQL statements or any schema objects. The comments should be written such that it describes the purpose of the code-line in any Oracle application. There is no restriction to include a comment between any keywords, parameters, and punctuation marks in a statement. Following are the ways a comment can be included in a statement:

  • Single line comment: It always starts with -- (two dashes) and then the comment is written. The comment is ended with a line break.
  • Multi-line comment: It always starts with a slash and an asterisk (/*) and then the comment is written. The comment is ended with an asterisk and a slash (*/).
Note: While including a multi-line comment, it is not necessary to separate the opening and terminating characters from the text by a space or a line break.


Rating:



Other articles

Click here to Article home

 
uCertify.com | Our Company | Articles | Privacy | Security | Contact Us | News and Press Release | uCertify India
MCSE: MCSA, MCTS, MCITP    JAVA Certification: SCJP, SCWCD Cisco Certification: CCNA, CCENT, A+, Network+, Security+
Oracle Certification: OCP 9i, OCP 10g, OCA 9i, OCA 10g CIW foundation    EC-212-32    CISSP    Photoshop ACE    Adobe Flash ACE
© 2008 uCertify.com. All rights reserved. All trademarks are the property of their respective owners.