﻿<?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 7,2000 / T-SQL  / Exporting data of type TEXT to Excel / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sat, 21 Nov 2009 23:25:37 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Exporting data of type TEXT to Excel</title><link>http://www.sqlservercentral.com/Forums/Topic739596-8-1.aspx</link><description>The SQL script is part of a SQL file that contains several exports to excel sheets. I have them all working fine, but because the xmlconfig col of the applications table contains fully qualified XML I need to find a way of exporting this information as well. I could create a txt file, but I'd prefer to keep all exporting to excel as the SQL script is part of a batch file run to obtain backups from remote sites.</description><pubDate>Mon, 22 Jun 2009 12:41:02 GMT</pubDate><dc:creator>Wayne Atherton-398733</dc:creator></item><item><title>RE: Exporting data of type TEXT to Excel</title><link>http://www.sqlservercentral.com/Forums/Topic739596-8-1.aspx</link><description>I'm pretty sure Excel won't allow you to do that.Why not export the XML to text files instead of Excel?</description><pubDate>Mon, 22 Jun 2009 12:18:35 GMT</pubDate><dc:creator>GSquared</dc:creator></item><item><title>Exporting data of type TEXT to Excel</title><link>http://www.sqlservercentral.com/Forums/Topic739596-8-1.aspx</link><description>Hi there,I have some xml stored in a table col of type TEXT, can anyone assist me getting this correct using the following:INSERT INTO OPENROWSET ('Microsoft.Jet.OLEDB.4.0', 'Excel 8.0;Database=C:\ExtractTables\ExcelFiles\SQL2000\SQL2000Tables.xls','SELECT * FROM [ApplicationXMLConfig$]')SELECT xmlconfig from DatabaseName.dbo.ApplicationsI keep getting a truncate error message because the values are greater than 8000 chars (i think)</description><pubDate>Mon, 22 Jun 2009 11:15:46 GMT</pubDate><dc:creator>Wayne Atherton-398733</dc:creator></item></channel></rss>