dbTalk Databases Forums  

Bulk insert data conversion error

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


Discuss Bulk insert data conversion error in the microsoft.public.sqlserver.dts forum.



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

Default Bulk insert data conversion error - 10-20-2004 , 03:19 PM






I am trying to import text file into SQLServer table, bulk insert error out
on date time column here is statment I am using
BULK INSERT clrs..LOG_USER_ACTION2 FROM 'C:\test_log.TXT'
WITH (
BATCHSIZE=14,
DATAFILETYPE = 'char',
FIELDTERMINATOR = ',',
ROWTERMINATOR = '\n)
The file exported from Lotus Notes
and it looks like and table is
ID bigint no 8
NetworkID varchar no 25
Location varchar no 25
ActionID tinyint no 1
AppID tinyint no 1
SectionID int no 4
PatientNumber varchar no 50
Comment varchar no 250
AccessTime datetime no 8
AccessDenied bit no 1
docPK varchar no 50

1, 'selperin', '', 1, 19, 10020, '', NULL, '10/19/2004 5:36:02 PM', 0, NULL

Any help is appreciated.
Thanks
--
Farhan


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.