Search
 
SCRIPT & CODE EXAMPLE
 

SQL

SQL comment

/* Multi-Line Comment */
-- Single-Line comment
Comment

how to comment in sql

-- test 
Comment

sql comments

Single line comments start with –- Any text after these 2 characters to the end of the line will be
ignored.
Multiline comments start with /* and end with */. They stretch across multiple lines until the
closing characters have been found.
-- My Select query
/*
This is my select query.
It grabs all rows of data from the users table
*/
Comment

SQL Comments Within Statements

SELECT *
FROM /* table name here */ Students;
Comment

sql comments

Single line comments start with --
-- Single Line Comments 

Multi-line comments start with /* and end with */.
/*Multi-line comments*/
Comment

SQL Comments

--Select all:
SELECT * FROM Customers;
Comment

sql comment

/* Multi-Line
comment
goes here */

-- Single-Line comment goes here
Comment

SQL Comment

-- Fetching all records from the Students table
SELECT *
FROM Students;
Comment

SQL Comment

-- Fetching all records from the Students table
SELECT *
FROM Students;
Comment

SQL Comments With Statements

SELECT * -- selects all records
FROM Students; -- from the Students table
Comment

PREVIOUS NEXT
Code Example
Sql :: date format in oracle 
Sql :: mysql count 
Sql :: create a table in sql 
Sql :: delete table sqlite 
Sql :: convert minutes to hours sql 
Sql :: mysql search multiple tables 
Sql :: install mysql 
Sql :: postgresql having 
Sql :: vi set sql syntax 
Sql :: left join in sql oracle 
Sql :: Rows, INSERT INTO, Returning 
Sql :: mql5 list all available symbols 
Sql :: delete and drop in sql 
Sql :: Write a PL/SQL to print even numbers upto 100. 
Sql :: top frequency in sql server 
Sql :: query inner join 
Sql :: how to login to mysql in homestead 
Sql :: one to one and one to many relationship 
Sql :: create user with encrypted password postgresql 
Sql :: sql order by except one row 
Sql :: keys in sql with example 
Sql :: postgresql alter column data type from integer to integer array 
Sql :: sql create database statement 
Sql :: oracle job schedules 
Sql :: select indexname psql 
Sql :: timestamp(0) postgresql 
Sql :: sql is not like 
Sql :: mysql date comparison with formatting 
Sql :: import mysql db 
Sql :: how to print out column name differently in mysql 
ADD CONTENT
Topic
Content
Source link
Name
1+3 =