[DB] null 체크 문

DB 2009. 3. 19. 14:28
select * from table_aaa where u_data is null;

: u_data가 null인 사용자

select * from table_aaa where u_data is not null;

: u_data에 내용이 들어있는 사용자

등록일: 2002-01-28 10:35:49

'DB' 카테고리의 다른 글

[DB] decode함수 예제  (0) 2009.03.19
[DB] 기존 data 이용 테이블 생성 또는 입력  (0) 2009.03.19
[DB] update join  (0) 2009.03.19
[DB] select join  (0) 2009.03.19
[DB] 현재시간과 DB시간 비교  (0) 2009.03.19
Posted by 잘 살아보세
,