﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2008 / SQL Server Newbies  / data export / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Tue, 21 May 2013 08:40:44 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: data export</title><link>http://www.sqlservercentral.com/Forums/Topic1383213-1292-1.aspx</link><description>First of all, is it really neccessary to export the BLOB column to a flat file? this will be huge.an alternative is to use SSIS...</description><pubDate>Tue, 13 Nov 2012 07:38:08 GMT</pubDate><dc:creator>Stewart "Arturius" Campbell</dc:creator></item><item><title>data export</title><link>http://www.sqlservercentral.com/Forums/Topic1383213-1292-1.aspx</link><description>Hi all,What is the best (fastest) way to export data into a flat file if one of the columns is varbinary(max)?I am trying the following:[code="sql"]DECLARE @table VARCHAR(128),@file VARCHAR(255),@cmd VARCHAR(512)SET @file = 'C:\temp\' + @db_in + '.' + @schema_in + '.' + @table_in + '.dat'SET @cmd = 'bcp ' + @db_in + '.' + @schema_in + '.' + @table_in + ' out ' + @file + ' -n -T 'EXEC master..xp_cmdshell @cmdEND[/code]but it is taking some time and I am suspecting BLOB column being the offender.Is there another way?Thanks,</description><pubDate>Fri, 09 Nov 2012 13:04:21 GMT</pubDate><dc:creator>rightontarget</dc:creator></item></channel></rss>