dbTalk Databases Forums  

Data Import from TextFile

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


Discuss Data Import from TextFile in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jean-Francois Bouchard
 
Posts: n/a

Default Data Import from TextFile - 08-21-2003 , 10:27 AM






Hello,

I'm creating a dts to import data from a textfile to a
table. This table is 'attached' to another table via
constraint because it's a product table ( with a order
table) so I can't empty this table and re-populate it.

Do the best solution for me will be to create a temp
product table, import the textfile in it, and then update
the real table with the temp table?

If yes, how can I do that.. with a stored procedure? How
can I loop through every record of the temp table to
update or insert record to the real table..?

Thanks in advance.

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.