dbTalk Databases Forums  

import txt into new table

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


Discuss import txt into new table in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
darionis@hotmail.com
 
Posts: n/a

Default import txt into new table - 07-15-2005 , 08:32 AM






i need to import bunch of text files into SQL server, and i want to
import each file into its own (unexisting) table.

i tried with DTS, it works first time, when i delete tables and try
next time, it complains about unexiting object.

is there any way to make task which creates table each time it is run?
all it needs to do is to create enough varchar(255) columns. DTS do it
first time when i create task, but after that it expects table to be
present in the database.

any workarounds?

thank you!

dario


Reply With Quote
  #2  
Old   
Francesco Anti
 
Posts: n/a

Default Re: import txt into new table - 07-15-2005 , 09:35 AM






"Execute SQL Task" containig CREATE TABLE... statement ?

Francesco Anti

<darionis (AT) hotmail (DOT) com> wrote

Quote:
i need to import bunch of text files into SQL server, and i want to
import each file into its own (unexisting) table.

i tried with DTS, it works first time, when i delete tables and try
next time, it complains about unexiting object.

is there any way to make task which creates table each time it is run?
all it needs to do is to create enough varchar(255) columns. DTS do it
first time when i create task, but after that it expects table to be
present in the database.

any workarounds?

thank you!

dario




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.