일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- javascript
- ASP
- MS
- SSRS
- Winform
- attr()
- CONVERT()
- 이클립스
- MSSQL
- 리포팅서비스
- 단축키
- Excel
- microsoft
- DataGrid
- IIS
- jQuery
- replace()
- 비주얼스튜디오
- 마이크로소프트
- 엑셀
- c#
- 태그를 입력해 주세요.
- 윈도우
- 오라클
- 윈폼
- 자바스크립트
- aspnet
- oracle
- 프로시저
- windows
- Today
- Total
목록날짜변환 (2)
DJ메탈짱™의 Free Style
-- SQL Server string to date / datetime conversion - datetime string format sql server-- MSSQL string to datetime conversion - convert char to date - convert varchar to date-- Subtract 100 from style number (format) for yy instead yyyy (or ccyy with century)SELECT convert(datetime, 'Oct 23 2012 11:01AM', 100) -- mon dd yyyy hh:mmAM (or PM)SELECT convert(datetime, 'Oct 23 2012 11:01AM') -- 2012-1..
create function [dbo].[FN_CO_String2SmallDateTime]( @date varchar(10))returns smalldatetime/***********************************************************************프로그램유형: Function프로그램ID : 프로그램명 : String2SmallDateTime내 용: Convert String to SmallDateTime작 성 자: 최보현작 성 일: 2010/12/02수정내용: select dbo.FN_CO_String2SmallDateTime('2012-02-29')**************************************************************..