ORA-02449 Oracle Drop Table Error 오라 - 02449 오라클 드롭 테이블 오류

Sometimes when dropping a table in Oracle database by executing DROP TABLE SQL statement, Oracle may return the error ORA-02449 as below: 가끔 몸값 SQL 문을 실행하여 Oracle 데이터베이스 테이블에 자리를 떨어뜨리고, 오라클은 아래와 같은 오류를 반환할 수있습니다 ORA - 02449 :

ORA-02449: unique/primary keys in table referenced by foreign keys ORA - 02449 : 외국 열쇠에 의해 참조된 테이블에서 고유 / 기본 키

The Oracle error is caused by the attempt to drop a table with unique or primary keys referenced by foreign keys in another table, or in other word, the table that is referenced as a parent table by a foreign key constraint in a parent-child relationship that established between two tables through a foreign key. 오라클 오류 독특한 시도 또는 기본 키를 다른 테이블, 또는 다른 단어에서 외국인과 함께 열쇠에 의해 참조된 테이블을 드롭하여, 부모 테이블로 부모 테이블에서 외래 키 제약 - 자녀 관계에 의해 참조되는 원인이됩니다 그 두 개의 테이블 사이에 외래 키를 통해 설립했다. Oracle does not allow to drop tables referenced by foreign keys of other tables without specifying the CASCADE CONSTRAINTS option in the DROP TABLE statement, or to drop the parent table without first removing the foreign key. 오라클 테이블을 다른 테이블의 외국인 TABLE 문을 열쇠로하거나 드롭에서 캐스케이드 옵션을 지정하는 제약 최초의 외국인 핵심을 제거하지 않고 부모없이 참조된 테이블 드롭 드롭을 허용하지 않습니다.

The solution and workaround for the error when you want to drop tables referenced by child tables, is to use the CASCADE CONSTRAINTS option in the DROP TABLE statement. 솔루션과 해결 방법은 오류가 발생하면 아이를 테이블에 의해 참조된 테이블 드롭으로, 드롭 TABLE 문을에서 캐스케이드 제약 원하는 옵션을 사용하는 것입니다. For example: 예를 들면 :

DROP TABLE table_name CASCADE CONSTRAINTS; 몸값 CASCADE는 TABLE TABLE_NAME에 제약;

The CASCADE CONSTRAINTS option in the DROP TABLE SQL statement will drop the FOREIGN KEY constraints of the child tables referenced. 드롭는 TABLE SQL 문을에서 캐스케이드 제약 옵션은 아이 참조된 테이블의 외래 키 제약을 내릴 것이다.

Alternatively, you can manually drop and remove the foreign key key constraints in other tables before performing the DROP TABLE operations on the parent table, drop the foreign key constraints in other tables. 또는 수동으로 떨어질 수 있으며 다른 테이블에 부모 테이블에 드롭 TABLE의 작업을 수행하기 전에, 다른 테이블에서 외래 키 제약 드롭 외국인 키를 제약 조건을 제거합니다. To check what constraints are referencing a table in Oracle, use the following command: 오라클에서 테이블을 참조하는 어떤 제약, 다음 명령을 사용하여 확인하려면 :

SELECT * FROM USER_CONSTRAINTS WHERE TABLE_NAME = “ table_name “; * USER_CONSTRAINTS 어디에서 TABLE_NAME에 선택 = "TABLE_NAME에";

To drop and delete the user constraints in Oracle use the following command in SQL*Plus, Toad or other SQL tools: 드롭하려면 SQL에 * 플러스, 두꺼비 또는 다른 SQL 도구는 다음 명령을 사용하여 사용자가 오라클에 제약을 삭제 :

ALTER TABLE table_name DROP CONSTRAINT constraint_name ; TABLE_NAME에 ALTER TABLE의 몸값 CONSTRAINT constraint_name;

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 중요 :이 기계는 "보증도없이있는 그대로"제공됩니다 페이지를 번역했다. Machine translation may be difficult to understand. 기계 번역을 이해하기 어려울 수있습니다. Please refer to 을 참조하시기 바랍니다 original English article 원래 영어 문서 whenever possible. 언제든 가능합니다.

Share and contribute or get technical support and help at 공유와 기여하거나 기술 지원과에 도움이 My Digital Life Forums 내 디지털 생활 포럼 .



3 Responses to “ORA-02449 Oracle Drop Table Error” 3 응답을 "ORA - 02449 오라클 테이블 드롭 오류"

  1. vipin
    February 8th, 2007 18:51 2 월 8 일 2007 18:51
    1

    what if after dropping the table using the query blow you want again all those constraints. 어떤 경우에는 테이블을 다시 제약을 원하는 모든 이들을 사용하여 쿼리를 날려 떨어지고있다.

    DROP TABLE table_name CASCADE CONSTRAINTS; 몸값 CASCADE는 TABLE TABLE_NAME에 제약;

    please tell the query if u knows. 으로 U 안다면 쿼리를 알려 주시기 바랍니다.

  2. f
    July 3rd, 2008 06:30 2008년 7월 3일 06:30
    2

    Constrangimentos? Orra, meu revisa essa tradução aí e testa antes de postar!!! Orra, meu revisa ESSA tradução 있나 종피 전자 Antes 드 POSTAR이야! Se não seja honesto e indica o link de onde pegou!!! 남동 이도 전자 seja 정직한냅니다 O를 연결 드 onde pegou ~!

  3. sangam 상암동
    July 24th, 2008 13:21 7 월 24 일 2008 13:21
    3

    Great! 훌륭한! The information provided is very helpful. 정보를 제공한 것은 매우 도움이된다. It seems to be simple but really halps an lot. 그것은 단순하게 보이지만 정말 많이 halps. Thanks again. 다시 한번 감사드립니다.

