dbTalk Databases Forums  

DTS Pump Vs Update

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


Discuss DTS Pump Vs Update in the microsoft.public.sqlserver.dts forum.



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

Default DTS Pump Vs Update - 08-25-2005 , 12:14 PM






While using the SQLServer DTS package.
If I use Datapump to insert data from text file to table into a single
column will be faster or into a multiple columns will be faster.
If I insert data into single column, then I need to write a sql script or
procedure, use string operations to split the data again and insert them into
other columns of the table.

Example
Text file data
HTHIS IS A HEADER RECORD
DA20384000000983421DY
TTHIS IS A TRAILER RECORD

Inserting this into a single column of the table and then splitting the data
into four columns using procedure

Which one will be more optimized way usage.
--
Raja Voleti

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: DTS Pump Vs Update - 08-27-2005 , 03:03 AM






If your data in the text file is delimited already then go with that from
the start. Performing the string operations after the DataPump will be
expensive.

Allan


"Raja Voleti" <RajaVoleti (AT) discussions (DOT) microsoft.com> wrote

Quote:
While using the SQLServer DTS package.
If I use Datapump to insert data from text file to table into a single
column will be faster or into a multiple columns will be faster.
If I insert data into single column, then I need to write a sql script or
procedure, use string operations to split the data again and insert them
into
other columns of the table.

Example
Text file data
HTHIS IS A HEADER RECORD
DA20384000000983421DY
TTHIS IS A TRAILER RECORD

Inserting this into a single column of the table and then splitting the
data
into four columns using procedure

Which one will be more optimized way usage.
--
Raja Voleti



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.