 




<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<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>
	<lastBuildDate>Fri, 24 May 2013 19:50:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<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><![CDATA[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><![CDATA[I use bcp and have no issues. 
declare @bcp as varchar(2000)

set @bcp = &#039;bcp &quot;select * from&lt;i&gt; server&lt;/i&gt;.dbo.table&quot; queryout newserverfoldernametestfilename.csv  -c -t, -T&#039;
exec xp_cmdshell @bcp

On our server the bcp command requires the dbserver.dbo.tablename configuration. Doesn&#039;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>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 6/9 queries in 0.017 seconds using memcached
Object Caching 282/285 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-24 20:12:45 -->