Insert

Database/Oracle

[Oracle SQL] DML (Data Manipulation Language) 예제

Data 조작어(DML, Data Manipulation Language) 테이블에 새 행을 추가 하거나, 기존 행 수정 또는 기존 행 삭제 등의 논리 작업 단위를 형성하는 DML문 모음을 트랜잭션(Transaction)이라 한다. SELECT SELECT문은 데이터베이스에서 정보를 검색한다. SELECT [DISTINCT] { *, column [alias], ... } FROM table [WHERE condition]; SELECT 절은 표시할 컬럼을칼럼을 지정하고, FROM 절은 SELECT 절에 나열된 칼럼을 포함하는 테이블을 지정한다. SELECT : 하나 이상의 컬럼으로 구성되는 목록 DISTINCT : 명시하는 경우 중복되는 칼럼을 생략 * : 모든 컬럼 선택 column : 명명된 칼럼을..

Programing Language/Java

PreparedStatement - Connection.prepareStatement()

공식 문서 참조 https://docs.oracle.com/javase/7/docs/api/java/sql/PreparedStatement.html PreparedStatement (Java Platform SE 7 ) Sets the designated parameter to SQL NULL. This version of the method setNull should be used for user-defined types and REF type parameters. Examples of user-defined types include: STRUCT, DISTINCT, JAVA_OBJECT, and named array types. Note: To be portable, docs.oracle.com 데이..

밈아
'Insert' 태그의 글 목록