ORA-39361: Source time zone is string and target time zone is string.

文档解释

ORA-39361: Source time zone is string and target time zone is string.

Cause: The time zone of the source database is different than the time zone of the target database.

Action: Tables containing TIMESTAMP WITH LOCAL TIME ZONE data cannot be imported with transportable tablespace technology when time zones are different between the export and target databases. All affected tables will be reported during the import job and will not be created. If any are reported, convert the target database to the same time zone as the source or use Oracle Data Pump with conventional data movement to export then import the affected tables.

ORA-39361:指出将源时区转换为目标时区时出错。例如,当将源时区GMT(即Greenwich Mean Time)转换为目标时区EST(即Eastern Standard Time)时,可能会发生此错误。

官方解释

ORA-39361:转换源时区到目标时区时出错

常见案例

常见的原因是源或目标时区的格式不正确。另外一个原因是数据库上没有安装某个时区的补丁。

一般处理方法及步骤

1.确认源时区和目标时区的正确名称格式,并检查字段是否合理;

2.通过查询V$TIMEZONE_NAMES视图来验证相应的时区名称元数据是否正确;

3.如果时区名称在V$TIMEZONE_NAMES视图中不存在,则可以使用DBMS_DST包安装相应的时区补丁;

4.仅在确定时区名称格式正确,且已安装时区补丁的情况下,进行转换操作。

你可能感兴趣的