Notice
Recent Posts
Recent Comments
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- xmldom
- join
- javascript 한글입력체크
- SPLIT
- 이미지가로길이
- inner join
- MSSQL보안
- array
- wap
- 인젝션
- injection
- 한글입력체크
- sql랭킹
- XML
- 이미지세로길이
- VarType
- sql업데이트
- update
- FileSystemObject
- asp함수
- 자바기초
- jdbc driver
- 정규식
- instr
- VARIABLE
- JavaScript
- tempDB
- WML
- ERD
- sql순위
Archives
- Today
- Total
3초기억력
오라클 - case 문 본문
select t1, t2, t3,
case t4
when '1' then 'OK'
when '2' then 'Fail'
end as t4_YN
from dual;
select t1, t2, t3,
when '1' then 'OK'
when '2' then 'Fail'
end as t4_YN
from dual;
select t1, t2, t3,
case
when t4 >= 1000 then 'OK'
when t4 >= 2000 then 'Fail'
end as t4_YN
from dual;
when t4 >= 1000 then 'OK'
when t4 >= 2000 then 'Fail'
end as t4_YN
from dual;
'쿼리_MSSQL' 카테고리의 다른 글
| MS-MQL : 암호화, 암호화 컬럼 비교 ( PwdEncrypt, PwdCompare ) (0) | 2011.08.16 |
|---|---|
| Oracle - insert, update 한번에 처리하는 쿼리문 (0) | 2011.04.28 |
| 오라클 - 스칼라 서브쿼리란? (0) | 2011.04.08 |
| 오라클 - 게시판 이전글 다음글 seq 가져오기 (0) | 2011.04.04 |
| MS-SQL- insert row 스크립트 생성 SP (0) | 2010.11.11 |
Comments