본문 바로가기

오라클 연관테이블에 매핑된 레코드 존재여부 확인 출처: http://limyt.tistory.com/18오라클 연관테이블에 매핑된 레코드 존재여부 확인☆리미트☆| 2011/01/19 22:30 | etc. | 1댓글 1SNS로 공유하기더보기A와 B 테이블이 있다고 할때 A 테이블의 전체 리스트를 뿌리고 B테이블에 A가 있는지만 확인하고 싶을때 다음과 같이 조회 할 수 있습니다. SELECT A.UID , A.NAME , A.LABEL , B.UID , NVL2(B.UID, 'Y', 'N') CHKFROM AAA A, BBB BWHERE A.UID = B.UID(+) CHK 가 존재 유무가 되겠네요 존재한다면 Y 없다면 N !! 더보기
[extJs] 드래그 가능한 그리드 설정.///Multiline Row in a Grid 스크롤 가능한 그리드 설정. extJshttp://docs.sencha.com/extjs/4.1.3/#!/api/Ext.AbstractComponent-property-draggableExtJs.Grid.PanelPropertiesDefined ByInstance properties Ext.AbstractComponentdraggable : Boolean READONLYIndicates whether or not the component can be dragged. Defaults to: false Available since: 4.0.0 ========================================================================================== ht.. 더보기
문자열로 출력하기. StringBuffer stringBuffer = new StringBuffer();stringBuffer.append("파일로 출력할 문자열"); // UTF-8 로 강제 변환 stringBuffer.append(" "); //ByteArrayInputStream bais = new ByteArrayInputStream(HtmlSpecialCharacter.convert(stringBuffer.toString()).getBytes("UTF-8")); ByteArrayInputStream bais = new ByteArrayInputStream(stringBuffer.toString().getBytes("UTF-8"));BufferedOutputStream bos = new BufferedOutputSt.. 더보기