Skip to content

Commit 8c538a4

Browse files
committed
doc
1 parent 4729dfc commit 8c538a4

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

protocol_doc/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -765,21 +765,21 @@ passed without quotes, example:
765765

766766
While the `date` type is auto-converted from string, this doesn't happen for the `timestamp` type:
767767
768-
sEXECUTE 17 ('2020-08-12') // Date can be passed as string
769-
sEXECUTE 18 ('2020-08-12 12:00:00.000000') // Throws error for timestamp column
768+
sEXECUTE 17 ('2020-08-12'); // Date can be passed as string
769+
sEXECUTE 18 ('2020-08-12 12:00:00.000000'); // Throws error for timestamp column
770770
771771
Some types are auto-converted from string while others not,
772772
therefore caution is required for the following types:
773773
774774
| Type | Passing to `EXECUTE` |
775775
| --- | --- |
776-
| string (char, varchar, clob, etc.) | `sEXECUTE 18 ('Hello World!')` |
777-
| number (int, double, etc.) | `sEXECUTE 18 (1234.5678)` (Not as a string!) |
778-
| date | `sEXECUTE 18 ('2020-08-12')` |
779-
| date-time (timestamp) | `sEXECUTE 18 (timestamp '2020-08-12 12:00:00.000000')` |
780-
| boolean | `sEXECUTE 19 (true, false)` |
781-
| time | `sEXECUTE 18 (time '13:37')` |
782-
| null | `sEXECUTE 18 (null)` |
776+
| string (char, varchar, clob, etc.) | `sEXECUTE 18 ('Hello World!');` |
777+
| number (int, double, etc.) | `sEXECUTE 18 (1234.5678);` (Not as a string!) |
778+
| date | `sEXECUTE 18 ('2020-08-12');` |
779+
| date-time (timestamp) | `sEXECUTE 18 (timestamp '2020-08-12 12:00:00.000000');` |
780+
| boolean | `sEXECUTE 19 (true, false);` |
781+
| time | `sEXECUTE 18 (time '13:37');` |
782+
| null | `sEXECUTE 18 (null);` |
783783
784784
All string values need to be escaped as discussed in chapter [Escaping](#61-escaping).
785785

0 commit comments

Comments
 (0)