Leave a Reply 회신을 남겨주세요

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> 이러한 태그 : title="">은 <a href="" 사용할 수있습니다 <abbr title=""> <acronym title="">의 <b> <blockquote cite=""> <cite>의 <code> <밤 날짜 = "">은 <em>가 <i> <q cite=""> <strike>의 <strong>

Subscribe without commenting 코멘트를 구독하지 않고


Custom Search

New Articles 새 문서

Incoming Search Terms for the Article 에 대한 검색 약관받는 제

ORA-02449 ORA - 02449 - - ORA-02449: unique/primary keys in table referenced by foreign keys ORA - 02449 : 외국 열쇠에 의해 참조된 테이블에서 고유 / 기본 키 - - oracle drop table 오라클 테이블 드롭 - - drop package cascade+ oracle 드롭 패키지 계단식 + 오라클 - - 02449 02449 - - db2 drop parent table lost foreign key child table 드롭 아이를 잃은 부모의 DB2 테이블의 외래 키 테이블 - - deleting referenced keys in a table oracle 오라클은 테이블에서 참조 키 삭제 - - DROP TABLE + ORACLE 드롭 테이블 + 오라클 - - foreign key oracle delete 외국 주요 오라클 삭제 - - how to find the dropped table in oracle 오라클에서 테이블을 찾는 방법을 떨어뜨 - - how to drop table in oracle 오라클에서 테이블을 드롭하는 방법 - - oracle drop tables 오라클 테이블 드롭 - - oracle drop table error 오라클 드롭 테이블 오류 - - oracle "delete table" cascade 오라클은 ""계단식 테이블을 삭제합니다 - - create table on delete cascade oracle 계단식 삭제를 만들 오라클 테이블 - - drop table force constrain oracle 드롭 테이블에 강제 억누르다 오라클 - - drop table cascade constraint 드롭 테이블을 계단식으로 제약 - - DROP ORACLE 몸값은 ORACLE - - drop table referenced by other table in oracle 오라클에있는 다른 테이블에 의해 참조된 테이블 드롭 - - drop all tables oracle 오라클은 모든 테이블 드롭 - - dropping two constraints +oracle 두 가지 제약이 떨어지고 + 오라클 - - Drop table unique key in oracle 오라클에 버려 테이블의 고유 키 - - how to fine which ORA ERROR ARE CAUSED BY WHICH USER IN ORACLE ORA 오류로 인해 발생하는 벌금을 부과하는 방법은 어떤 사용자 오라클, - - how to drop a table regardless of foreign keys oracle 오라클의 테이블을 드롭하는 방법에 관계없이 외국 열쇠를 - - oracle drop all user constraints 오라클은 모든 사용자의 드롭 제약 - - oracle drop cascade 오라클은 드롭 작은 폭포 - - oracle drop constraint force 오라클 제약 강제 드롭 - - Oracle force drop table 오라클은 강제로 드롭 테이블 - - oracle:drop table cascade 오라클 : 드롭 테이블을 계단식 - - WHAT DROP TABLE CASCADE CONSTRAINTS WILL DO; 무엇을 할 테이블을 계단식으로 제약 드롭; - - delete constraint oracle force 오라클 제약 강제 삭제 - - delete tables with cascade option 계단식 옵션과 함께 테이블을 삭제 - - drop force constraint 드롭 강제로 제약 - - drop constraint oracle 드롭 오라클 제약 - - DROP TABLE foreign key disable oracle 몸값 TABLE의 외국 주요을 비활성화 오라클 - - drop all constraint oracle 오라클 드롭 모든 제약 - - get refernced table in oracle 오라클에서 테이블을 얻을 refernced - - oracle: how to drop table with foreign key 오라클 : 외래 키와 함께 테이블을 드롭하는 방법 - - oracle "drop all tables" 오라클은 ""모든 테이블 드롭 - - oracle drop table 오라클 테이블 드롭 - - oracle delete from table and disable foreign keys 오라클 테이블과 외국 열쇠에서 삭제할 해제 - - oracle drop constraint 오라클 제약 드롭 - - oracle delete foreign keys 오라클은 외국 키를 삭제 - - oracle drop foreign key 오라클 드롭 외래 키 - - oracle drop 오라클 드롭 - - removing constraint from oracle table 오라클은 테이블에서 제약을 제거 - - Toad create constraint referenced table 두꺼비 참조된 테이블 제약 조건을 만들 - - db2 drop tables cascade constraints 드롭 제약은 DB2 테이블을 계단식 - - drop table cascade contraints + foreign keys 테이블 드롭 계단식 contraints + 외국 열쇠 - - force drop of table 테이블의 드롭 포스 - -