오라클 정규식 (REGEXP_LIKE) REGEXP_LIKE(Column,'[a-z]|[A-Z]|[0-9]|[가-히]') 오라클 함수 : REGEXP_LIKE 해석 : 컬럼이 알파벳 a-Z까지, 숫자, 한글이 포함된 데이터에 대한 조건 더보기 DB export/import (tablespace가 다를경우) step.1 #db를 export한다. exp userid=system/pwd file=dump.dmp owner=olduser step.2 #schema 추출한다. imp userid=system/pwd file=dump.dmp fromuser=olduser touser=newuser indexfile=schema.sql constraints=n log=scheme.log ***주의*** - 옵션 constraints : 제약조건 (FK, PK) 쿼리도 가져오기때문에 데이터를 입력시 제약조건 에러가 발생할수있다. step.3 #scheme 수정 (추출한 schema.sql을 필요없는 부분, tablespace를 편집한다.) - REM 일괄 제거 - REM ... row n 주석처리(--) (정규식 : .. 더보기 오라클 사용자 tablespace 변경 단순하게 물리적인 Tablespace이동이라면 파일 이동하시면 됩니다. Step1) Tablespace OffLine -> ALTER TABLESPACE tablespace명 OFFLINE; Step2) file copy -> cp oldfile newfile Step3) Target Tablespace 수정 -> ALTER DATABASE tablespace명 rename file 'oldFile' to 'newFile'; Step4) Tablespace OnLine -> ALTER TABLESPACE tablespace명 ONLINE; 단, 시스템 TableSpace이라면 shutdown 하셔야합니다. 그런데 그게아니라 특정 테이블의 TableSpace이동이라면 수동으로 Target Table과 Co.. 더보기 이전 1 ··· 7 8 9 10 11 12 13 ··· 26 다음