| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
| 29 | 30 | 31 |
- window
- Spring
- MSSQL
- react
- IntelliJ
- tomcat
- 보조정렬
- plugin
- Kotlin
- 공정능력
- table
- vaadin
- Android
- hadoop
- JavaScript
- mapreduce
- SQL
- Eclipse
- xPlatform
- SPC
- Python
- Express
- R
- es6
- GIT
- NPM
- mybatis
- SSL
- Java
- Sqoop
- Today
- Total
목록database (65)
DBILITY
특정 tablespace만 export exp 사용자/비밀번호@SID file=파일이름.dmp tablespaces=테이블스페이스명 exp system/비밀번호@oraone file=users.dmp tablespaces=USERS 특정 table만 다른 스키마에 import imp 사용자/비밀번호@SID file=파일이름.dmp fromuser=테이블소유자(스키마) touser=대상소유자(스키마) tables=(테이블1,테이블2,테이블N) imp system/비밀번호@oraone file=users.dmp fromuser=scott touser=ktgs tables=(emp,dept,salgrade) INSERT INTO 복구대상유저.복구대상테이블 SELECT * FROM 백업유저.백업테이블 WHE..
날짜와 시간의 표기에 관한 국제 표준 규격 ISO8601를 참고하세요. https://ko.wikipedia.org/wiki/ISO_8601 ISO 8601 - 위키백과, 우리 모두의 백과사전 ISO 8601 Data elements and interchange formats - Information interchange - Representation of dates and times은 날짜와 시간과 관련된 데이터 교환을 다루는 국제 표준이다. 이 표준은 국제 표준화 기구(ISO)에 의해 공포되 ko.wikipedia.org 당해 1일부터 일주일 단위로 계산됩니다. SELECT TO_CHAR(TO_DATE('20161230'),'WW') FROM DUAL; 당일이 속한 주가 하루라도 다음 해인 경우 다음..
MERGE 사용시 0901오류 발생 SQL0901: SQL system error. Cause . . . . . : An SQL system error has occurred. The current SQL statement cannot be completed successfully. The error will not prevent other SQL statements from being processed. Previous messages may indicate that there is a problem with the SQL statement and SQL did not correctly diagnose the error. The previous message identifier was CPF4204. ..
전년도(2015)에 database.sarang.net에 답변해 드린 내용입니다. 지금보니 내가 한게 맞는지 의문이 들고 있음. 11G부터는 PIVOT을 지원합니다. WITH A(NO,COUNT,LOWER_BND) AS ( SELECT 'A001',1,80 FROM DUAL ), B(NO,COUNT,I_NO,AMT) AS ( SELECT 'A001',1,1,1000 FROM DUAL UNION ALL SELECT 'A001',1,2,3000 FROM DUAL ), C(NO,COUNT,SEQ,VENDOR,AMT) AS ( SELECT 'A001',1,1,'A1',3000 FROM DUAL UNION ALL SELECT 'A001',1,1,'A2',1000 FROM DUAL UNION ALL SELECT '..
오라클에서 테스트 되었으며, 생각나는대로 작성했습니다. 오라클뿐만 아니라,요즘엔 CTE ( Common Table Expression )이 표준에 포함되어 대부분 지원하니까 다른 벤더제품에서도 응용하면 됩니다. 첫번째 WITH T1 ( CD , CN1 ,CN2 ,CN3 ,CN4,CN5 ) AS ( SELECT '1001','1','2','3','4','5' FROM DUAL UNION ALL SELECT '1001','6','7','8','9','10' FROM DUAL ), T2 AS ( SELECT LEVEL RN FROM DUAL CONNECT BY LEVEL