我的编程空间,编程开发者的网络收藏夹
学习永远不晚

ORA-42000: invalid online redefinition column mapping for table “string”.”string&#

短信预约 -IT技能 免费直播动态提醒
省份

北京

  • 北京
  • 上海
  • 天津
  • 重庆
  • 河北
  • 山东
  • 辽宁
  • 黑龙江
  • 吉林
  • 甘肃
  • 青海
  • 河南
  • 江苏
  • 湖北
  • 湖南
  • 江西
  • 浙江
  • 广东
  • 云南
  • 福建
  • 海南
  • 山西
  • 四川
  • 陕西
  • 贵州
  • 安徽
  • 广西
  • 内蒙
  • 西藏
  • 新疆
  • 宁夏
  • 兵团
手机号立即预约

请填写图片验证码后获取短信验证码

看不清楚,换张图片

免费获取短信验证码

ORA-42000: invalid online redefinition column mapping for table “string”.”string&#

文档解释

ORA-42000: invalid online redefinition column mapping for table “string”.”string”

Cause: An attempt was made to change the logical structure of a materialized view log, queue table, or a partition by specifying a non-NULL column mapping during online redefinition.

Action: Pass a NULL column mapping parameter.

该错误消息指示在尝试使用Online Redefinition或DBMS_REDEFINITION进行表重定义时,提供的列映射无效。

官方解释

ORA-42000表明无效的列映射,当通过Online Redefinition(DBMS_REDEFINITION过程)重新定义表时,当使用DBMS_REDEFINITION.COLUMN_MAPPING进行列映射时,可能会发生这种情况。

常见案例

当DBMS_REDEFINITION.COLUMN_MAPPING用于定义表重定义过程时出现了一个错误:

SQL> BEGIN

2 DBMS_REDEFINITION.COLUMN_MAPPING( …

3 ‘table_name’,

4 ‘old_column_name’,

5 ‘new_column_name’);

6 END;

出现以下错误:

ORA-42000: invalid online redefinition column mapping for table “table_name”.”old_column_name”

一般处理方法及步骤

1.使用DBMS_REDEFINITION.VALIDATE_COLUMN_MAPPING检查列映射是否有效。如果不有效,它将生成错误消息,指出需要进一步确认的列映射。在修复错误之前,确保数据类型是可以重新定义单位的,并且保证不包含重复列和级联列。

2.如果在操作过程中发现有无效的列映射,请重新定义列映射,或者使用DBMS_REDEFINITION.SET_COLUMN_MAPPING替换旧的无效列映射。

3.重新定义重定义表时,使用DBMS_REDEFINITION.VALIDATE_COLUMN_MAPPINGS函数来确保列映射是有效的。

免责声明:

① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。

② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341

ORA-42000: invalid online redefinition column mapping for table “string”.”string&#

下载Word文档到电脑,方便收藏和打印~

下载Word文档

猜你喜欢

ORA-42000: invalid online redefinition column mapping for table “string”.”string&#

文档解释ORA-42000: invalid online redefinition column mapping for table string.stringCause: An attempt was made to
ORA-42000: invalid online redefinition column mapping for table “string”.”string&#
2023-11-05

ORA-32330: invalid operation on online redefinition interim table “string”.”string

文档解释ORA-32330: invalid operation on online redefinition interim table string.stringCause: An invalid operation was
ORA-32330: invalid operation on online redefinition interim table “string”.”string
2023-11-05

ORA-23673: Invalid resolution column “string” for table “string”.”stri

文档解释ORA-23673: Invalid resolution column string for table string.stringCause: The specified resolution column was
ORA-23673: Invalid resolution column “string” for table “string”.”stri
2023-11-05

ORA-42040: cannot online redefine table “string”.”string” with column of bin

文档解释ORA-42040: cannot online redefine table string.string with column of binary XML typeCause: An attempt was made
ORA-42040: cannot online redefine table “string”.”string” with column of bin
2023-11-05

ORA-42041: cannot online redefine table “string”.”string” with nested table

文档解释ORA-42041: cannot online redefine table string.string with nested table columnsCause: An attempt was made to
ORA-42041: cannot online redefine table “string”.”string” with nested table
2023-11-04

ORA-12091: cannot online redefine table “string”.”string” with materialized

文档解释ORA-12091: cannot online redefine table string.string with materialized viewsCause: An attempt was made to
ORA-12091: cannot online redefine table “string”.”string” with materialized
2023-11-05

ORA-42035: cannot online redefine IOT table “string”.”string” with CONS_USE_

文档解释ORA-42035: cannot online redefine IOT table string.string with CONS_USE_ROWIDCause: An attempt was made to
ORA-42035: cannot online redefine IOT table “string”.”string” with CONS_USE_
2023-11-05

ORA-12092: cannot online redefine replicated table “string”.”string” ORACLE

文档解释ORA-12092: cannot online redefine replicated table string.stringCause: An attempt was made to online redefine a
ORA-12092: cannot online redefine replicated table “string”.”string” ORACLE
2023-11-05

