@@ -367,9 +367,9 @@ Two column values in a SCALAR column can have two different primitive data types
367
367
uses it for section "Result of data type combinations".) Therefore for
368
368
``greatest(1E308, 'a', 0, X'00') `` the result is X'00' but
369
369
``typeof(greatest(1E308, 'a', 0, X'00') `` is 'scalar'.
370
- * The union of two SCALARs is sometimes the primitive type.
371
- For example, ``SELECT TYPEOF((SELECT CAST('a' AS SCALAR) UNION SELECT CAST('a' AS SCALAR))); ``
372
- returns 'string'.
370
+ #. The union of two SCALARs is sometimes the primitive type.
371
+ For example, ``SELECT TYPEOF((SELECT CAST('a' AS SCALAR) UNION SELECT CAST('a' AS SCALAR))); ``
372
+ returns 'string'.
373
373
374
374
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
375
375
Column definition -- relation to NoSQL
@@ -3887,14 +3887,14 @@ that can appear in :ref:`box.execute(...[,extra-parameters]) <box-sql_box_execut
3887
3887
requests,
3888
3888
default data type is calculated thus: |br |
3889
3889
* When there is only one possible data type, it is default. |br |
3890
- Example: ``box.execute([[SELECT TYPEOF(LOWER(?);]]) ,{x}) `` is 'string'. |br |
3890
+ Example: ``box.execute([[SELECT TYPEOF(LOWER(?)) ;]],{x}) `` is 'string'. |br |
3891
3891
* When possible data types are INTEGER or DOUBLE or DECIMAL, DECIMAL is default. |br |
3892
- Example: ``box.execute([[SELECT TYPEOF(AVG(?);]]) ,{x}) `` is 'decimal'. |br |
3892
+ Example: ``box.execute([[SELECT TYPEOF(AVG(?)) ;]],{x}) `` is 'decimal'. |br |
3893
3893
* When possible data types are STRING or VARBINARY, STRING is default. |br |
3894
- Example: ``box.execute([[SELECT TYPEOF(LENGTH(?);]]) ,{x}) `` is 'string'. |br |
3894
+ Example: ``box.execute([[SELECT TYPEOF(LENGTH(?)) ;]],{x}) `` is 'string'. |br |
3895
3895
* When possible data types are any other scalar data type, SCALAR is default. |br |
3896
- Example: ``box.execute([[SELECT TYPEOF(GREATEST(?,5);]]) ,{x}) `` is 'scalar'. |br |
3896
+ Example: ``box.execute([[SELECT TYPEOF(GREATEST(?,5)) ;]],{x}) `` is 'scalar'. |br |
3897
3897
* Otherwise, there is no default. |br |
3898
- Example: ``box.execute([[SELECT TYPEOF(LIKELY(?);]]) ,{x}) `` is unknown .
3898
+ Example: ``box.execute([[SELECT TYPEOF(LIKELY(?)) ;]],{x}) `` is the name of one of the primitive data types .
3899
3899
3900
3900
0 commit comments