<?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>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Mon, 13 Feb 2012 15:11:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Sinaman</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-251008</link>
		<dc:creator><![CDATA[Sinaman]]></dc:creator>
		<pubDate>Fri, 10 Feb 2012 16:51:23 +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-251008</guid>
		<description><![CDATA[beautiful solution, thank you. The codes are fine. But I have problem here. After execute the insert statement, the data always appear starting different row. How I can do if I want the data always start at A2 since my data is linked to charts. I need to update the weekly.]]></description>
		<content:encoded><![CDATA[<p>beautiful solution, thank you. The codes are fine. But I have problem here. After execute the insert statement, the data always appear starting different row. How I can do if I want the data always start at A2 since my data is linked to charts. I need to update the weekly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rams</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-251004</link>
		<dc:creator><![CDATA[Rams]]></dc:creator>
		<pubDate>Fri, 10 Feb 2012 16:28:48 +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-251004</guid>
		<description><![CDATA[HI Pinal, 

I have an issue with SSIS package, I have designed a package and schedule it in the prod server, this package delete the exsiting detstination file through Script task and pump the data every time as I need to overwrite the existing data with new data.

The issue is, if anybody open the destination excel file, the pakcage is failing and I am unbale to track those details via send mail task. 

Can any body help on this please..

Thanks,
Rams.]]></description>
		<content:encoded><![CDATA[<p>HI Pinal, </p>
<p>I have an issue with SSIS package, I have designed a package and schedule it in the prod server, this package delete the exsiting detstination file through Script task and pump the data every time as I need to overwrite the existing data with new data.</p>
<p>The issue is, if anybody open the destination excel file, the pakcage is failing and I am unbale to track those details via send mail task. </p>
<p>Can any body help on this please..</p>
<p>Thanks,<br />
Rams.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nilesh Kumar</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-244881</link>
		<dc:creator><![CDATA[Nilesh Kumar]]></dc:creator>
		<pubDate>Sat, 28 Jan 2012 13: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-244881</guid>
		<description><![CDATA[Thanks .... it helped me to upload xlsx data in sql 2005]]></description>
		<content:encoded><![CDATA[<p>Thanks &#8230;. it helped me to upload xlsx data in sql 2005</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ghulam haider</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-209319</link>
		<dc:creator><![CDATA[ghulam haider]]></dc:creator>
		<pubDate>Fri, 02 Dec 2011 12:06: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-209319</guid>
		<description><![CDATA[Excellent.......   Excellent........   Excellent......... 100% fit solution complete solution. Bundle of thanks. Your solutions are really have authority in SQL...]]></description>
		<content:encoded><![CDATA[<p>Excellent&#8230;&#8230;.   Excellent&#8230;&#8230;..   Excellent&#8230;&#8230;&#8230; 100% fit solution complete solution. Bundle of thanks. Your solutions are really have authority in SQL&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shiv</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-204895</link>
		<dc:creator><![CDATA[Shiv]]></dc:creator>
		<pubDate>Sat, 26 Nov 2011 10:24: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-204895</guid>
		<description><![CDATA[Hello ALL,

I am getting this error, can any help to get rid this of

OLE DB provider &quot;Microsoft.Jet.OLEDB.4.0&quot; for linked server &quot;(null)&quot; returned message &quot;Could not find installable ISAM.&quot;.
Msg 7303, Level 16, State 1, Line 1
Cannot initialize the data source object of OLE DB provider &quot;Microsoft.Jet.OLEDB.4.0&quot; for linked server &quot;(null)&quot;.

Regards,

Shiv]]></description>
		<content:encoded><![CDATA[<p>Hello ALL,</p>
<p>I am getting this error, can any help to get rid this of</p>
<p>OLE DB provider &#8220;Microsoft.Jet.OLEDB.4.0&#8243; for linked server &#8220;(null)&#8221; returned message &#8220;Could not find installable ISAM.&#8221;.<br />
Msg 7303, Level 16, State 1, Line 1<br />
Cannot initialize the data source object of OLE DB provider &#8220;Microsoft.Jet.OLEDB.4.0&#8243; for linked server &#8220;(null)&#8221;.</p>
<p>Regards,</p>
<p>Shiv</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-182921</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Mon, 24 Oct 2011 14:12: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-182921</guid>
		<description><![CDATA[Yes. When a file is opened it is exclusively locked by the user/system. So it should be closed at the time of running a query that is accessing the EXCEL file]]></description>
		<content:encoded><![CDATA[<p>Yes. When a file is opened it is exclusively locked by the user/system. So it should be closed at the time of running a query that is accessing the EXCEL file</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madhu</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-182667</link>
		<dc:creator><![CDATA[Madhu]]></dc:creator>
		<pubDate>Mon, 24 Oct 2011 05:59:22 +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-182667</guid>
		<description><![CDATA[Close the file if it is opened. i got the same error but after closing the file i had executed the query it is exporting perfrectly...]]></description>
		<content:encoded><![CDATA[<p>Close the file if it is opened. i got the same error but after closing the file i had executed the query it is exporting perfrectly&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-179864</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Mon, 17 Oct 2011 09:51:02 +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-179864</guid>
		<description><![CDATA[You can know it via Control panel--&gt;Admistrative tools--&gt;Data sources (ODBC)]]></description>
		<content:encoded><![CDATA[<p>You can know it via Control panel&#8211;&gt;Admistrative tools&#8211;&gt;Data sources (ODBC)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gauri</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-179138</link>
		<dc:creator><![CDATA[Gauri]]></dc:creator>
		<pubDate>Sat, 15 Oct 2011 07:37:59 +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-179138</guid>
		<description><![CDATA[Hi,

I checked it. i have 6.0 version for Excel driver on my Windows 7. 
Now can u suggest what i need to do?

Thanks]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I checked it. i have 6.0 version for Excel driver on my Windows 7.<br />
Now can u suggest what i need to do?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gauri</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-179109</link>
		<dc:creator><![CDATA[Gauri]]></dc:creator>
		<pubDate>Sat, 15 Oct 2011 05:01:55 +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-179109</guid>
		<description><![CDATA[Hello there.. 
Can u please guide me as to how to check whether the JET driver for excel is installed in the server?

Thanks]]></description>
		<content:encoded><![CDATA[<p>Hello there..<br />
Can u please guide me as to how to check whether the JET driver for excel is installed in the server?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pablo</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-178864</link>
		<dc:creator><![CDATA[Pablo]]></dc:creator>
		<pubDate>Fri, 14 Oct 2011 15:18:12 +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-178864</guid>
		<description><![CDATA[Great code, thanks a lot!!, it really works]]></description>
		<content:encoded><![CDATA[<p>Great code, thanks a lot!!, it really works</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-178848</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Fri, 14 Oct 2011 14:05: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-178848</guid>
		<description><![CDATA[Make sure that the file is closed at the time of execution and check if the JET driver for EXCEL is installed in the Server]]></description>
		<content:encoded><![CDATA[<p>Make sure that the file is closed at the time of execution and check if the JET driver for EXCEL is installed in the Server</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gauri</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-176023</link>
		<dc:creator><![CDATA[Gauri]]></dc:creator>
		<pubDate>Fri, 07 Oct 2011 08:24:51 +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-176023</guid>
		<description><![CDATA[Hi ,
I want to export sql server 2005 table to excel 2003(windows 7). 
i used this query:
INSERT INTO OPENROWSET(&#039;Microsoft.Jet.OLEDB.4.0&#039;, &#039;Excel 8.0;Database=C:\n\testing.xls;&#039;, &#039;SELECT * FROM [Sheet1$]&#039;) 
SELECT * FROM dlr_master
All column names in both sql server table and excel file are same. 
Excel file is not open.
Path is perfect. 

Still I m getting the error,
Cannot Initialize Datasource Object Of OLEDB Provider &quot;Microsoft.Jet.OLEDB.4.0&quot; for Linked server &quot;(null)&quot;

I feel its Windows 7 platform thats creating a conflict because this query runs well on Windows Xp. 
Please suggest the right query and versions required

Thanks]]></description>
		<content:encoded><![CDATA[<p>Hi ,<br />
I want to export sql server 2005 table to excel 2003(windows 7).<br />
i used this query:<br />
INSERT INTO OPENROWSET(&#8216;Microsoft.Jet.OLEDB.4.0&#8242;, &#8216;Excel 8.0;Database=C:\n\testing.xls;&#8217;, &#8216;SELECT * FROM [Sheet1$]&#8216;)<br />
SELECT * FROM dlr_master<br />
All column names in both sql server table and excel file are same.<br />
Excel file is not open.<br />
Path is perfect. </p>
<p>Still I m getting the error,<br />
Cannot Initialize Datasource Object Of OLEDB Provider &#8220;Microsoft.Jet.OLEDB.4.0&#8243; for Linked server &#8220;(null)&#8221;</p>
<p>I feel its Windows 7 platform thats creating a conflict because this query runs well on Windows Xp.<br />
Please suggest the right query and versions required</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: subh</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-166981</link>
		<dc:creator><![CDATA[subh]]></dc:creator>
		<pubDate>Sat, 10 Sep 2011 05:22:01 +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-166981</guid>
		<description><![CDATA[Hi,

I am getting problem at the time of uploading &quot;The OLE DB provider &quot;Microsoft.Jet.OLEDB.4.0&quot; has not been registered&quot; please help]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am getting problem at the time of uploading &#8220;The OLE DB provider &#8220;Microsoft.Jet.OLEDB.4.0&#8243; has not been registered&#8221; please help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bhai</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-162145</link>
		<dc:creator><![CDATA[bhai]]></dc:creator>
		<pubDate>Fri, 26 Aug 2011 08:02:43 +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-162145</guid>
		<description><![CDATA[bhai 1st create excel and then try doin the same thing]]></description>
		<content:encoded><![CDATA[<p>bhai 1st create excel and then try doin the same thing</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saravana Msk</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-161254</link>
		<dc:creator><![CDATA[Saravana Msk]]></dc:creator>
		<pubDate>Wed, 24 Aug 2011 05:47:21 +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-161254</guid>
		<description><![CDATA[ALTER procedure [dbo].[SP_ExportExcelFromSql]  
 as  
 begin  
insert into OPENROWSET(&#039;Microsoft.Jet.OLEDB.4.0&#039;,   
    &#039;Excel 8.0;Database=F:\SARAVANA\Test.xls;&#039;,   
    &#039;SELECT * FROM [Sheet1$]&#039;) select * from usermas  
    end  






OLE DB provider &quot;Microsoft.Jet.OLEDB.4.0&quot; for linked server &quot;(null)&quot; returned message &quot;Cannot update.  Database or object is read-only.&quot;.
Msg 7399, Level 16, State 1, Procedure SP_ExportExcelFromSql, Line 4
The OLE DB provider &quot;Microsoft.Jet.OLEDB.4.0&quot; for linked server &quot;(null)&quot; reported an error. The provider indicates that the user did not have the permission to perform the operation.
Msg 7343, Level 16, State 2, Procedure SP_ExportExcelFromSql, Line 4
The OLE DB provider &quot;Microsoft.Jet.OLEDB.4.0&quot; for linked server &quot;(null)&quot; could not INSERT INTO table &quot;[Microsoft.Jet.OLEDB.4.0]&quot;.




Still i am facing this error 

Can anyone help me to solve this problem


Thanks in Advance]]></description>
		<content:encoded><![CDATA[<p>ALTER procedure [dbo].[SP_ExportExcelFromSql]<br />
 as<br />
 begin<br />
insert into OPENROWSET(&#8216;Microsoft.Jet.OLEDB.4.0&#8242;,<br />
    &#8216;Excel 8.0;Database=F:\SARAVANA\Test.xls;&#8217;,<br />
    &#8216;SELECT * FROM [Sheet1$]&#8216;) select * from usermas<br />
    end  </p>
<p>OLE DB provider &#8220;Microsoft.Jet.OLEDB.4.0&#8243; for linked server &#8220;(null)&#8221; returned message &#8220;Cannot update.  Database or object is read-only.&#8221;.<br />
Msg 7399, Level 16, State 1, Procedure SP_ExportExcelFromSql, Line 4<br />
The OLE DB provider &#8220;Microsoft.Jet.OLEDB.4.0&#8243; for linked server &#8220;(null)&#8221; reported an error. The provider indicates that the user did not have the permission to perform the operation.<br />
Msg 7343, Level 16, State 2, Procedure SP_ExportExcelFromSql, Line 4<br />
The OLE DB provider &#8220;Microsoft.Jet.OLEDB.4.0&#8243; for linked server &#8220;(null)&#8221; could not INSERT INTO table &#8220;[Microsoft.Jet.OLEDB.4.0]&#8220;.</p>
<p>Still i am facing this error </p>
<p>Can anyone help me to solve this problem</p>
<p>Thanks in Advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saravana Msk</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-161025</link>
		<dc:creator><![CDATA[Saravana Msk]]></dc:creator>
		<pubDate>Tue, 23 Aug 2011 13:39:17 +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-161025</guid>
		<description><![CDATA[Hi madhivanan,

Thanks for your support

I tried this one but it showing the same issue as : 

OLE DB provider &quot;Microsoft.Jet.OLEDB.4.0&quot; for linked server &quot;(null)&quot; returned message &quot;Cannot update.  Database or object is read-only

But i saw the file by Right-Clicking and its properties

and it is not a read only Mode

moreover in the excel file(Test.xls) i added four column names in first line as
and No records for that is it right?

----------------------------------------------------------
Id      User Name     Password        User Type
----------------------------------------------------------





So Plz give some suggestions to fix this issue

Thanks in Advance]]></description>
		<content:encoded><![CDATA[<p>Hi madhivanan,</p>
<p>Thanks for your support</p>
<p>I tried this one but it showing the same issue as : </p>
<p>OLE DB provider &#8220;Microsoft.Jet.OLEDB.4.0&#8243; for linked server &#8220;(null)&#8221; returned message &#8220;Cannot update.  Database or object is read-only</p>
<p>But i saw the file by Right-Clicking and its properties</p>
<p>and it is not a read only Mode</p>
<p>moreover in the excel file(Test.xls) i added four column names in first line as<br />
and No records for that is it right?</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Id      User Name     Password        User Type<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>So Plz give some suggestions to fix this issue</p>
<p>Thanks in Advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-161017</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Tue, 23 Aug 2011 13:24: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-161017</guid>
		<description><![CDATA[For MS Office versions 2010 onwards you need to use ACE provider]]></description>
		<content:encoded><![CDATA[<p>For MS Office versions 2010 onwards you need to use ACE provider</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-161015</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Tue, 23 Aug 2011 13:22: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-161015</guid>
		<description><![CDATA[Make sure the server has Microsoft.Jet.OLEDB.4.0 provider]]></description>
		<content:encoded><![CDATA[<p>Make sure the server has Microsoft.Jet.OLEDB.4.0 provider</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-161013</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Tue, 23 Aug 2011 13:18:39 +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-161013</guid>
		<description><![CDATA[Try this

alter procedure [dbo].[SP_ExportExcelFromSql]
as
begin
insert into OPENROWSET(‘Microsoft.Jet.OLEDB.4.0′,
‘Excel 8.0;IMEX=0;Database=F:\SARAVANA\Test.xls;’,
‘SELECT * FROM [Sheet1$]‘) select * from usermas
end]]></description>
		<content:encoded><![CDATA[<p>Try this</p>
<p>alter procedure [dbo].[SP_ExportExcelFromSql]<br />
as<br />
begin<br />
insert into OPENROWSET(‘Microsoft.Jet.OLEDB.4.0′,<br />
‘Excel 8.0;IMEX=0;Database=F:\SARAVANA\Test.xls;’,<br />
‘SELECT * FROM [Sheet1$]‘) select * from usermas<br />
end</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saravana Msk</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-160971</link>
		<dc:creator><![CDATA[Saravana Msk]]></dc:creator>
		<pubDate>Tue, 23 Aug 2011 11:44:26 +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-160971</guid>
		<description><![CDATA[Hi Thanks for your response madhivanan,

I checked but it has  permission for Read/Write...

Now im using my local database server....

and my file path is my local system...

whether this may give any problem?

Thanks in Advance]]></description>
		<content:encoded><![CDATA[<p>Hi Thanks for your response madhivanan,</p>
<p>I checked but it has  permission for Read/Write&#8230;</p>
<p>Now im using my local database server&#8230;.</p>
<p>and my file path is my local system&#8230;</p>
<p>whether this may give any problem?</p>
<p>Thanks in Advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-160863</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Tue, 23 Aug 2011 05:54:29 +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-160863</guid>
		<description><![CDATA[If the EXCEL is in read-only mode it is not possible to add data to it]]></description>
		<content:encoded><![CDATA[<p>If the EXCEL is in read-only mode it is not possible to add data to it</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saravana Msk</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-160850</link>
		<dc:creator><![CDATA[Saravana Msk]]></dc:creator>
		<pubDate>Tue, 23 Aug 2011 05:36:58 +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-160850</guid>
		<description><![CDATA[alter procedure [dbo].[SP_ExportExcelFromSql]
 as
 begin
insert into OPENROWSET(&#039;Microsoft.Jet.OLEDB.4.0&#039;, 
    &#039;Excel 8.0;Database=F:\SARAVANA\Test.xls;&#039;, 
    &#039;SELECT * FROM [Sheet1$]&#039;) select * from usermas
    end


After executing this i am facing the following error:

OLE DB provider &quot;Microsoft.Jet.OLEDB.4.0&quot; for linked server &quot;(null)&quot; returned message &quot;Cannot update.  Database or object is read-only.&quot;.
Msg 7399, Level 16, State 1, Procedure SP_ExportExcelFromSql, Line 5
The OLE DB provider &quot;Microsoft.Jet.OLEDB.4.0&quot; for linked server &quot;(null)&quot; reported an error. The provider indicates that the user did not have the permission to perform the operation.
Msg 7343, Level 16, State 2, Procedure SP_ExportExcelFromSql, Line 5
The OLE DB provider &quot;Microsoft.Jet.OLEDB.4.0&quot; for linked server &quot;(null)&quot; could not INSERT INTO table &quot;[Microsoft.Jet.OLEDB.4.0]&quot;. 

Could anyone help plz......]]></description>
		<content:encoded><![CDATA[<p>alter procedure [dbo].[SP_ExportExcelFromSql]<br />
 as<br />
 begin<br />
insert into OPENROWSET(&#8216;Microsoft.Jet.OLEDB.4.0&#8242;,<br />
    &#8216;Excel 8.0;Database=F:\SARAVANA\Test.xls;&#8217;,<br />
    &#8216;SELECT * FROM [Sheet1$]&#8216;) select * from usermas<br />
    end</p>
<p>After executing this i am facing the following error:</p>
<p>OLE DB provider &#8220;Microsoft.Jet.OLEDB.4.0&#8243; for linked server &#8220;(null)&#8221; returned message &#8220;Cannot update.  Database or object is read-only.&#8221;.<br />
Msg 7399, Level 16, State 1, Procedure SP_ExportExcelFromSql, Line 5<br />
The OLE DB provider &#8220;Microsoft.Jet.OLEDB.4.0&#8243; for linked server &#8220;(null)&#8221; reported an error. The provider indicates that the user did not have the permission to perform the operation.<br />
Msg 7343, Level 16, State 2, Procedure SP_ExportExcelFromSql, Line 5<br />
The OLE DB provider &#8220;Microsoft.Jet.OLEDB.4.0&#8243; for linked server &#8220;(null)&#8221; could not INSERT INTO table &#8220;[Microsoft.Jet.OLEDB.4.0]&#8220;. </p>
<p>Could anyone help plz&#8230;&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Balu</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-154846</link>
		<dc:creator><![CDATA[Balu]]></dc:creator>
		<pubDate>Mon, 08 Aug 2011 04:56:19 +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-154846</guid>
		<description><![CDATA[Can you send your site URL]]></description>
		<content:encoded><![CDATA[<p>Can you send your site URL</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Balu</title>
		<link>http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/#comment-154844</link>
		<dc:creator><![CDATA[Balu]]></dc:creator>
		<pubDate>Mon, 08 Aug 2011 04:55: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-154844</guid>
		<description><![CDATA[can you send your site address]]></description>
		<content:encoded><![CDATA[<p>can you send your site address</p>
]]></content:encoded>
	</item>
</channel>
</rss>

