http://iotn.co.kr ¿¬¶ôó: gilho.kr@gmail.com [ The Japanese government should apologize to Japanese Military Sexual Slavery victim. / ìíÜâïÙݤªÏìíÜâÏÚªÎàõîÜÒ¿ÖË?ßåíºªËÞóñªª¹ªÙª­. ]

»ç¿ëÀÚ

ID:
PW:

INDEX
01.°Ô½ÃÆÇ
°Ô½ÃÆÇ [69]
02.File Book
File ÀÚ·á½Ç [95]
Site Link [18]
°³ÀÎÆú´õ [194]
03.Field Book
Altibase [19]
Tibero [30]
MS-SQL [18]
MySQL [40]
DB2 [79]
ORACLE [2896]
PostgreSQL [103]
±âŸÁ¤º¸ [150]
¿î¿µÃ¼Á¦ [583]
04.Q/A Book
Q/A [53]
05.¹æ¸í·Ï
¹æ¸í·Ï [54]
·¹º§¾÷ [37]
±¸ÀÎ/±¸Á÷ [2]

±â³äÀÏ
Search
LINK
+ °¡Á· Hompy
+ DNSEver
IOTN :: Field Book :: ORACLE

 È¸¿ø°¡ÀÔ

impdp ORA-01400: cannot insert NULL into , ORA-01449: column contains NULL
ÃÖ±æÈ£ [LIST]   2022-04-19 12:03:55, Á¶È¸ : 89

impdp ÁøÇàÁß TABLE_DATA ¿¡·¯ ¹ß»ý
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
ORA-01400: cannot insert NULL into (CP_NO)
. . imported SCOTT.COUPON                          533.1 KB    9274 out of 9275 rows
select count(1) from SCOTT.COUPON where CP_NO is null;
°á°ú: 0 [ DB ¿À·ù°¡ ÀÖ¾î º¸ÀδÙ. ]
alter table SCOTT.COUPON modify CP_NO null;
Á¤»ó ½ÇÇà
-- alter table µÎ¹ø ½ÇÇà½Ã ORA-01451 ¹ß»ý
-- ORA-01451: column to be modified to NULL cannot be modified to NULL
desc SCOTT.COUPON
Name                                      Null?    Type
----------------------------------------- -------- ----------------------------
CP_NO                                     NOT NULL º¯È­ ¾ø´Ù.
index not null ¼Ó¼º ( Á¦¾à Á¶°Ç ) ¶§¹®¿¡ NOT NULL·Î º¸ÀδÙ. / Å×ÀÌºí ¼Ó¼ºÀº NULL ÀÔ·Â °¡´É
À妽º ¾ø´Â »óÅ¿¡¼­´Â NULL ·Î º¸ÀδÙ.


alter table SCOTT.COUPON modify CP_NO null;
expdp

imp ÁøÇàÁß CONSTRAINT ¿¡·¯ ¹ß»ý
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
ORA-01449: column contains NULL values; cannot alter to NOT NULL
Failing sql is:
ALTER TABLE "SCOTT"."COUPON" ADD CONSTRAINT "PK_BSCOUPON" PRIMARY KEY ("CP_NO", "CP_OUT") USING INDEX "SCOTT"."PKCOUPON"  ENABLE

select count(1) from SCOTT.COUPON where CP_NO is null;
  COUNT(1)
----------
         1 [ ¾ø´ø nullÀÌ ÀÖ´Ù ]

drop index "SCOTT"."PKCOUPON";
create index "SCOTT"."PKCOUPON" on "SCOTT"."COUPON" ("CP_NO", "CP_OUT") tablespace INDEX_TS;
18.207.157.152


  LIST

