<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; 2005 &#8211; Export Data From SQL Server 2005 to Microsoft Excel Datasheet</title>
	<atom:link href="http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/</link>
	<description>Notes of a SQL Server MVP and Database Administrator</description>
	<lastBuildDate>Sat, 21 Nov 2009 05:54:09 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Deepak</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-57690</link>
		<dc:creator>Deepak</dc:creator>
		<pubDate>Wed, 18 Nov 2009 09:13:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-57690</guid>
		<description>hi 

I tried the same but i get th following error
OLE DB provider &quot;Microsoft.Jet.OLEDB.4.0&quot; for linked server &quot;(null)&quot; returned message &quot;The Microsoft Jet database engine could not find the object &#039;Sheet1$&#039;.  Make sure the object exists and that you spell its name and the path name correctly.&quot;.
Msg 7350, Level 16, State 2, Line 1
Cannot get the column information from OLE DB provider &quot;Microsoft.Jet.OLEDB.4.0&quot; for linked server &quot;(null)&quot;.


Can u please help me how to solve this ,
can i use the same in server 2008.

Please help me</description>
		<content:encoded><![CDATA[<p>hi </p>
<p>I tried the same but i get th following error<br />
OLE DB provider &#8220;Microsoft.Jet.OLEDB.4.0&#8243; for linked server &#8220;(null)&#8221; returned message &#8220;The Microsoft Jet database engine could not find the object &#8216;Sheet1$&#8217;.  Make sure the object exists and that you spell its name and the path name correctly.&#8221;.<br />
Msg 7350, Level 16, State 2, Line 1<br />
Cannot get the column information from OLE DB provider &#8220;Microsoft.Jet.OLEDB.4.0&#8243; for linked server &#8220;(null)&#8221;.</p>
<p>Can u please help me how to solve this ,<br />
can i use the same in server 2008.</p>
<p>Please help me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Malleswarareddy</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-57611</link>
		<dc:creator>Malleswarareddy</dc:creator>
		<pubDate>Sat, 14 Nov 2009 09:11:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-57611</guid>
		<description>Hi Every one,this good and simple. I tried this but it is not Working For me.after that working fine because the same syntax could not be worked for Excel 2007.Finally i got and if we use .xls format and also it will give error if an excel file is open and also for wrong name and also for columns not mentioned</description>
		<content:encoded><![CDATA[<p>Hi Every one,this good and simple. I tried this but it is not Working For me.after that working fine because the same syntax could not be worked for Excel 2007.Finally i got and if we use .xls format and also it will give error if an excel file is open and also for wrong name and also for columns not mentioned</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-57187</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Fri, 30 Oct 2009 17:46:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-57187</guid>
		<description>Thanks this works great. 

One problem I am having. Numeric fields that I am exporting to excel are entered into the excel sheet as text.

I have formatted the column in the excel sheet to number and I am still getting text. Any ideas how to fix this?

Thanks</description>
		<content:encoded><![CDATA[<p>Thanks this works great. </p>
<p>One problem I am having. Numeric fields that I am exporting to excel are entered into the excel sheet as text.</p>
<p>I have formatted the column in the excel sheet to number and I am still getting text. Any ideas how to fix this?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: karinloos</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-57062</link>
		<dc:creator>karinloos</dc:creator>
		<pubDate>Tue, 27 Oct 2009 11:00:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-57062</guid>
		<description>to mahmoud

You generally see this type of error if you have not put the Column headers into Sheet1 of your spreadsheet .

ColumnHeaders must be the same as the Field Names.</description>
		<content:encoded><![CDATA[<p>to mahmoud</p>
<p>You generally see this type of error if you have not put the Column headers into Sheet1 of your spreadsheet .</p>
<p>ColumnHeaders must be the same as the Field Names.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: karinloos</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-57031</link>
		<dc:creator>karinloos</dc:creator>
		<pubDate>Mon, 26 Oct 2009 09:35:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-57031</guid>
		<description>Hi, to all above that got the error :
The OLE DB provider “Microsoft.Jet.OLEDB.4.0″ for linked server “(null)” reported an error. The provider did not give any information about the error.

Ensure that you have a space between Excel and 8.0 in the OPENROWSET section ie

INSERT INTO OPENROWSET (&#039;Microsoft.Jet.OLEDB.4.0&#039;, 
&#039;Excel 8.0; Database=c:\somesheet.xls;&#039;
,&#039;SELECT * FROM [Sheet1$]&#039;)</description>
		<content:encoded><![CDATA[<p>Hi, to all above that got the error :<br />
The OLE DB provider “Microsoft.Jet.OLEDB.4.0″ for linked server “(null)” reported an error. The provider did not give any information about the error.</p>
<p>Ensure that you have a space between Excel and 8.0 in the OPENROWSET section ie</p>
<p>INSERT INTO OPENROWSET (&#8216;Microsoft.Jet.OLEDB.4.0&#8242;,<br />
&#8216;Excel 8.0; Database=c:\somesheet.xls;&#8217;<br />
,&#8217;SELECT * FROM [Sheet1$]&#8216;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mahmoud</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-56597</link>
		<dc:creator>mahmoud</dc:creator>
		<pubDate>Sun, 11 Oct 2009 17:19:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-56597</guid>
		<description>USE [hrnew];
GO
INSERT INTO OPENROWSET (&#039;Microsoft.Jet.OLEDB.4.0&#039;, &#039;Excel 8.0;Database=d:\12345.xls;&#039;,&#039;SELECT * FROM [Sheet1$]&#039;)
SELECT TOP 5 EMP_NO,EMP_FULL_NAME_AR FROM dbo.EMPLOYEES
GO

after run your script with my data i get the next error messge.
please help me



Msg 213, Level 16, State 1, Line 1
Insert Error: Column name or number of supplied values does not match table definition.</description>
		<content:encoded><![CDATA[<p>USE [hrnew];<br />
GO<br />
INSERT INTO OPENROWSET (&#8216;Microsoft.Jet.OLEDB.4.0&#8242;, &#8216;Excel 8.0;Database=d:\12345.xls;&#8217;,'SELECT * FROM [Sheet1$]&#8216;)<br />
SELECT TOP 5 EMP_NO,EMP_FULL_NAME_AR FROM dbo.EMPLOYEES<br />
GO</p>
<p>after run your script with my data i get the next error messge.<br />
please help me</p>
<p>Msg 213, Level 16, State 1, Line 1<br />
Insert Error: Column name or number of supplied values does not match table definition.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Allen</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-56055</link>
		<dc:creator>Allen</dc:creator>
		<pubDate>Tue, 22 Sep 2009 09:12:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-56055</guid>
		<description>Hello sir,

For the solution you gave regarding exporting data from SQL server to Excel sheet, is there any alternative that the file should be manually created along wid a header row.

Is there any way the excel sheet too can be created with a header row defined by running a command line script from the sql promt so that the file along wid header is created at the same time just before data is inserted into that excel sheet i.e creating a dynamic query in which the file path , filename, column headers are specified in variables

Please help out.

Thanx</description>
		<content:encoded><![CDATA[<p>Hello sir,</p>
<p>For the solution you gave regarding exporting data from SQL server to Excel sheet, is there any alternative that the file should be manually created along wid a header row.</p>
<p>Is there any way the excel sheet too can be created with a header row defined by running a command line script from the sql promt so that the file along wid header is created at the same time just before data is inserted into that excel sheet i.e creating a dynamic query in which the file path , filename, column headers are specified in variables</p>
<p>Please help out.</p>
<p>Thanx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kishore</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-54387</link>
		<dc:creator>Kishore</dc:creator>
		<pubDate>Mon, 03 Aug 2009 13:10:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-54387</guid>
		<description>Error :- Msg 7399, Level 16, State 1, Line 1
The OLE DB provider “Microsoft.Jet.OLEDB.4.0″ for linked server “(null)” reported an error. The provider did not give any information about the error.
Msg 7303, Level 16, State 1, Line 1
Cannot initialize the data source object of OLE DB provider “Microsoft.Jet.OLEDB.4.0″ for linked server “(null)”.


Solution :

Make sure your the file path and SQL server are in the same PC</description>
		<content:encoded><![CDATA[<p>Error :- Msg 7399, Level 16, State 1, Line 1<br />
The OLE DB provider “Microsoft.Jet.OLEDB.4.0″ for linked server “(null)” reported an error. The provider did not give any information about the error.<br />
Msg 7303, Level 16, State 1, Line 1<br />
Cannot initialize the data source object of OLE DB provider “Microsoft.Jet.OLEDB.4.0″ for linked server “(null)”.</p>
<p>Solution :</p>
<p>Make sure your the file path and SQL server are in the same PC</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Moden</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-54248</link>
		<dc:creator>Jeff Moden</dc:creator>
		<pubDate>Thu, 30 Jul 2009 06:25:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-54248</guid>
		<description>I can&#039;t find the URL that I wanted to cite, but just to let folks know, the &quot;Jet&quot; drivers for this type of wonderful thing are not supported on the 64 bit version of SQL Server.  Nice, huh?</description>
		<content:encoded><![CDATA[<p>I can&#8217;t find the URL that I wanted to cite, but just to let folks know, the &#8220;Jet&#8221; drivers for this type of wonderful thing are not supported on the 64 bit version of SQL Server.  Nice, huh?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bevo</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-54145</link>
		<dc:creator>Bevo</dc:creator>
		<pubDate>Mon, 27 Jul 2009 18:22:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-54145</guid>
		<description>Worked for me, thanks!</description>
		<content:encoded><![CDATA[<p>Worked for me, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nisam</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-53851</link>
		<dc:creator>Nisam</dc:creator>
		<pubDate>Mon, 20 Jul 2009 05:09:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-53851</guid>
		<description>Great topic. Thanks</description>
		<content:encoded><![CDATA[<p>Great topic. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Corelio</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-53330</link>
		<dc:creator>Corelio</dc:creator>
		<pubDate>Mon, 29 Jun 2009 21:15:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-53330</guid>
		<description>Hi!!!

Is possible to insert data from SQL Server to an Excel Spreadsheet that has a password protection? I need this because I want to prevent User Editing...

Tks a lot!!!</description>
		<content:encoded><![CDATA[<p>Hi!!!</p>
<p>Is possible to insert data from SQL Server to an Excel Spreadsheet that has a password protection? I need this because I want to prevent User Editing&#8230;</p>
<p>Tks a lot!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Praveen</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-53047</link>
		<dc:creator>Praveen</dc:creator>
		<pubDate>Tue, 16 Jun 2009 21:19:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-53047</guid>
		<description>In a simple way, we can export the resultset to .csv file using the following scenario:

1. Go to Tools&gt;&gt;Options&gt;&gt;Query Results&gt;&gt;Sql Server&gt;&gt;Results to text:  specify the output format to &quot;Tab delimited&quot;

2.While executing the query - set Resultset to show as text instead of in grid (Ctrl + Q + T)

3. Select all from the Resultset and save Results as &quot;name.csv&quot; or &quot;name.xls&quot;

- Praveen</description>
		<content:encoded><![CDATA[<p>In a simple way, we can export the resultset to .csv file using the following scenario:</p>
<p>1. Go to Tools&gt;&gt;Options&gt;&gt;Query Results&gt;&gt;Sql Server&gt;&gt;Results to text:  specify the output format to &#8220;Tab delimited&#8221;</p>
<p>2.While executing the query &#8211; set Resultset to show as text instead of in grid (Ctrl + Q + T)</p>
<p>3. Select all from the Resultset and save Results as &#8220;name.csv&#8221; or &#8220;name.xls&#8221;</p>
<p>- Praveen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thato</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-52764</link>
		<dc:creator>Thato</dc:creator>
		<pubDate>Fri, 05 Jun 2009 10:22:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-52764</guid>
		<description>Hi I&#039;ve tried this example with minor changes like:

INSERT INTO OPENROWSET (&#039;Microsoft.ACE.OLEDB.12.0;Database=C:\Documents and Settings\Thato\My Documents\contact.xlsx;&#039;,&#039;SELECT * FROM [Sheet1$]&#039;)
SELECT TOP 5 CallName, Surname
FROM DTIHeadcount
Where Period = 200904
--------------------
I get a syntax error:
Msg 102, Level 15, State 1, Line 1
Incorrect syntax near &#039;)&#039;.

Please help</description>
		<content:encoded><![CDATA[<p>Hi I&#8217;ve tried this example with minor changes like:</p>
<p>INSERT INTO OPENROWSET (&#8216;Microsoft.ACE.OLEDB.12.0;Database=C:\Documents and Settings\Thato\My Documents\contact.xlsx;&#8217;,'SELECT * FROM [Sheet1$]&#8216;)<br />
SELECT TOP 5 CallName, Surname<br />
FROM DTIHeadcount<br />
Where Period = 200904<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
I get a syntax error:<br />
Msg 102, Level 15, State 1, Line 1<br />
Incorrect syntax near &#8216;)&#8217;.</p>
<p>Please help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Test</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-52693</link>
		<dc:creator>Test</dc:creator>
		<pubDate>Wed, 03 Jun 2009 12:59:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-52693</guid>
		<description>Error 0xc00470fe: Data Flow Task: The product level is insufficient for component &quot;Destination - Configuration&quot; (37).
 (SQL Server Import and Export Wizard)</description>
		<content:encoded><![CDATA[<p>Error 0xc00470fe: Data Flow Task: The product level is insufficient for component &#8220;Destination &#8211; Configuration&#8221; (37).<br />
 (SQL Server Import and Export Wizard)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arjay Orcasitas</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-52357</link>
		<dc:creator>Arjay Orcasitas</dc:creator>
		<pubDate>Mon, 25 May 2009 08:47:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-52357</guid>
		<description>Hi, 

I have a problem here. My codes works well. Everything seems fine. My problem is, whenever I upload large files like 18 mb .xls file, It shows page cannot be displayed. I&#039;m working with a project for a large scale company. I really need this.  this one works in SQLquery but not in my app. I hope someone would help me quick. INSERT INTO dbo.data SELECT * FROM OPENROWSET(&#039;Microsoft.Jet.OLEDB.4.0&#039;,
&#039;Excel 8.0;Database=C:\Documents and Settings\...analysis.xls&#039;, [data$])

you can contact me here: jaythree03@gmail.com</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>I have a problem here. My codes works well. Everything seems fine. My problem is, whenever I upload large files like 18 mb .xls file, It shows page cannot be displayed. I&#8217;m working with a project for a large scale company. I really need this.  this one works in SQLquery but not in my app. I hope someone would help me quick. INSERT INTO dbo.data SELECT * FROM OPENROWSET(&#8216;Microsoft.Jet.OLEDB.4.0&#8242;,<br />
&#8216;Excel 8.0;Database=C:\Documents and Settings\&#8230;analysis.xls&#8217;, [data$])</p>
<p>you can contact me here: <a href="mailto:jaythree03@gmail.com">jaythree03@gmail.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Imran Mohammed</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-52187</link>
		<dc:creator>Imran Mohammed</dc:creator>
		<pubDate>Fri, 22 May 2009 05:19:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-52187</guid>
		<description>@Jith, 

Sample from below link :

insert into OPENROWSET(&#039;Microsoft.Jet.OLEDB.4.0&#039;, 
    &#039;Excel 8.0;Database=D:\testing.xls;&#039;, 
    &#039;SELECT * FROM [SheetName$]&#039;) select * from SQLServerTable

Please visit this link to get more details.

Link : http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=49926

~ IM.</description>
		<content:encoded><![CDATA[<p>@Jith, </p>
<p>Sample from below link :</p>
<p>insert into OPENROWSET(&#8216;Microsoft.Jet.OLEDB.4.0&#8242;,<br />
    &#8216;Excel 8.0;Database=D:\testing.xls;&#8217;,<br />
    &#8216;SELECT * FROM [SheetName$]&#8216;) select * from SQLServerTable</p>
<p>Please visit this link to get more details.</p>
<p>Link : <a href="http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=49926" rel="nofollow">http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=49926</a></p>
<p>~ IM.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jith</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-52180</link>
		<dc:creator>jith</dc:creator>
		<pubDate>Fri, 22 May 2009 00:06:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-52180</guid>
		<description>Hi,

INSERT INTO OPENROWSET (&#039;Microsoft.Jet.OLEDB.4.0&#039;, &#039;Excel 8.0;Database=C:\temp\test.xls;&#039;,
&#039;SELECT aftercare_id,participant_id,r_followup_period_id FROM [Sheet1$]&#039;)
SELECT [aftercare_id],[participant_id],[r_followup_period_id]
FROM view_1
go

The above code works, but it will allow me to put only 7 columns, if i put &#039;*&#039; it is not inserting data into excel, could you please tell me how to fix this problem

i have 30 columns in my view. i want to use all columns, could you please respond to me as early as possible.

Thanks,
Roy</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>INSERT INTO OPENROWSET (&#8216;Microsoft.Jet.OLEDB.4.0&#8242;, &#8216;Excel 8.0;Database=C:\temp\test.xls;&#8217;,<br />
&#8216;SELECT aftercare_id,participant_id,r_followup_period_id FROM [Sheet1$]&#8216;)<br />
SELECT [aftercare_id],[participant_id],[r_followup_period_id]<br />
FROM view_1<br />
go</p>
<p>The above code works, but it will allow me to put only 7 columns, if i put &#8216;*&#8217; it is not inserting data into excel, could you please tell me how to fix this problem</p>
<p>i have 30 columns in my view. i want to use all columns, could you please respond to me as early as possible.</p>
<p>Thanks,<br />
Roy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Imran Mohammed</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-51903</link>
		<dc:creator>Imran Mohammed</dc:creator>
		<pubDate>Fri, 15 May 2009 03:12:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-51903</guid>
		<description>@Rizwan

There are a tleast 5 ways of doing this, please look at the below link for more details.

http://support.microsoft.com/kb/321686

IM</description>
		<content:encoded><![CDATA[<p>@Rizwan</p>
<p>There are a tleast 5 ways of doing this, please look at the below link for more details.</p>
<p><a href="http://support.microsoft.com/kb/321686" rel="nofollow">http://support.microsoft.com/kb/321686</a></p>
<p>IM</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rizwan</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-51857</link>
		<dc:creator>Rizwan</dc:creator>
		<pubDate>Thu, 14 May 2009 06:09:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-51857</guid>
		<description>hi dave i tried above code its working for excel but i want to export data from access data base to sql server and vise versa how can do this 


pls help me i am a ferser.................</description>
		<content:encoded><![CDATA[<p>hi dave i tried above code its working for excel but i want to export data from access data base to sql server and vise versa how can do this </p>
<p>pls help me i am a ferser&#8230;&#8230;&#8230;&#8230;&#8230;..</p>
]]></content:encoded>
	</item>
</channel>
</rss>
