dbTalk Databases Forums  

DBF File

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


Discuss DBF File in the microsoft.public.sqlserver.dts forum.



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

Default DBF File - 05-10-2004 , 02:38 PM






Does anyone know of a way to truncate a DBF file in DTS (SQL 2K)? I
have a dbf file that needs to be emptied before I can put info into
it.

Reply With Quote
  #2  
Old   
Partha Mandayam
 
Posts: n/a

Default Re: DBF File - 05-10-2004 , 04:42 PM






set up a connection to the dbf file. then use an execute sql task to
delete the records.

Regards

Partha Mandayam
Software Consultant
Home page: http://partha.tripod.com


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Reply With Quote
  #3  
Old   
justin
 
Posts: n/a

Default Re: DBF File - 05-11-2004 , 09:13 AM



Partha Mandayam <mcp111 (AT) hotmail (DOT) com> wrote

Quote:
set up a connection to the dbf file. then use an execute sql task to
delete the records.

Regards

Partha Mandayam
Software Consultant
Home page: http://partha.tripod.com


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
I tried that but the records are not being deleted, I'm not getting a
task error. Any other thoughts?


Reply With Quote
  #4  
Old   
Partha Mandayam
 
Posts: n/a

Default Re: DBF File - 05-11-2004 , 10:39 AM



I tried it and it works fine.
You have to specify "delete from test.dbf" in the execute sql task if
test.dbf is your file.
Then right click and execute. it works!

Regards

Partha Mandayam
Software Consultant
Home page: http://partha.tripod.com


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

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.