dbTalk Databases Forums  

DTS and DBF's

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


Discuss DTS and DBF's in the microsoft.public.sqlserver.dts forum.



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

Default DTS and DBF's - 04-27-2004 , 10:12 AM






I am using a DBF as a staging table in a DTS package. At
the end (or anywhere in the package after the records have
been imported into SQL) I need to delete all records from
the DBF to ready the table for the next use. I cannot
figure out how to do this.
Any help would be appreciated.

Reply With Quote
  #2  
Old   
Jose Inacio Menezes
 
Posts: n/a

Default Re: DTS and DBF's - 04-30-2004 , 09:12 AM






If you refer to dBaseX tables:

1. Create a dBase5 connection (if you don't have one already), define the
dBase version and file path.

2. Create a SQL Task, linked to that connection, with the command
'DELETE FROM [DBF_TableName]'



"Steve" <anonymous (AT) discussions (DOT) microsoft.com> escreveu na mensagem
news:4d0d01c42c6a$182dd970$a601280a (AT) phx (DOT) gbl...
Quote:
I am using a DBF as a staging table in a DTS package. At
the end (or anywhere in the package after the records have
been imported into SQL) I need to delete all records from
the DBF to ready the table for the next use. I cannot
figure out how to do this.
Any help would be appreciated.



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.