dbTalk Databases Forums  

Write File Transformation

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


Discuss Write File Transformation in the microsoft.public.sqlserver.dts forum.



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

Default Write File Transformation - 11-04-2003 , 09:37 AM






I have a sql server connection, a text file (destination connection), and
wish the dump the contents of a table to a delimimted text file. I am not
new to DTS but have never attemtped this particular function before. I have
read about the dummy file table etc, but am still not getting this. Can
anyone point to a reference about who to accomplish this or have done this
and can email me ?



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

Default Re: Write File Transformation - 11-04-2003 , 10:15 AM






Where does the Write File transformation come in? This is when you might
have an image or word doc in a SQL Server table and want to write it out.

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

Do you mean simply an export to text file?

http://www.sqldts.com/default.aspx?278

--

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


"Jeff Block" <jblock (AT) REMOVETHECAPSANDINVALIDfirstlook (DOT) biz.invalid> wrote in
message news:ulONZmuoDHA.2776 (AT) tk2msftngp13 (DOT) phx.gbl...
Quote:
I have a sql server connection, a text file (destination connection), and
wish the dump the contents of a table to a delimimted text file. I am not
new to DTS but have never attemtped this particular function before. I
have
read about the dummy file table etc, but am still not getting this. Can
anyone point to a reference about who to accomplish this or have done this
and can email me ?





Reply With Quote
  #3  
Old   
Jeff Block
 
Posts: n/a

Default Re: Write File Transformation - 11-04-2003 , 10:53 AM



I checked out SQLDTS , specifically about the dummy tables but am still
missing something here. Simply, I want to output the contents of a table to
a delimited file, effectively a bcp out. I can get it to 'work' but doesn't
output any data since the 'dummy' table is of course empty .. like I said,
I'm missing something here.

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

Quote:
Where does the Write File transformation come in? This is when you might
have an image or word doc in a SQL Server table and want to write it out.

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

Do you mean simply an export to text file?

http://www.sqldts.com/default.aspx?278

--

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


"Jeff Block" <jblock (AT) REMOVETHECAPSANDINVALIDfirstlook (DOT) biz.invalid> wrote
in
message news:ulONZmuoDHA.2776 (AT) tk2msftngp13 (DOT) phx.gbl...
I have a sql server connection, a text file (destination connection),
and
wish the dump the contents of a table to a delimimted text file. I am
not
new to DTS but have never attemtped this particular function before. I
have
read about the dummy file table etc, but am still not getting this. Can
anyone point to a reference about who to accomplish this or have done
this
and can email me ?







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

Default Re: Write File Transformation - 11-04-2003 , 11:05 AM



Then the second article should help although that is importing a text file.
What does the table structure look like ?

--

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


"Jeff Block" <jblock (AT) REMOVETHECAPSANDINVALIDfirstlook (DOT) biz.invalid> wrote in
message news:eaCE8QvoDHA.488 (AT) tk2msftngp13 (DOT) phx.gbl...
Quote:
I checked out SQLDTS , specifically about the dummy tables but am still
missing something here. Simply, I want to output the contents of a table
to
a delimited file, effectively a bcp out. I can get it to 'work' but
doesn't
output any data since the 'dummy' table is of course empty .. like I said,
I'm missing something here.

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:%23%23C$nMvoDHA.2808 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
Where does the Write File transformation come in? This is when you
might
have an image or word doc in a SQL Server table and want to write it
out.

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

Do you mean simply an export to text file?

http://www.sqldts.com/default.aspx?278

--

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


"Jeff Block" <jblock (AT) REMOVETHECAPSANDINVALIDfirstlook (DOT) biz.invalid> wrote
in
message news:ulONZmuoDHA.2776 (AT) tk2msftngp13 (DOT) phx.gbl...
I have a sql server connection, a text file (destination connection),
and
wish the dump the contents of a table to a delimimted text file. I am
not
new to DTS but have never attemtped this particular function before. I
have
read about the dummy file table etc, but am still not getting this.
Can
anyone point to a reference about who to accomplish this or have done
this
and can email me ?









