dbTalk Databases Forums  

Re: What row and column delimitters to use for bulk insert task

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


Discuss Re: What row and column delimitters to use for bulk insert task in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Sanchan Sahai Saxena
 
Posts: n/a

Default Re: What row and column delimitters to use for bulk insert task - 04-12-2004 , 04:16 PM






Well, there are a number of ways to work around this. I will throw some
choices and you choose whatever you like:

a) In the text file, run ""Find-Replace" and replace the , with blank
space. This way, when you use ; as delimiter, it will work. Then you can
run a small query to format the values in this column to a format that you
want to keep.
b) You can use a row delimiter {CR}{LF} .
c) If you are a developer, write a simple code that will pull the data from
text file, parse it and once entered, re-format it to the format you want,
ANY format you want.

Sanchan [MSFT]

sanchans (AT) online (DOT) microsoft.com

This posting is provided "AS IS" with no warranties, and confers no rights.


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.