dbTalk Databases Forums  

BULK EXPORT

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


Discuss BULK EXPORT in the microsoft.public.sqlserver.dts forum.



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

Default BULK EXPORT - 02-17-2006 , 12:36 PM






I can make the BULK INSERT work with no problems. I need a way to bulk
EXPORT data from a table to the server in a specified folder.

What is the best way to do this? It has to be dynamic. The FROM table and
the TO file name are supplied as parameters to whatever process ends up
being the tool.

Thanks!
Richard



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

Default Re: BULK EXPORT - 02-19-2006 , 09:26 AM






Hello Richard,

You could use bcp to do this and build the cmd string dynamagically. If
you are using DTS then you could use the ExecuteProcess task to do this.

See if this article gives you any ideas

http://www.sqldts.com/default.aspx?251


Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com

Quote:
I can make the BULK INSERT work with no problems. I need a way to
bulk EXPORT data from a table to the server in a specified folder.

What is the best way to do this? It has to be dynamic. The FROM
table and the TO file name are supplied as parameters to whatever
process ends up being the tool.

Thanks!
Richard



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.