ORA-12088: cannot online redefine table “string”.”string” with unsupported d

文档解释ORA-12088: cannot online redefine table string.string with unsupported datatypeCause: An attempt was made to
ORA-12088: cannot online redefine table “string”.”string” with unsupported d
2023-11-05

ORA-42037: cannot online redefine table “string”.”string” with IOT overflow

文档解释ORA-42037: cannot online redefine table string.string with IOT overflow segmentCause: An attempt was made to
ORA-42037: cannot online redefine table “string”.”string” with IOT overflow
2023-11-05

ORA-42032: cannot online redefine table “string”.”string” with Flashback Dat

文档解释ORA-42032: cannot online redefine table string.string with Flashback Data Archive enabledCause: An attempt was
ORA-42032: cannot online redefine table “string”.”string” with Flashback Dat
2023-11-05

ORA-38900: missing mandatory column “string” of error log table “string” ORA

文档解释ORA-38900: missing mandatory column string of error log table stringCause: Mandatory column of error logging
ORA-38900: missing mandatory column “string” of error log table “string” ORA
2023-11-05

ORA-42036: cannot online redefine temporary table “string”.”string” ORACLE 报

文档解释ORA-42036: cannot online redefine temporary table string.stringCause: An attempt was made to redefine a
ORA-42036: cannot online redefine temporary table “string”.”string” ORACLE 报
2023-11-05

ORA-42030: cannot online redefine table “string”.”string” with commit SCN-ba

文档解释ORA-42030: cannot online redefine table string.string with commit SCN-based MV logCause: An attempt was made to
ORA-42030: cannot online redefine table “string”.”string” with commit SCN-ba
2023-11-05

ORA-12089: cannot online redefine table “string”.”string” with no primary ke

文档解释ORA-12089: cannot online redefine table string.string with no primary keyCause: An attempt was made to online
ORA-12089: cannot online redefine table “string”.”string” with no primary ke
2023-11-05

ORA-42029: cannot online redefine table “string”.”string” at this time ORACL

文档解释ORA-42029: cannot online redefine table string.string at this timeCause: An attempt was made to redefine a
ORA-42029: cannot online redefine table “string”.”string” at this time ORACL
2023-11-05

ORA-31084: error while creating table “string”.”string” for element “s

文档解释ORA-31084: error while creating table string.string for element stringCause: An error occurred while trying
ORA-31084: error while creating table “string”.”string” for element “s
2023-11-05

ORA-13706: Invalid value “string” specified for parameter “string” in “

文档解释ORA-13706: Invalid value string specified for parameter string in string analysis mode.Cause: The parameter
ORA-13706: Invalid value “string” specified for parameter “string” in “
2023-11-05

ORA-39791: Attribute “string” for column string is not in subtype “string”.&

文档解释ORA-39791: Attribute string for column string is not in subtype string.string.Cause: Attribute was not
ORA-39791: Attribute “string” for column string is not in subtype “string”.&
2023-11-05

ORA-39788: Subtype “string”.”string” is specified multiple times for column

文档解释ORA-39788: Subtype string.string is specified multiple times for column string.Cause: Subtype specified was not
ORA-39788: Subtype “string”.”string” is specified multiple times for column
2023-11-05

编程热搜

  • Python 学习之路 - Python
    一、安装Python34Windows在Python官网(https://www.python.org/downloads/)下载安装包并安装。Python的默认安装路径是:C:\Python34配置环境变量:【右键计算机】--》【属性】-
    Python 学习之路 - Python
  • chatgpt的中文全称是什么
    chatgpt的中文全称是生成型预训练变换模型。ChatGPT是什么ChatGPT是美国人工智能研究实验室OpenAI开发的一种全新聊天机器人模型,它能够通过学习和理解人类的语言来进行对话,还能根据聊天的上下文进行互动,并协助人类完成一系列
    chatgpt的中文全称是什么
  • C/C++中extern函数使用详解
  • C/C++可变参数的使用
    可变参数的使用方法远远不止以下几种,不过在C,C++中使用可变参数时要小心,在使用printf()等函数时传入的参数个数一定不能比前面的格式化字符串中的’%’符号个数少,否则会产生访问越界,运气不好的话还会导致程序崩溃
    C/C++可变参数的使用
  • css样式文件该放在哪里
  • php中数组下标必须是连续的吗
  • Python 3 教程
    Python 3 教程 Python 的 3.0 版本,常被称为 Python 3000,或简称 Py3k。相对于 Python 的早期版本,这是一个较大的升级。为了不带入过多的累赘,Python 3.0 在设计的时候没有考虑向下兼容。 Python
    Python 3 教程
  • Python pip包管理
    一、前言    在Python中, 安装第三方模块是通过 setuptools 这个工具完成的。 Python有两个封装了 setuptools的包管理工具: easy_install  和  pip , 目前官方推荐使用 pip。    
    Python pip包管理
  • ubuntu如何重新编译内核
  • 改善Java代码之慎用java动态编译

目录