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 |
Tags
- instr
- 한글입력체크
- 정규식
- tempDB
- sql업데이트
- JavaScript
- sql순위
- MSSQL보안
- VARIABLE
- 인젝션
- 이미지가로길이
- join
- VarType
- WML
- xmldom
- wap
- 자바기초
- ERD
- array
- asp함수
- inner join
- 이미지세로길이
- FileSystemObject
- XML
- jdbc driver
- update
- sql랭킹
- javascript 한글입력체크
- SPLIT
- injection
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