dbTalk Databases Forums  

DTS Import Error with DateTime

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss DTS Import Error with DateTime in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Gina Scott
 
Posts: n/a

Default DTS Import Error with DateTime - 09-17-2003 , 11:06 AM






Hi All,
I am using DTS to import a flat text file into a SQL
Server 2000 table and the fields that I am having an
issue with are DateTime fields.
In the text file my time is broken out "12:00 PM" when I
import it into SQL Server Table that is defined as
smalldatetime or datetime - it drops the 12 from the time
making it 00:00 PM. I tried capital "HH" and lower
case "hh" in the transformation that is defined for it
and one works(incorrectly) and the other won't even run.
Can someone help me out? I can import that field in as
varchar but then I can't to time functions against it.
If someone can help me out that would be totally awesome.
Thanks
Gina
gscott (AT) mchenry (DOT) edu

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.