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

snippet
-- comment goes here

Example

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

comment on a multi line

Syntax

snippet
/* comment goes here */

Example

snippet
SELECT student.id /* Author : rookienerd */ FROM student;
Comment on a Multi Line Oracle
Related Tutorial
Follow Us
https://www.facebook.com/Rookie-Nerd-638990322793530 https://twitter.com/RookieNerdTutor https://plus.google.com/b/117136517396468545840 #
Contents +