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 :: ring MySQL get a list of columns names 
Sql :: query to generate query to drop primary keys or foreign key in ms sql server 
Sql :: online compiler for sql plus 
Sql :: swiftui onappear only once 
Sql :: grant privileges mysql to database 1064 
Sql :: mysql create link between tablesdatabase 
Sql :: sql server manager close connection 
Sql :: changer un mot de passe mysql 
Sql :: how to get one year old query from plan cache 
Sql :: mssql + bit + in python orm 
Sql :: sintaxis SELECT sql 
Sql :: sqldf change user 
Sql :: change mysql paasword in cmd 
Sql :: mysql find char in string 
Sql :: create relationship with betwen two tables in postgersql 
Sql :: <connectionStrings <add name="MainDB" connectionString="Data Source=multidc02.its.com.pk,47328;Initial Catalog=ITSGeneralApplications;User ID=ITSGeneralAdmin;Password=TDsHn6TTyJohXCe"/ </connectionStrings 
Sql :: postgresql insert string 
Sql :: how to create a new db from dumb file mysql 
Sql :: pl sql join 3 tables 
Sql :: mysql reset wp_options 
Sql :: time mysql w3 
Sql :: merge query using linked server 
Sql :: mysql let join 
Sql :: how we can perform acid Operations in sql with examples 
Sql :: a query to determine the version of a database 
Sql :: ALV GRID events 
Sql :: Insert into ... values ( SELECT ... FROM ... ) 
Sql :: database db connection string format 
Sql :: oracle APEX elapsed time 
Sql :: how to read the potentail error messages in ssis package 
ADD CONTENT
Topic
Content
Source link
Name
4+8 =