본문 바로가기

개발관련/개념 용어

[개념 용어] statement

728x90

something that someone says or writes officially, or an action done to express an opinion.

성명, 진술, 서술

 

programming 에서의 statement 는 명령 문장.

db에 작업을 지시하는 query 등, 명령 그 자체는 말하는 것이라 파악해도 될 듯.

 

예를 들어, JAVA의 Statement 객체

 

( Connection 객체를 사용할 때는 SQLException 예외처리를 위해 try-catch 로 감싸주어야 한다. )

쿼리를 실행하기 위해 명령문을 넘겨주는 PreparedStatement 객체를 사용하는데

명령문을 주는 역할을 한다.

 

 

 

 

https://genesis8.tistory.com/216

 

statement란?

DB에 관련해서 statement가 나왔는데 무엇인지 의미 파악이 잘 되지 않아서 검색해보았다. //statement의 영어 검색을 한국어로 보니 다음과 같이 나온다. // 위키백과 문 (프로그래밍) 위키백과, 우리

genesis8.tistory.com