dbTalk Databases Forums  

Specify output file size from DTS package

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


Discuss Specify output file size from DTS package in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Alan O'Gorman
 
Posts: n/a

Default Specify output file size from DTS package - 03-04-2004 , 08:17 AM






Does anyone know a method for specifying the output file size from a DTS package?
I have a requirement to output data files in 64 Mb chunks from a DTS package.

Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: Specify output file size from DTS package - 03-04-2004 , 01:56 PM






In message <93236859.0403040617.7d3712e2 (AT) posting (DOT) google.com>, Alan
O'Gorman <alan.o'gorman (AT) sunlife (DOT) com> writes
Quote:
Does anyone know a method for specifying the output file size from a
DTS package?
I have a requirement to output data files in 64 Mb chunks from a DTS package.
There is nothing in DTS that will support this. You could restrict your
source to only provide 64MB worth of data at a time, and use a loop to
keep exporting until you have read all records, but this could get
messy.

Probably the simpler option would be to just write some code to break up
the file into chunks. No reason why this could not be done in an ActiveX
Script Task using VBScript.

--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org



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.