JSP

<?xml version='1.0' ?> < import="java.util.Date"%> <%@ page contentType="text/html; charset=euc-kr" %> <% request.setCharacterEncoding("ksc5601"); %> <%@ page import="java.text.*,                  java.lang.*,                  java.util.*,                  java.sql.*,                  java.math.*,                  frw.common.lib.*,                  frw.common.dto.*,                  com.common.lib.jr...

sql multi select example

SELECT a.CAL_YMD,c.ORG_NM,        (SELECT COUNT (*) FROM HRM_DINNER_APPL d WHERE d.CAL_YMD = a.CAL_YMD AND d.CHECK_YN = 'Y' ) AS cnt FROM HRM_DINNER_APPL a , HRM_EMP_V c WHERE c.EMP_ID = a.EMP_ID   AND a.CAL_YMD >= ?   AND a.CAL_YMD <= ?   AND c.ORG_ID LIKE ? GROUP BY a.CAL_YMD,c.ORG_NM      ORDER BY a.CAL_YMD,c.ORG_NM

JSP

<?xml version='1.0'?> < import="java.util.Date"%> <%@ page language="java" import="java.rmi.*, javax.rmi.*, javax.naming.*," %> <%@ page import="hrm.ejb.biz.IHrm_dinner_applBean" %> <%@ page import="hrm.ejb.biz.IHrm_dinner_applHome" %> <%@ page import="hrm.ejb.biz.IHrm_dinner_appl" %> <%@ page contentType="text/html; charset=euc-kr" %> <%@ page import="java.text.*,                  java.lang.*,                  java.util.*,                  java.sql.*,                  java.sql.ResultSet,                  java.math.*,    ...

Windows 2003 Server

Windows Server 2003, Standard Edition 4 processors, 4 GB of RAM Windows Server 2003 SP1, Standard Edition 4 processors, 4 GB of RAM Windows Server 2003 SP2, Standard Edition 4 processors, 4 GB of RAM Windows Server 2003, Enterprise Edition 8 processors and 32 GB RAM Windows Server 2003 SP1, Enterprise Edition 8 processors, 32 GB for x86-based computers 64 GB for Itanium-based computers Windows Server 2003 SP2, Enterprise Edition 8 processors, 64 GB for x86-based computers 2 TB for x64 and ia64 computers Windows Server 2003, Datacenter Edition 32 processors and 64 GB RAM Windows Server 2003 SP1, Datacenter Edition 64 processors, 64 GB for x86-based computers 512 GB for Itanium-based computers Windows Server 2003 SP2, Datacenter Edition 64 processors, 128G for x86-based computers 2 TB for x64 and ia64 computers Windows 2003 R2의 경우는 Windows Server 2003 R2 Standard x64 Edition: 최대 32 GB RAM, 4 Processors Windows Server 2003 R2 Enterprise x64 Edition: 최대 2 terabyt...

Oracle Column Modify - Memo

ALTER TABLE TABLE_NAME MODIFY (column datatype [DEFAULT 식] [NOT NULL][column DataType]); ex) alter table s_table 2 modify (title varchar2(50));     table altered

ArrayList Basic

java.util.ArrayList java.util 팩키지의 ArrayList에 대해서 살펴보자. Array는 배열이고, ArrayList는 배열을 리스트처럼 삽입, 삭제가 쉽도록 만든 Collection이다. (※참고 : ArrayList는 동기화되어 있지 않다. 따라서 Thread 사용시 동기화과정이 필요하다.) ArrayList에서 자주 사용하는 메소드는 add(Object o) 객체 매개변수(o)를 목록에 추가한다. remove(int index) index 매개변수로 지정한 위치에 있는 객체를 제거한다. contains(Object o) 객체 매개변수 o에 매치되는 것이 있으면 ‘참’을 리턴한다. isEmpty() 목록에 아무 원소도 없으면 ‘참’을 리턴한다. indexOf(Object o) 객체 매개변수(o)의 인덱스 또는 -1을 리턴한다. size() 현재 목록에 들어있는 원소의 개수를 리턴한다. get(int index) 주어진 index 매개변수 위치에 있는 객체를 리턴한다.

Oracle 한글깨짐현상

1). sqlplus /nolog 2). conn /as sysdba; 3). select name,value$ from sys.props$; 4). update sys.props$      set value$='AMERICAN_AMERICA.KO16MSWIN949'           // or 'AMERICAN_AMERICA.KO16KSC5601'      where name='NLS_LANGUAGE'; 5). commit; 6). shutdown 7). startup