Comments

Comments

In Oracle, comments can be placed in queries. Comments can be a single line as well as multi-line.

Comment on a Single Line

Syntax

  1. -- comment goes here  

 

Example

  1. SELECT student.id /* Author : JavaTpoint */ FROM student;  

 

Comment in Oracle


comment on a multi line

Syntax

  1. /* comment goes here */  

 

Example

  1. SELECT student.id /* Author : JavaTpoint */ FROM student;  

 

Comment on a Multi Line Oracle