Skip to content

Commit 0598c1a

Browse files
committed
Docs: Drop inline callouts from two SQL pages (#41270)
Drops inline callouts from the docs for SQL's string and type-conversion functions because they are not compatible with Asciidoctor.
1 parent 1d5ab04 commit 0598c1a

File tree

2 files changed

+50
-22
lines changed

2 files changed

+50
-22
lines changed

docs/reference/sql/functions/string.asciidoc

Lines changed: 44 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Functions for performing string manipulation.
1313
.Synopsis:
1414
[source, sql]
1515
--------------------------------------------------
16-
ASCII(string_exp<1>)
16+
ASCII(string_exp) <1>
1717
--------------------------------------------------
1818

1919
*Input*:
@@ -37,7 +37,7 @@ include-tagged::{sql-specs}/docs.csv-spec[stringAscii]
3737
.Synopsis:
3838
[source, sql]
3939
--------------------------------------------------
40-
BIT_LENGTH(string_exp<1>)
40+
BIT_LENGTH(string_exp) <1>
4141
--------------------------------------------------
4242
*Input*:
4343

@@ -60,7 +60,7 @@ include-tagged::{sql-specs}/docs.csv-spec[stringBitLength]
6060
.Synopsis:
6161
[source, sql]
6262
--------------------------------------------------
63-
CHAR(code<1>)
63+
CHAR(code) <1>
6464
--------------------------------------------------
6565
*Input*:
6666

@@ -83,7 +83,7 @@ include-tagged::{sql-specs}/docs.csv-spec[stringChar]
8383
.Synopsis:
8484
[source, sql]
8585
--------------------------------------------------
86-
CHAR_LENGTH(string_exp<1>)
86+
CHAR_LENGTH(string_exp) <1>
8787
--------------------------------------------------
8888
*Input*:
8989

@@ -106,7 +106,9 @@ include-tagged::{sql-specs}/docs.csv-spec[stringCharLength]
106106
.Synopsis:
107107
[source, sql]
108108
--------------------------------------------------
109-
CONCAT(string_exp1<1>,string_exp2<2>)
109+
CONCAT(
110+
string_exp1, <1>
111+
string_exp2) <2>
110112
--------------------------------------------------
111113
*Input*:
112114

@@ -130,7 +132,11 @@ include-tagged::{sql-specs}/docs.csv-spec[stringConcat]
130132
.Synopsis:
131133
[source, sql]
132134
--------------------------------------------------
133-
INSERT(source<1>, start<2>, length<3>, replacement<4>)
135+
INSERT(
136+
source, <1>
137+
start, <2>
138+
length, <3>
139+
replacement) <4>
134140
--------------------------------------------------
135141
*Input*:
136142

@@ -156,7 +162,7 @@ include-tagged::{sql-specs}/docs.csv-spec[stringInsert]
156162
.Synopsis:
157163
[source, sql]
158164
--------------------------------------------------
159-
LCASE(string_exp<1>)
165+
LCASE(string_exp) <1>
160166
--------------------------------------------------
161167
*Input*:
162168

@@ -179,7 +185,9 @@ include-tagged::{sql-specs}/docs.csv-spec[stringLCase]
179185
.Synopsis:
180186
[source, sql]
181187
--------------------------------------------------
182-
LEFT(string_exp<1>, count<2>)
188+
LEFT(
189+
string_exp, <1>
190+
count) <2>
183191
--------------------------------------------------
184192
*Input*:
185193

@@ -203,7 +211,7 @@ include-tagged::{sql-specs}/docs.csv-spec[stringLeft]
203211
.Synopsis:
204212
[source, sql]
205213
--------------------------------------------------
206-
LENGTH(string_exp<1>)
214+
LENGTH(string_exp) <1>
207215
--------------------------------------------------
208216
*Input*:
209217

@@ -226,7 +234,11 @@ include-tagged::{sql-specs}/docs.csv-spec[stringLength]
226234
.Synopsis:
227235
[source, sql]
228236
--------------------------------------------------
229-
LOCATE(pattern<1>, source<2>[, start]<3>)
237+
LOCATE(
238+
pattern, <1>
239+
source <2>
240+
[, start]<3>
241+
)
230242
--------------------------------------------------
231243
*Input*:
232244

@@ -256,7 +268,7 @@ include-tagged::{sql-specs}/docs.csv-spec[stringLocateWithStart]
256268
.Synopsis:
257269
[source, sql]
258270
--------------------------------------------------
259-
LTRIM(string_exp<1>)
271+
LTRIM(string_exp) <1>
260272
--------------------------------------------------
261273
*Input*:
262274

@@ -279,7 +291,7 @@ include-tagged::{sql-specs}/docs.csv-spec[stringLTrim]
279291
.Synopsis:
280292
[source, sql]
281293
--------------------------------------------------
282-
OCTET_LENGTH(string_exp<1>)
294+
OCTET_LENGTH(string_exp) <1>
283295
--------------------------------------------------
284296
*Input*:
285297

@@ -302,7 +314,9 @@ include-tagged::{sql-specs}/docs.csv-spec[stringOctetLength]
302314
.Synopsis:
303315
[source, sql]
304316
--------------------------------------------------
305-
POSITION(string_exp1<1>, string_exp2<2>)
317+
POSITION(
318+
string_exp1, <1>
319+
string_exp2) <2>
306320
--------------------------------------------------
307321
*Input*:
308322

@@ -326,7 +340,9 @@ include-tagged::{sql-specs}/docs.csv-spec[stringPosition]
326340
.Synopsis:
327341
[source, sql]
328342
--------------------------------------------------
329-
REPEAT(string_exp<1>, count<2>)
343+
REPEAT(
344+
string_exp, <1>
345+
count) <2>
330346
--------------------------------------------------
331347
*Input*:
332348

@@ -350,7 +366,10 @@ include-tagged::{sql-specs}/docs.csv-spec[stringRepeat]
350366
.Synopsis:
351367
[source, sql]
352368
--------------------------------------------------
353-
REPLACE(source<1>, pattern<2>, replacement<3>)
369+
REPLACE(
370+
source, <1>
371+
pattern, <2>
372+
replacement) <3>
354373
--------------------------------------------------
355374
*Input*:
356375

@@ -375,7 +394,9 @@ include-tagged::{sql-specs}/docs.csv-spec[stringReplace]
375394
.Synopsis:
376395
[source, sql]
377396
--------------------------------------------------
378-
RIGHT(string_exp<1>, count<2>)
397+
RIGHT(
398+
string_exp, <1>
399+
count) <2>
379400
--------------------------------------------------
380401
*Input*:
381402

@@ -399,7 +420,7 @@ include-tagged::{sql-specs}/docs.csv-spec[stringRight]
399420
.Synopsis:
400421
[source, sql]
401422
--------------------------------------------------
402-
RTRIM(string_exp<1>)
423+
RTRIM(string_exp) <1>
403424
--------------------------------------------------
404425
*Input*:
405426

@@ -422,7 +443,7 @@ include-tagged::{sql-specs}/docs.csv-spec[stringRTrim]
422443
.Synopsis:
423444
[source, sql]
424445
--------------------------------------------------
425-
SPACE(count<1>)
446+
SPACE(count) <1>
426447
--------------------------------------------------
427448
*Input*:
428449

@@ -445,7 +466,10 @@ include-tagged::{sql-specs}/docs.csv-spec[stringSpace]
445466
.Synopsis:
446467
[source, sql]
447468
--------------------------------------------------
448-
SUBSTRING(source<1>, start<2>, length<3>)
469+
SUBSTRING(
470+
source, <1>
471+
start, <2>
472+
length) <3>
449473
--------------------------------------------------
450474
*Input*:
451475

@@ -470,7 +494,7 @@ include-tagged::{sql-specs}/docs.csv-spec[stringSubString]
470494
.Synopsis:
471495
[source, sql]
472496
--------------------------------------------------
473-
UCASE(string_exp<1>)
497+
UCASE(string_exp) <1>
474498
--------------------------------------------------
475499
*Input*:
476500

docs/reference/sql/functions/type-conversion.asciidoc

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ Functions for converting an expression of one data type to another.
1313
.Synopsis:
1414
[source, sql]
1515
----
16-
CAST(expression<1> AS data_type<2>)
16+
CAST(
17+
expression <1>
18+
AS data_type) <2>
1719
----
1820

1921
<1> Expression to cast
@@ -47,7 +49,9 @@ include-tagged::{sql-specs}/docs.csv-spec[conversionStringToDateCast]
4749
.Synopsis:
4850
[source, sql]
4951
----
50-
CONVERT(expression<1>, data_type<2>)
52+
CONVERT(
53+
expression, <1>
54+
data_type) <2>
5155
----
5256

5357
<1> Expression to convert

0 commit comments

Comments
 (0)