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

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 :: mysql last friday of current month 
Sql :: google cloud sql postgres url example 
Sql :: mysql group by 
Sql :: to show sp in sql server 
Sql :: how to get column name in db from an sqlalchemy attribute model 
Sql :: mysql create pool 
Sql :: export mysql database command line 
Sql :: sqlalchemy get ids 
Sql :: mysql delete older duplicates 
Sql :: case condition in mongodb 
Sql :: sql left join with where clause 
Sql :: timestamp sql 
Sql :: declare variable in mysql 
Sql :: oracle job class 
Sql :: mysql sql.gz 
Sql :: select count distinct multiple columns sql server 
Sql :: pl sql search saurce code 
Sql :: generate series sybase 
Sql :: alter session set nls_language french 
Sql :: create a plsql object 
Sql :: how to average max mysql 
Sql :: psql concat string and int 
Sql :: split string and copy last element postgresql 
Sql :: export database with data sql server 
Sql :: create table if not exists 
Sql :: acual month sql 
Sql :: mariadb used space 
Sql :: query to get all primary keys and foreign key 
Sql :: Triggers Syntax 
Sql :: timestamp(0) postgresql 
ADD CONTENT
Topic
Content
Source link
Name
8+2 =