Cursos
Módulo
Kollaborative Bemerkungen in Power Automate hinzufügen - Training
In diesem Modul lernen Sie, wie Sie Bemerkungen für die Zusammenarbeit verwenden, wenn Sie Cloud-Flows in Power Automate erstellen.
Este explorador ya no se admite.
Actualice a Microsoft Edge para aprovechar las características y actualizaciones de seguridad más recientes, y disponer de soporte técnico.
Se aplica a: Databricks SQL
Databricks Runtime
Los comentarios son útiles para documentar el código SQL y para deshabilitar temporalmente el código SQL.
Puede agregar comentarios al código SQL antes, después y dentro de las instrucciones. Azure Databricks omite los comentarios a menos que se reconozcan como sugerencias.
Se admiten las siguientes formas de comentarios:
Los comentarios simples se usan para cubrir una línea completa de texto o el resto de una línea de texto a partir de --
-- text
text
: cualquier texto que excluye un carácter de fin de línea (EOL), como \n
.> -- This is a comment
> SELECT 1; -- This is also a comment
1
> SELECT -- This is a comment
1;
1
> SELECT -- Comments are not limited to Latin characters: 评论 😊
1;
1
> SELECT '-- This is not a comment';
-- This is not a comment
> SELECT -- This is a bad comment because the "one" should be on the next line... 1
Syntax error
> SELECT -- this is a bad
comment because it contains an EOL character
1;
Syntax error
Los comentarios entre corchetes se usan para cubrir varias líneas de texto o una parte de una línea de texto.
bracketed_comment
/* text [ bracketed_comment [...] ] text */
text
: cualquier texto que incluya caracteres de fin de línea (EOL), excepto /*
y */
.> /* This is a comment */
> SELECT 1; /* This is also a comment */
> SELECT /* This is a comment
that spans multiple lines */ 1;
> SELECT /* Comments are not limited to Latin characters: 评论 😊 */ 1;
> SELECT /* Comments /* can be */ nested */ 1;
> SELECT /* Quotes in '/*' comments "/*" are not special */ */ */ 1;
> /* A prefixed comment */ SELECT 1;
> SELECT '/* This is not a comment */';
/* This is not a comment */
Cursos
Módulo
Kollaborative Bemerkungen in Power Automate hinzufügen - Training
In diesem Modul lernen Sie, wie Sie Bemerkungen für die Zusammenarbeit verwenden, wenn Sie Cloud-Flows in Power Automate erstellen.