메뉴 건너뛰기

tnt_db

DB2 결과를 n개 행만을 취할때

원우석 2004.07.31 13:14 조회 수 : 2485 추천:63

select user_nm from user_tbl  fetch first 1 row only with ur;

설명]
fetch first n row[s] only => n개 행을 적는다
with ur => ur모드
위로