Á¦¸ñ ÀÛ¼ºÀÚ ÀÛ¼ºÀÏ Á¶È¸
Admin  [ °øÁö ] 😃 ¼­ºñ½º ½Ã°£ 08:00 ~ 23:00 / ¾ÈµÇ¸é ³ªÁß¿¡ ´Ù½Ã ¹æ¹® ÇØÁÖ¼¼¿ä~.😅    ÃÖ±æÈ£ 2008/11/26 113
Admin  [ ÇÊ¿ä ÇÏ½Å°Ô ÀÖÀ¸½Ã¸é ÂÊÁö ¶Ç´Â gilho.kr@gmail.com ¸ÞÀÏ ÁÖ¼¼¿ä~ ]    ÃÖ±æÈ£ 2006/07/14 134
Troubleshoot  ORA-12521 listener does not currently know of instance requested in connect descriptor    ÃÖ±æÈ£ 2022/08/09 3
Script  ogg save table DML total count to table lv:9   ÃÖ±æÈ£ 2022/08/08 4
Admin  UDI-31626: operation generated ORACLE error 31626    ÃÖ±æÈ£ 2022/08/02 7
SQL,PL*SQL  Á¦Ç° ÄÚµå, Á¤±â °Ë»ç, ´ÙÀ½ °Ë»ç °Ë»ö, Àç½Åû Çϸé Àç½ÅûÀÏ ±âÁØ ´ÙÀ½ °Ë»ç °Ë»ö    ÃÖ±æÈ£ 2022/07/28 16
Troubleshoot  ORA-1653: unable to extend table SYS.IDL_UB2$ by 128 in tablespace SYSTEM    ÃÖ±æÈ£ 2022/07/26 11
WebLogic  which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace    ÃÖ±æÈ£ 2022/07/20 15
Troubleshoot  ORA-04021 / ORA-00054 / select privilege# from sysauth$ where (grantee#=:1 or grantee#=1) and privilege#>0    ÃÖ±æÈ£ 2022/07/08 29
Oracle GoldenGate  ERROR OGG-00664 OCI Error beginning session (status = 1034-ORA-01034: ORACLE not available | 1031-ORA-01031: insufficient privileges).    ÃÖ±æÈ£ 2022/07/05 30
Troubleshoot  DDE: Problem Key 'ORA 600 [13310]' was completely flood controlled (0x6)    ÃÖ±æÈ£ 2022/06/29 39
Oracle GoldenGate  Replication may not be valid if the source data has an incompatible character for the target NLS_LANG character set.    ÃÖ±æÈ£ 2022/06/25 39
Admin  ORA-14452: attempt to create, alter or drop an index on temporary table already in use    ÃÖ±æÈ£ 2022/06/24 28
Admin  external table expdp    ÃÖ±æÈ£ 2022/06/18 46
Admin  clob to file / file to clob / clob_to_file / file_to_clob    ÃÖ±æÈ£ 2022/06/17 50
Troubleshoot  ORA-13203: failed to read USER_SDO_GEOM_METADATA view    ÃÖ±æÈ£ 2022/06/14 45
Troubleshoot  ORA-13249: SRID 5186 does not exist in MDSYS.CS_SRS table    ÃÖ±æÈ£ 2022/06/13 71
Troubleshoot  Exception in kzam_upd_props, 942:ORA-00942: table or view does not exist    ÃÖ±æÈ£ 2022/06/11 43

    ¸ñ·Ïº¸±â   ´ÙÀ½ÆäÀÌÁö 1 [2][3][4][5][6][7][8][9][10]..[145]   [´ÙÀ½ 10°³]
       

Copyright 1999-2022 Zeroboard / skin by ÃÖ±æÈ£(gilho.kr@gmail.com)
ÃÖ±Ù ´ñ±Û
2021/06/30
À©µµ¿ì ¼­¹ö¿¡¼­ sqlplus .... ORA-...
by ÃÖ±æÈ£
2021/06/30
ORA-28500: connection from O...
by ÃÖ±æÈ£
2019/05/02
pkg È®ÀÎ SELECT * FROM AL...
by ÃÖ±æÈ£
ÃÖ±Ù °Ô½Ã¹°
08/10
[¿î¿µÃ¼Á¦]
mobaxterm Remote desktop (RDP,....
by ÃÖ±æÈ£
08/09
[ORACLE]
ORA-12521 listener does not cu....
by ÃÖ±æÈ£
08/08
[ORACLE]
ogg save table DML total count....
by ÃÖ±æÈ£