diff --git a/product/en/docs-mtk/v2.0/mtk-oracle-to-openGauss.md b/product/en/docs-mtk/v2.0/mtk-oracle-to-openGauss.md index 0fd9ec77f513c61c5441076d47426be209955612..4db8c66a93ae47aa45fa0784e25913913400b2d1 100644 --- a/product/en/docs-mtk/v2.0/mtk-oracle-to-openGauss.md +++ b/product/en/docs-mtk/v2.0/mtk-oracle-to-openGauss.md @@ -193,6 +193,8 @@ If the current value is greater than 9223372036854775807, an error will occur. F | NVARCHAR2(8) | character varying(8) | | DATE | timestamp without time zone | | TIMESTAMP | timestamp without time zone | +| TIMESTAMP WITH LOCAL TIME ZONE | timestamp with time zone | +| TIMESTAMP WITH TIME ZONE | TIMESTAMP WITH TIME ZONE | | INTERVAL YEAR TO MONTH | interval | | IDTS INTERVAL DAY TO SECOND | interval | | LONG | text | @@ -266,6 +268,15 @@ If the current value is greater than 9223372036854775807, an error will occur. F SELECT * FROM o_test4; ``` +#### Timestamp + +- Timestamp + - Oracle Timestamp has a maximum precision of 9, openGauss/mogdb maximum 6 +- Timestamp with local time zone + Oracle converts insert time to database time zone time. openGauss/mogdb uses timestamp local time zone +- Timestamp local time zone + Oracle does not convert time zones. openGauss/mogdb is not supported. openGauss/mogdb Using the Timestamp local time zone loses the original client time zone information + #### Column Name openGauss database System Columns. diff --git a/product/zh/docs-mtk/v2.0/mtk-oracle-to-openGauss.md b/product/zh/docs-mtk/v2.0/mtk-oracle-to-openGauss.md index 65dcd17a75aa95924a207fe6936e015c1dc5d7bc..8d903378d629be374815f78660fe5292d8e79b92 100644 --- a/product/zh/docs-mtk/v2.0/mtk-oracle-to-openGauss.md +++ b/product/zh/docs-mtk/v2.0/mtk-oracle-to-openGauss.md @@ -176,6 +176,8 @@ MogDB=#select id,concat('"',col_char,'"') ,col_char from tab_char; | NVARCHAR2(8) | character varying(8) | | DATE | timestamp without time zone | | TIMESTAMP | timestamp without time zone | +| TIMESTAMP WITH LOCAL TIME ZONE | timestamp with time zone | +| TIMESTAMP WITH TIME ZONE | TIMESTAMP WITH TIME ZONE | | INTERVAL YEAR TO MONTH | interval | | IDTS INTERVAL DAY TO SECOND | interval | | LONG | text | @@ -249,6 +251,15 @@ MogDB=#select id,concat('"',col_char,'"') ,col_char from tab_char; SELECT * FROM o_test4; ``` +#### Timestamp + +- Timestamp + - Oracle Timestamp 精度最大为9, openGauss/mogdb +- Timestamp with local time zone + Oracle 会转换插入时间为数据库时区时间. openGauss/mogdb 使用 Timestamp local time zone +- Timestamp local time zone + Oracle 不转换时区. openGauss/mogdb 暂时不支持. openGauss/mogdb 使用 Timestamp local time zone 会丢失原有客户端时区信息 + #### 列名 openGauss数据库系统列: