dbTalk Databases Forums  

write to a file in DTS?

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


Discuss write to a file in DTS? in the microsoft.public.sqlserver.dts forum.



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

Default write to a file in DTS? - 06-14-2005 , 04:37 PM






Is it possible to write to a file in the ActiveX props in DTS? I was
thinking of the FileSystemObject, but am not sure. I've looked on
sqldts.com, and see that I can create, delete, move, check attributes, etc.
But I dont see any way to write to a file. Possible?


TIA, ChrisR



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

Default Re: write to a file in DTS? - 06-14-2005 , 04:41 PM






Sure you can write to s file using VBScript and the FSO but why?

What about the DataPump task does not do it for you?

--



Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - You thought DTS was good. here we show you the new stuff.
www.konesans.com - Consultancy from the people who know


"ChrisR" <noemail (AT) bla (DOT) com> wrote

Quote:
Is it possible to write to a file in the ActiveX props in DTS? I was
thinking of the FileSystemObject, but am not sure. I've looked on
sqldts.com, and see that I can create, delete, move, check attributes,
etc. But I dont see any way to write to a file. Possible?


TIA, ChrisR




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

Default Re: write to a file in DTS? - 06-14-2005 , 05:21 PM



Its was a very, very long story, but I just found a workaround anyways.
Thanks.


"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote

Quote:
Sure you can write to s file using VBScript and the FSO but why?

What about the DataPump task does not do it for you?

--



Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - You thought DTS was good. here we show you the new stuff.
www.konesans.com - Consultancy from the people who know


"ChrisR" <noemail (AT) bla (DOT) com> wrote in message
news:OB$iLlScFHA.2124 (AT) TK2MSFTNGP14 (DOT) phx.gbl...
Is it possible to write to a file in the ActiveX props in DTS? I was
thinking of the FileSystemObject, but am not sure. I've looked on
sqldts.com, and see that I can create, delete, move, check attributes,
etc. But I dont see any way to write to a file. Possible?


TIA, ChrisR






Reply With Quote
  #4  
Old   
Leonard
 
Posts: n/a

Default Re: write to a file in DTS? - 06-15-2005 , 02:09 AM



Chris, let us know the work around you used it might be a helpful tip.

"ChrisR" wrote:

Quote:
Its was a very, very long story, but I just found a workaround anyways.
Thanks.


"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:eDfLXnScFHA.2420 (AT) TK2MSFTNGP15 (DOT) phx.gbl...
Sure you can write to s file using VBScript and the FSO but why?

What about the DataPump task does not do it for you?

--



Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - You thought DTS was good. here we show you the new stuff.
www.konesans.com - Consultancy from the people who know


"ChrisR" <noemail (AT) bla (DOT) com> wrote in message
news:OB$iLlScFHA.2124 (AT) TK2MSFTNGP14 (DOT) phx.gbl...
Is it possible to write to a file in the ActiveX props in DTS? I was
thinking of the FileSystemObject, but am not sure. I've looked on
sqldts.com, and see that I can create, delete, move, check attributes,
etc. But I dont see any way to write to a file. Possible?


TIA, ChrisR







Reply With Quote
  #5  
Old   
ChrisR
 
Posts: n/a

Default Re: write to a file in DTS? - 06-15-2005 , 11:51 AM



The problem was that I was getting ugly characters in my text file. Becuase
of that I couldnt use the Data Pump and was looking into FSO to remove the
ugly guys. However, I renamed my file to have a .txt extension and the
characters are no longer seen in SQL.


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

Quote:
Chris, let us know the work around you used it might be a helpful tip.

"ChrisR" wrote:

Its was a very, very long story, but I just found a workaround anyways.
Thanks.


"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:eDfLXnScFHA.2420 (AT) TK2MSFTNGP15 (DOT) phx.gbl...
Sure you can write to s file using VBScript and the FSO but why?

What about the DataPump task does not do it for you?

--



Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - You thought DTS was good. here we show you the new
stuff.
www.konesans.com - Consultancy from the people who know


"ChrisR" <noemail (AT) bla (DOT) com> wrote in message
news:OB$iLlScFHA.2124 (AT) TK2MSFTNGP14 (DOT) phx.gbl...
Is it possible to write to a file in the ActiveX props in DTS? I was
thinking of the FileSystemObject, but am not sure. I've looked on
sqldts.com, and see that I can create, delete, move, check attributes,
etc. But I dont see any way to write to a file. Possible?


TIA, ChrisR









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.