executeQuery

Execute 1. 수행결과로 Boolean 타입의 값을 반환합니다.2. 모든 구문을 수행할 수 있습니다. execute 함수를 사용하는 방법입니다. -> 리턴값이 ResultSet 일 경우에는 true, 이 외의 경우에는 false 로 출력됩니다. -> 리턴값이 ResultSet 이라고 하여 ResultSet 객체에 결과값을 담을 수 없습니다.PreparedStatement pstmt = con.prepareStatement("INSERT INTO SAMPLE_TABLE VALUES (?, ?)"); pstmt.setInt(1, 200); pstmt.setString(2, "Jerry"); boolean result = pstmt.execute(); System.out.println("Result : ..
연동 환경 서버 OS CentOS Linux release 7.3.1611 DATABASE Goldilocks 3.1.0 r23084 클라이언트 OS Windows 10 SQL Tool ExecuteQuery v4.3.4 ExecuteQuery 다운로드 1. http://executequery.org/index.php 사이트에 접속합니다. 2. Download 탭을 클릭합니다. 3. zip 파일은 선택하여 다운로드를 진행합니다. ExecuteQuery 실행 1. zip 파일을 압축해제 합니다. 2. eq.exe 프로그램을 실행합니다. ExecuteQuery 드라이버 설정 1. Drivers 를 클릭 한뒤, 톱니모양 아이콘을 클릭합니다. 2. JDBC 드라이버를 등록합니다. 아래 표는 JDBC url 등록..
꽁담
'executeQuery' 태그의 글 목록