Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOCS] Remove unneeded options from SQL code blocks #42759

Merged
merged 1 commit into from
May 31, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 21 additions & 21 deletions docs/reference/sql/functions/conditional.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,17 @@ If the condition’s result is true, the value of the result expression that fol
the subsequent when clauses will be skipped and not processed.


["source","sql",subs="attributes,callouts,macros"]
[source, sql]
----
include-tagged::{sql-specs}/docs/docs.csv-spec[case]
----

["source","sql",subs="attributes,callouts,macros"]
[source, sql]
----
include-tagged::{sql-specs}/docs/docs.csv-spec[caseReturnNull]
----

["source","sql",subs="attributes,callouts,macros"]
[source, sql]
----
include-tagged::{sql-specs}/docs/docs.csv-spec[caseWithElse]
----
Expand All @@ -70,12 +70,12 @@ CASE WHEN expression = value1 THEN result1
END
----

["source","sql",subs="attributes,callouts,macros"]
[source, sql]
----
include-tagged::{sql-specs}/docs/docs.csv-spec[caseWithOperand]
----

["source","sql",subs="attributes,callouts,macros"]
[source, sql]
----
include-tagged::{sql-specs}/docs/docs.csv-spec[caseWithOperandAndElse]
----
Expand Down Expand Up @@ -155,12 +155,12 @@ If all arguments are null, then it returns `null`.



["source","sql",subs="attributes,callouts,macros"]
[source, sql]
----
include-tagged::{sql-specs}/docs/docs.csv-spec[coalesceReturnNonNull]
----

["source","sql",subs="attributes,callouts,macros"]
[source, sql]
----
include-tagged::{sql-specs}/docs/docs.csv-spec[coalesceReturnNull]
----
Expand Down Expand Up @@ -199,12 +199,12 @@ If all arguments are null, then it returns `null`.



["source","sql",subs="attributes,callouts,macros"]
[source, sql]
----
include-tagged::{sql-specs}/docs/docs.csv-spec[greatestReturnNonNull]
----

["source","sql",subs="attributes,callouts,macros"]
[source, sql]
----
include-tagged::{sql-specs}/docs/docs.csv-spec[greatestReturnNull]
----
Expand Down Expand Up @@ -237,12 +237,12 @@ If all arguments are null, then it returns `null`.



["source","sql",subs="attributes,callouts,macros"]
[source, sql]
----
include-tagged::{sql-specs}/docs/docs.csv-spec[ifNullReturnFirst]
----

["source","sql",subs="attributes,callouts,macros"]
[source, sql]
----
include-tagged::{sql-specs}/docs/docs.csv-spec[ifNullReturnSecond]
----
Expand Down Expand Up @@ -277,12 +277,12 @@ logic of programming languages. If the 3rd expression is not provided and the co
`null` is returned.


["source","sql",subs="attributes,callouts,macros"]
[source, sql]
----
include-tagged::{sql-specs}/docs/docs.csv-spec[iifWithDefaultValue]
----

["source","sql",subs="attributes,callouts,macros"]
[source, sql]
----
include-tagged::{sql-specs}/docs/docs.csv-spec[iifWithoutDefaultValue]
----
Expand Down Expand Up @@ -325,12 +325,12 @@ If all arguments are null, then it returns `null`.



["source","sql",subs="attributes,callouts,macros"]
[source, sql]
----
include-tagged::{sql-specs}/docs/docs.csv-spec[isNullReturnFirst]
----

["source","sql",subs="attributes,callouts,macros"]
[source, sql]
----
include-tagged::{sql-specs}/docs/docs.csv-spec[isNullReturnSecond]
----
Expand Down Expand Up @@ -370,12 +370,12 @@ If all arguments are null, then it returns `null`.



["source","sql",subs="attributes,callouts,macros"]
[source, sql]
----
include-tagged::{sql-specs}/docs/docs.csv-spec[leastReturnNonNull]
----

["source","sql",subs="attributes,callouts,macros"]
[source, sql]
----
include-tagged::{sql-specs}/docs/docs.csv-spec[leastReturnNull]
----
Expand Down Expand Up @@ -407,12 +407,12 @@ Returns `null` when the two input expressions are equal and
if not, it returns the 1st expression.


["source","sql",subs="attributes,callouts,macros"]
[source, sql]
----
include-tagged::{sql-specs}/docs/docs.csv-spec[nullIfReturnFirst]
----

["source","sql",subs="attributes,callouts,macros"]
[source, sql]
----
include-tagged::{sql-specs}/docs/docs.csv-spec[nullIfReturnNull]
----
Expand Down Expand Up @@ -446,12 +446,12 @@ If all arguments are null, then it returns `null`.



["source","sql",subs="attributes,callouts,macros"]
[source, sql]
----
include-tagged::{sql-specs}/docs/docs.csv-spec[nvlReturnFirst]
----

["source","sql",subs="attributes,callouts,macros"]
[source, sql]
----
include-tagged::{sql-specs}/docs/docs.csv-spec[nvlReturnSecond]
----
Expand Down
Loading