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

-- comment goes here  

Example

SELECT student.id /* Author : JavaTpoint */ FROM student;  
Comment in Oracle

comment on a multi line

Syntax

/* comment goes here */  

Example

SELECT student.id /* Author : JavaTpoint */ FROM student;  
Comment on a Multi Line Oracle

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *