December 22, 2008 at 6:46 pm
Hi All,
Can you please advise How to Import Text file with Caret '^' delimiter data format. The import/export wizard does not show the Caret delimiter option.
Thanks in Advance.
Rembersu
December 22, 2008 at 10:00 pm
Lookup BULK INSERT in Books OnLine.
[font="Times New Roman"]-- RBarryYoung[/font], [font="Times New Roman"] (302)375-0451[/font] blog: MovingSQL.com, Twitter: @RBarryYoung[font="Arial Black"]
Proactive Performance Solutions, Inc. [/font][font="Verdana"] "Performance is our middle name."[/font]
December 22, 2008 at 10:04 pm
Hi,
Thank you for your reply . I have tried bulkinsert and it works with the below syntax for the caret delimited file. i was trying to create a ssis package which will load the files on regular basis. is there any way that i can make it work for SSIS.
BULK INSERT testdb.dbo.testload
FROM 'c:\test\testload.csv'
WITH
(
FIELDTERMINATOR ='^',
ROWTERMINATOR = '',
FIRE_TRIGGERS
)
Thank & Regards
Rembersu
December 22, 2008 at 10:29 pm
You may want to move this thread to the SSIS forum then.
[font="Times New Roman"]-- RBarryYoung[/font], [font="Times New Roman"] (302)375-0451[/font] blog: MovingSQL.com, Twitter: @RBarryYoung[font="Arial Black"]
Proactive Performance Solutions, Inc. [/font][font="Verdana"] "Performance is our middle name."[/font]
December 22, 2008 at 10:38 pm
Thank you. I have post the request in the SSIS Forum.
Thank you
Remebersu
December 23, 2008 at 2:57 am
rembersu (12/22/2008)
Hi All,Can you please advise How to Import Text file with Caret '^' delimiter data format. The import/export wizard does not show the Caret delimiter option.
Thanks in Advance.
Rembersu
try with BCP / SQLCMD command for more info see SQL BOL.
December 24, 2008 at 8:04 am
If you want to use SSIS just use the caret as the column delimiter for the input file. It will not show as an available choice from the drop down so just type it in.
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply