dbTalk Databases Forums  

Exporting to text file with Dynamic location

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


Discuss Exporting to text file with Dynamic location in the microsoft.public.sqlserver.dts forum.



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

Default Exporting to text file with Dynamic location - 07-09-2003 , 06:02 PM






I have several DTS packages (108) that write results sets to files every
night. I am trying to consolidate the packages to use one package to fire
off the rest. We will be moving our database to a datacenter, which will
greatly affect the packages. The destination on the transformation is a
text file located in mapped drive. The mapped drive will be different at
the datacenter, don't know why or what it will eventually be, but I was
hoping that there was a way to use the DTSGlobalVariables to dynamically
determine the drive.

any thoughts or help would be most appreciated.



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

Default Re: Exporting to text file with Dynamic location - 07-10-2003 , 01:47 AM






Don't use mapped drives they will only break your heart some day. Use UNC
paths. If you must use mapped drives remember to map the drive for the SQL
Server Agent account

How can I change the filename for a text file connection?
http://www.sqldts.com/default.aspx?6,101,200,0,1

--


Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org

"Esch" <matte (AT) codecorrect (DOT) com> wrote

Quote:
I have several DTS packages (108) that write results sets to files every
night. I am trying to consolidate the packages to use one package to fire
off the rest. We will be moving our database to a datacenter, which will
greatly affect the packages. The destination on the transformation is a
text file located in mapped drive. The mapped drive will be different at
the datacenter, don't know why or what it will eventually be, but I was
hoping that there was a way to use the DTSGlobalVariables to dynamically
determine the drive.

any thoughts or help would be most appreciated.





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

Default Re: Exporting to text file with Dynamic location - 07-10-2003 , 11:38 AM



Thank you, would you where I could find an example using the 'dynamic
properties task'. I would actually have three variables that would change:
State, filename, and the Path.


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

Quote:
Don't use mapped drives they will only break your heart some day. Use UNC
paths. If you must use mapped drives remember to map the drive for the
SQL
Server Agent account

How can I change the filename for a text file connection?
http://www.sqldts.com/default.aspx?6,101,200,0,1

--


Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org

"Esch" <matte (AT) codecorrect (DOT) com> wrote in message
news:eq#oc4mRDHA.1556 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
I have several DTS packages (108) that write results sets to files every
night. I am trying to consolidate the packages to use one package to
fire
off the rest. We will be moving our database to a datacenter, which
will
greatly affect the packages. The destination on the transformation is a
text file located in mapped drive. The mapped drive will be different
at
the datacenter, don't know why or what it will eventually be, but I was
hoping that there was a way to use the DTSGlobalVariables to dynamically
determine the drive.

any thoughts or help would be most appreciated.







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.