목록오라클 (3)
승적이익강 (勝敵而益强)
오라클에서 .sql로 백업된 파일을 INSERT시 특수문자에 대한 오류가 발생한다.이때 사용할수 있는 설정이 set define 이다 대입변수로 쓰일 때, 앞글자(prefix)를 설정【형식】 set define {& ¦ c ¦ on ¦ OFF} on enable off disable & 디폴트문자 c on에서 디폴트 &을 다른 문자로 지정 예)SQL> show define define "&" (hex 26) SQL> show scan scan on SQL> SET DEFINE OFF; 은 insert 문의 텍스트 데이터 줄바뀜 등의 문제를 해결한다.상단에 기술 후 insert문 수행하면 된다. 참고! ----------------------------------------------------------..
create table AUDIT_ACTIONS( * ERROR at line 1: ORA-00600: internal error code, arguments: [kqlInvObj:user] $ impdp system/xxxxx@UAT dumpfile=oam20130605.dmp SCHEMAS=APM Import: Release 11.2.0.1.0 - Production on Thu Jun 6 14:06:18 2013Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Product..
ORA-28000: the account is locked Cause: The user has entered wrong password consequently for maximum number of times specified by the user's profile parameter FAILED_LOGIN_ATTEMPTS, or the DBA has locked the account Action: Wait for PASSWORD_LOCK_TIME or contact DBA Alter user system account unlock;