<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Exporting a (.csv) file from SQL 2005</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/exporting-a-csv-file-from-sql-2005/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/exporting-a-csv-file-from-sql-2005/</link>
	<description></description>
	<pubDate>Fri, 25 May 2012 18:48:29 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Jeager66</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/exporting-a-csv-file-from-sql-2005/#comment-101749</link>
		<dc:creator>Jeager66</dc:creator>
		<pubDate>Tue, 17 Jan 2012 18:25:08 +0000</pubDate>
		<guid isPermaLink="false">#comment-101749</guid>
		<description>Thanks Smf,
I will try it again with your configuration.

~ Tino</description>
		<content:encoded><![CDATA[<p>Thanks Smf,<br />
I will try it again with your configuration.</p>
<p>~ Tino</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Smf</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/exporting-a-csv-file-from-sql-2005/#comment-101740</link>
		<dc:creator>Smf</dc:creator>
		<pubDate>Tue, 17 Jan 2012 14:38:42 +0000</pubDate>
		<guid isPermaLink="false">#comment-101740</guid>
		<description>I use bcp and have no issues. 
declare @bcp as varchar(2000)

set @bcp = 'bcp "select * from[I] server[/I].dbo.table" queryout newserverfoldernametestfilename.csv  -c -t, -T'
exec xp_cmdshell @bcp

On our server the bcp command requires the dbserver.dbo.tablename configuration. Doesn't like just the tablename.</description>
		<content:encoded><![CDATA[<p>I use bcp and have no issues.<br />
declare @bcp as varchar(2000)</p>
<p>set @bcp = &#8216;bcp &#8220;select * from<i> server</i>.dbo.table&#8221; queryout newserverfoldernametestfilename.csv  -c -t, -T&#8217;<br />
exec xp_cmdshell @bcp</p>
<p>On our server the bcp command requires the dbserver.dbo.tablename configuration. Doesn&#8217;t like just the tablename.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- dynamic -->
