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 |
Tags
- javascript 한글입력체크
- jdbc driver
- tempDB
- ERD
- join
- VarType
- VARIABLE
- sql랭킹
- 정규식
- WML
- xmldom
- 이미지가로길이
- 인젝션
- instr
- 이미지세로길이
- SPLIT
- array
- injection
- sql순위
- wap
- update
- sql업데이트
- inner join
- XML
- asp함수
- 자바기초
- FileSystemObject
- MSSQL보안
- JavaScript
- 한글입력체크
Archives
- Today
- Total
목록sql날짜 (1)
3초기억력
ASP - 오늘 날짜 구할때
today_time = Year(now) & Right("0"&Month(now),2) & Right("0"&day(now),2) 대부분 sql 쿼리문 짤때 asp 단에서 저렇게 월/일을 2자리로 안하면, 쿼리가 안되는 경향이... select * from 테이블 where convert(varchar(10), gedate(), 121) = '"& Year(now) &'-'& Right("0"&Month(now),2) &'-'& Right("0"&day(now),2) &"'" select * from 테이블 where convert(varchar(8), gedate(), 112) = '"& Year(now) & Right("0"&Month(now),2) & Right("0"&day(now),2) &"'"
플밍_ASP
2008. 11. 17. 12:02