G.
Graham Charles
Ars Indicii Information Design
http://www.sirius.com/~gcharles
MT wrote in message <73d3ob$erd$1...@titan.xtra.co.nz>...
>Hi
>
>I'm going to bcp some data out of SQL Server to a text file. If I use the
>option -f format_file in the bcp command, the output file will be in native
>format - which is not readable. If I use -c -f both, SQL Server won't
>accept -c -f at the same time. I hope to copy several columns not all
>columns from the tables to a ascii file uising bcp, but I failed to do
>that. Anyone can help me?
I'm going to bcp some data out of SQL Server to a text file. If I use the
option -f format_file in the bcp command, the output file will be in native
format - which is not readable. If I use -c -f both, SQL Server won't
accept -c -f at the same time. I hope to copy several columns not all
columns from the tables to a ascii file uising bcp, but I failed to do
that. Anyone can help me?
(The command I used:
bcp dbname..tables out table.out -Uuser -Ppass -f bcp.fmt
)
Many thanks
Michael
Hope this helps.
MT wrote in message <73d3ob$erd$1...@titan.xtra.co.nz>...
-Tom.
"MT" <xmt...@yahoo.com> wrote:
>Hi
>
>I'm going to bcp some data out of SQL Server to a text file. If I use the
>option -f format_file in the bcp command, the output file will be in native
>format - which is not readable. If I use -c -f both, SQL Server won't
>accept -c -f at the same time. I hope to copy several columns not all
>columns from the tables to a ascii file uising bcp, but I failed to do
>that. Anyone can help me?
>
>(The command I used:
>
>bcp dbname..tables out table.out -Uuser -Ppass -f bcp.fmt
>
>)
>
>Many thanks
>
>Michael
>
>
Please email all replies to: t...@infopackaging.com