Skip to content

Commit 3da5a3e

Browse files
Clare Zheng (Shanghai Wicresoft Co Ltd)Clare Zheng (Shanghai Wicresoft Co Ltd)
authored andcommitted
Update details
1 parent 52641d7 commit 3da5a3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/data-factory/connector-mysql.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,15 +352,15 @@ The recommended version will treat Char(36) as GUID type by default for better p
352352

353353
The connector treats Char(36) fields as GUIDs for easier database handling. This treatment simplifies operations such as inserting, updating, and retrieving GUID values, ensuring they are consistently managed as GUID objects in the application code instead of plain strings. This behavior is particularly useful in scenarios where GUIDs are used as primary keys or unique identifiers and provides better performance.
354354

355-
You can also change this behavior by setting `guidFromat=none` in connection property.
355+
You can also change this behavior by setting `guidFormat=none` in connection property.
356356

357357
#### Cannot read zero or invalid date
358358

359359
The recommended version cannot read zero or invalid date value. It is by default.
360360

361361
MySQL permits you to store a "zero" value of '0000-00-00' as a "dummy date." In some cases, this is more convenient than using NULL values, and uses less data and index space. To disallow '0000-00-00', enable the [NO_ZERO_DATE](https://dev.mysql.com/doc/refman/8.4/en/sql-mode.html#sqlmode_no_zero_date) mode. For more information, see this [article](https://dev.mysql.com/doc/refman/8.4/en/date-and-time-types.html).
362362

363-
For zero date value, you can set `convertZeroDateTime=true` and `allowZeroDateTime=true`.
363+
For zero date value, you can set `convertZeroDateTime=true` and `allowZeroDateTime=true`to return DateTime.MinValue (1/1/0001 12:00:00 AM).
364364

365365
For invalid date value, you can modify your SQL to wrap the column as String type.
366366

0 commit comments

Comments
 (0)