ํฐ์คํ ๋ฆฌ ๋ทฐ
dateadd(year, 1, UpdateDate)
datepart | Abbreviation |
---|---|
year | yy, yyyy |
quarter | qq, q |
month | mm, m |
dayofyear | dy, y |
day | dd, d |
week | wk, ww |
weekday | dw, w |
hour | hh |
minute | mi, n |
second | ss, s |
millisecond | ms |
microsecond | mcs |
nanosecond | ns |
์)
SELECT OrderId,DATEADD(day,45,OrderDate) AS OrderPayDate
FROM Orders
FROM Orders
'MS-SQL' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
truncate ์ ์ฝ์กฐ๊ฑด ๋๋ฌธ์ ์๋ ๋ (0) | 2014.02.26 |
---|---|
table data type, data size ๋ณ๊ฒฝํ๊ธฐ (0) | 2014.02.07 |
ํ ์ด๋ธ ์์ฑํ์ ๋ฐ๋ก๋ณต์ฌ (0) | 2013.12.17 |
์ธ๋ฑ์ค ์์ฑ ๋ฐ ์ญ์ (0) | 2013.12.12 |
ํ ์ด๋ธ ์์ (0) | 2013.09.27 |
๋๊ธ
๊ณต์ง์ฌํญ
์ต๊ทผ์ ์ฌ๋ผ์จ ๊ธ
์ต๊ทผ์ ๋ฌ๋ฆฐ ๋๊ธ
- Total
- Today
- Yesterday
TAG
- php
- ํจ์
- ๋ฉ๋ฐฐํ
- ์๋ธ๋ฆฟ
- Ajax
- ๊ธฐํ
- ์์์ฌ์ด๋
- ์นด๋ฐ์จ๋ผ์ธ
- ์๋ฐ์คํฌ๋ฆฝํธ
- 8๋ง์ผ
- JavaScript
- ๊ฒฝ์ ์ฉ์ด
- ์๋ฆฌ
- MS-SQL
- EL
- MySQL
- JSON
- JSP
- ๋ณต๊ทผ์ด๋
- asp
- Java
- JS
- ๋์ค
- I Don't Care
- ์ธํจ์ด
- JSTL
- Servlet
- 2ne1
- ์น์์ด์ ์
- jQuery
์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 |
๊ธ ๋ณด๊ดํจ