Reply With Quote
  #5  
Old   
Jeff Block
 
Posts: n/a

Default Re: Write File Transformation - 11-04-2003 , 11:13 AM



the source table is 65 varchar (25) columns is that is what you are asking
the dummy tables are set up exactly per the sqldts article
one time I got it to actually write to the file, it wrote only the first
column of the source table
"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote

Quote:
Then the second article should help although that is importing a text
file.
What does the table structure look like ?

--

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


"Jeff Block" <jblock (AT) REMOVETHECAPSANDINVALIDfirstlook (DOT) biz.invalid> wrote
in
message news:eaCE8QvoDHA.488 (AT) tk2msftngp13 (DOT) phx.gbl...
I checked out SQLDTS , specifically about the dummy tables but am still
missing something here. Simply, I want to output the contents of a table
to
a delimited file, effectively a bcp out. I can get it to 'work' but
doesn't
output any data since the 'dummy' table is of course empty .. like I
said,
I'm missing something here.

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:%23%23C$nMvoDHA.2808 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
Where does the Write File transformation come in? This is when you
might
have an image or word doc in a SQL Server table and want to write it
out.

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

Do you mean simply an export to text file?

http://www.sqldts.com/default.aspx?278

--

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


"Jeff Block" <jblock (AT) REMOVETHECAPSANDINVALIDfirstlook (DOT) biz.invalid
wrote
in
message news:ulONZmuoDHA.2776 (AT) tk2msftngp13 (DOT) phx.gbl...
I have a sql server connection, a text file (destination
connection),
and
wish the dump the contents of a table to a delimimted text file. I
am
not
new to DTS but have never attemtped this particular function before.
I
have
read about the dummy file table etc, but am still not getting this.
Can
anyone point to a reference about who to accomplish this or have
done
this
and can email me ?











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

Default Re: Write File Transformation - 11-04-2003 , 12:51 PM



If all you are doing is exporting a 65 * varchar(25) attribute table then
you shouldn't have any problems.

You only want to pump this out to text file right ?

Can I see the text file. Zip it and send it privately if you wish

--

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


"Jeff Block" <jblock (AT) REMOVETHECAPSANDINVALIDfirstlook (DOT) biz.invalid> wrote in
message news:%23R19HcvoDHA.2304 (AT) TK2MSFTNGP11 (DOT) phx.gbl...
Quote:
the source table is 65 varchar (25) columns is that is what you are asking
the dummy tables are set up exactly per the sqldts article
one time I got it to actually write to the file, it wrote only the first
column of the source table
"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:OaZvNXvoDHA.1928 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
Then the second article should help although that is importing a text
file.
What does the table structure look like ?

--

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


"Jeff Block" <jblock (AT) REMOVETHECAPSANDINVALIDfirstlook (DOT) biz.invalid> wrote
in
message news:eaCE8QvoDHA.488 (AT) tk2msftngp13 (DOT) phx.gbl...
I checked out SQLDTS , specifically about the dummy tables but am
still
missing something here. Simply, I want to output the contents of a
table
to
a delimited file, effectively a bcp out. I can get it to 'work' but
doesn't
output any data since the 'dummy' table is of course empty .. like I
said,
I'm missing something here.

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:%23%23C$nMvoDHA.2808 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
Where does the Write File transformation come in? This is when you
might
have an image or word doc in a SQL Server table and want to write it
out.

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

Do you mean simply an export to text file?

http://www.sqldts.com/default.aspx?278

--

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


"Jeff Block" <jblock (AT) REMOVETHECAPSANDINVALIDfirstlook (DOT) biz.invalid
wrote
in
message news:ulONZmuoDHA.2776 (AT) tk2msftngp13 (DOT) phx.gbl...
I have a sql server connection, a text file (destination
connection),
and
wish the dump the contents of a table to a delimimted text file. I
am
not
new to DTS but have never attemtped this particular function
before.
I
have
read about the dummy file table etc, but am still not getting
this.
Can
anyone point to a reference about who to accomplish this or have
done
this
and can email me ?













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.