dbTalk Databases Forums  

Creating dynamic file name

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


Discuss Creating dynamic file name in the microsoft.public.sqlserver.dts forum.



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

Default Creating dynamic file name - 11-07-2003 , 08:57 AM






Dear All,

I would like to configure DTS to create dynamic filenames
for a text file i.e. File_20031107.txt, does anyone know
how to do it ?

Thanks
Peter

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

Default Re: Creating dynamic file name - 11-07-2003 , 09:08 AM






How can I change the filename for a text file connection?
(http://www.sqldts.com/default.aspx?200)

--
--

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

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

Quote:
Dear All,

I would like to configure DTS to create dynamic filenames
for a text file i.e. File_20031107.txt, does anyone know
how to do it ?

Thanks
Peter



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

Default Re: Creating dynamic file name - 11-07-2003 , 11:24 AM



Thanks Allab


Quote:
-----Original Message-----
How can I change the filename for a text file connection?
(http://www.sqldts.com/default.aspx?200)

--
--

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

"Peter" <anonymous (AT) discussions (DOT) microsoft.com> wrote in
message
news:0c5901c3a53f$72953690$a301280a (AT) phx (DOT) gbl...
Dear All,

I would like to configure DTS to create dynamic
filenames
for a text file i.e. File_20031107.txt, does anyone know
how to do it ?

Thanks
Peter


.


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

Default Re: Creating dynamic file name - 11-07-2003 , 11:25 AM



Thanks Allan (with the correct spelling this time)

Peter


Quote:
-----Original Message-----
How can I change the filename for a text file connection?
(http://www.sqldts.com/default.aspx?200)

--
--

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

"Peter" <anonymous (AT) discussions (DOT) microsoft.com> wrote in
message
news:0c5901c3a53f$72953690$a301280a (AT) phx (DOT) gbl...
Dear All,

I would like to configure DTS to create dynamic
filenames
for a text file i.e. File_20031107.txt, does anyone know
how to do it ?

Thanks
Peter


.


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

Default Re: Creating dynamic file name - 12-03-2003 , 09:30 PM



Can someone provide me an example of doing this using SQL Server 2000 (using
Dynamic Properties Task)

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

Quote:
How can I change the filename for a text file connection?
(http://www.sqldts.com/default.aspx?200)

--
--

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

"Peter" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message
news:0c5901c3a53f$72953690$a301280a (AT) phx (DOT) gbl...
Dear All,

I would like to configure DTS to create dynamic filenames
for a text file i.e. File_20031107.txt, does anyone know
how to do it ?

Thanks
Peter





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

Default Re: Creating dynamic file name - 12-04-2003 , 01:06 AM



You would have to assign the value of the text file to the DataSource
property of the text file connection. This should in turn change the
DestinationObjectName of the DataPump task.

--
--

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

"Berny" <BlancoB at msn Dot com> wrote

Quote:
Can someone provide me an example of doing this using SQL Server 2000
(using
Dynamic Properties Task)

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:%236Ze1rUpDHA.3616 (AT) tk2msftngp13 (DOT) phx.gbl...
How can I change the filename for a text file connection?
(http://www.sqldts.com/default.aspx?200)

--
--

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

"Peter" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message
news:0c5901c3a53f$72953690$a301280a (AT) phx (DOT) gbl...
Dear All,

I would like to configure DTS to create dynamic filenames
for a text file i.e. File_20031107.txt, does anyone know
how to do it ?

Thanks
Peter







Reply With Quote
  #7  
Old   
Berny
 
Posts: n/a

Default Re: Creating dynamic file name - 12-04-2003 , 06:31 AM



Is there anywhere Ican see an example of this? I've never done this and
need something to follow the first time.

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

Quote:
You would have to assign the value of the text file to the DataSource
property of the text file connection. This should in turn change the
DestinationObjectName of the DataPump task.

--
--

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

"Berny" <BlancoB at msn Dot com> wrote in message
news:eRCHtbhuDHA.2408 (AT) tk2msftngp13 (DOT) phx.gbl...
Can someone provide me an example of doing this using SQL Server 2000
(using
Dynamic Properties Task)

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:%236Ze1rUpDHA.3616 (AT) tk2msftngp13 (DOT) phx.gbl...
How can I change the filename for a text file connection?
(http://www.sqldts.com/default.aspx?200)

--
--

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

"Peter" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message
news:0c5901c3a53f$72953690$a301280a (AT) phx (DOT) gbl...
Dear All,

I would like to configure DTS to create dynamic filenames
for a text file i.e. File_20031107.txt, does anyone know
how to do it ?

Thanks
Peter









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

Default Re: Creating dynamic file name - 12-04-2003 , 06:57 AM



I don't know of an example on the web but I can send you one if you want?

--
--

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

"Berny" <BlancoB at msn Dot com> wrote

Quote:
Is there anywhere Ican see an example of this? I've never done this and
need something to follow the first time.

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:uCRp1TjuDHA.1088 (AT) tk2msftngp13 (DOT) phx.gbl...
You would have to assign the value of the text file to the DataSource
property of the text file connection. This should in turn change the
DestinationObjectName of the DataPump task.

--
--

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

"Berny" <BlancoB at msn Dot com> wrote in message
news:eRCHtbhuDHA.2408 (AT) tk2msftngp13 (DOT) phx.gbl...
Can someone provide me an example of doing this using SQL Server 2000
(using
Dynamic Properties Task)

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:%236Ze1rUpDHA.3616 (AT) tk2msftngp13 (DOT) phx.gbl...
How can I change the filename for a text file connection?
(http://www.sqldts.com/default.aspx?200)

--
--

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

"Peter" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message
news:0c5901c3a53f$72953690$a301280a (AT) phx (DOT) gbl...
Dear All,

I would like to configure DTS to create dynamic filenames
for a text file i.e. File_20031107.txt, does anyone know
how to do it ?

Thanks
Peter











Reply With Quote
  #9  
Old   
Berny
 
Posts: n/a

Default Re: Creating dynamic file name - 12-04-2003 , 07:07 AM



I would really appreciate that!!!

Thanks

BlancoB at MSN dot Com

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

Quote:
I don't know of an example on the web but I can send you one if you want?

--
--

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

"Berny" <BlancoB at msn Dot com> wrote in message
news:OwPZPKmuDHA.2060 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
Is there anywhere Ican see an example of this? I've never done this and
need something to follow the first time.

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:uCRp1TjuDHA.1088 (AT) tk2msftngp13 (DOT) phx.gbl...
You would have to assign the value of the text file to the DataSource
property of the text file connection. This should in turn change the
DestinationObjectName of the DataPump task.

--
--

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

"Berny" <BlancoB at msn Dot com> wrote in message
news:eRCHtbhuDHA.2408 (AT) tk2msftngp13 (DOT) phx.gbl...
Can someone provide me an example of doing this using SQL Server
2000
(using
Dynamic Properties Task)

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:%236Ze1rUpDHA.3616 (AT) tk2msftngp13 (DOT) phx.gbl...
How can I change the filename for a text file connection?
(http://www.sqldts.com/default.aspx?200)

--
--

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

"Peter" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message
news:0c5901c3a53f$72953690$a301280a (AT) phx (DOT) gbl...
Dear All,

I would like to configure DTS to create dynamic filenames
for a text file i.e. File_20031107.txt, does anyone know
how to do it ?

Thanks
Peter













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

Default Re: Creating dynamic file name - 12-04-2003 , 08:50 AM



done

--
--

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

"Berny" <BlancoB at msn Dot com> wrote

Quote:
I would really appreciate that!!!

Thanks

BlancoB at MSN dot Com

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:OXoXzXmuDHA.640 (AT) tk2msftngp13 (DOT) phx.gbl...
I don't know of an example on the web but I can send you one if you
want?

--
--

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

"Berny" <BlancoB at msn Dot com> wrote in message
news:OwPZPKmuDHA.2060 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
Is there anywhere Ican see an example of this? I've never done this
and
need something to follow the first time.

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:uCRp1TjuDHA.1088 (AT) tk2msftngp13 (DOT) phx.gbl...
You would have to assign the value of the text file to the
DataSource
property of the text file connection. This should in turn change
the
DestinationObjectName of the DataPump task.

--
--

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

"Berny" <BlancoB at msn Dot com> wrote in message
news:eRCHtbhuDHA.2408 (AT) tk2msftngp13 (DOT) phx.gbl...
Can someone provide me an example of doing this using SQL Server
2000
(using
Dynamic Properties Task)

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:%236Ze1rUpDHA.3616 (AT) tk2msftngp13 (DOT) phx.gbl...
How can I change the filename for a text file connection?
(http://www.sqldts.com/default.aspx?200)

--
--

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

"Peter" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message
news:0c5901c3a53f$72953690$a301280a (AT) phx (DOT) gbl...
Dear All,

I would like to configure DTS to create dynamic filenames
for a text file i.e. File_20031107.txt, does anyone know
how to do it ?

Thanks
Peter















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.