dbTalk Databases Forums  

Export Blob Data

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


Discuss Export Blob Data in the microsoft.public.sqlserver.dts forum.



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

Default Export Blob Data - 12-31-2003 , 03:31 PM






is it possible to export blob data from a database using the DTS.

I have a table with two relatively small blob fields. I would like to export these using the dts and have then be saved as an external file. Is this possible?

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

Default Re: Export Blob Data - 01-01-2004 , 04:41 AM






What about

Write File Transformation
(http://www.sqldts.com/default.aspx?294)

--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Russ" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
is it possible to export blob data from a database using the DTS.

I have a table with two relatively small blob fields. I would like to
export these using the dts and have then be saved as an external file. Is
this possible?




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

Default Re: Export Blob Data - 01-06-2004 , 03:31 PM



Thanks, works just fine, but is there a way to increment the file name on the fly without forcing it to be a field in the source table?

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

Default Re: Export Blob Data - 01-06-2004 , 04:43 PM



You can use the TextCopy exe which is in your Binn directory

http://www.allisonmitchell.com/Articles/TextCopy.htm


You can also use the Stream Object in a piece of VBScript.





--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Russ" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
Thanks, works just fine, but is there a way to increment the file name on
the fly without forcing it to be a field in the source table?




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.