“Cómo comentar en SQL” Código de respuesta

Comentarios de SQL

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
*/
DevLorenzo

comentario sql

/* 
This is a MULTI-LINE Comment
*/ 
-- This is Single-Line Comment
Undefined

Cómo comentar en SQL

-- test 
Thomas Moorman

Comentarios de SQL con declaraciones

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

Comentario sql

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

Comentarios de SQL

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

Multi-line comments start with /* and end with */.
/*Multi-line comments*/
Tiny Coders

Respuestas similares a “Cómo comentar en SQL”

Preguntas similares a “Cómo comentar en SQL”

Explore las respuestas de código populares por idioma

Explorar otros lenguajes de código