Download 5-1.DB&JDBC

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
JDBC 프로그래밍 (5/6)
• SQL문 ì „ì†¡ (executeQuery)
– SQL문 처리
– executeQuery() 메소드 : SELECT 문 처리
형식
예
stmt. executeQuery(String sql);
stmt. executeQuery("SELECT * FROM tblMember");
– executeUpdate() 메소드 : INSERT, UPDATE, DELETE 문 처리
형식
예
stmt.stexecuteUpdate(String sql);
stmt.stexecuteUpdate("INSERT INTO tblMember (id, pwd, name, phone)
VALUES ('melon', '4444', '이수용', '019-999-9999')");
Related documents