@@ -765,21 +765,21 @@ passed without quotes, example:
765765
766766While 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
771771Some types are auto-converted from string while others not,
772772therefore 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
784784All string values need to be escaped as discussed in chapter [Escaping](#61-escaping).
785785
0 commit comments