Sep 21, 2003 #1 meldrape Programmer May 12, 2001 516 US Hello, I have a text file with three date fields in this format: yymmdd How would I go about converting these date formats to mm/dd/yyyy to insert into a SQL table? Thanks in advance.
Hello, I have a text file with three date fields in this format: yymmdd How would I go about converting these date formats to mm/dd/yyyy to insert into a SQL table? Thanks in advance.
Sep 21, 2003 Thread starter #2 meldrape Programmer May 12, 2001 516 US Nevermind, I used select CAST ( ENDDATE AS datetime) as ENDDATE from JobImportHeader. It converts the date to mm/dd/yy but I really need mm/dd/yyyy. If anybody know how to do this, I would appreciate your input. Thanks. Upvote 0 Downvote
Nevermind, I used select CAST ( ENDDATE AS datetime) as ENDDATE from JobImportHeader. It converts the date to mm/dd/yy but I really need mm/dd/yyyy. If anybody know how to do this, I would appreciate your input. Thanks.