dbTalk Databases Forums  

sql to excel

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss sql to excel in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Meir Azulay
 
Posts: n/a

Default sql to excel - 07-04-2006 , 04:08 AM






how can i export table from sql to Excel using
OpenRowSet function



Reply With Quote
  #2  
Old   
Andrew J. Kelly
 
Posts: n/a

Default Re: sql to excel - 07-04-2006 , 08:36 AM






That is for importing data into SQL Server not exporting. Take a look at SQL
Server Integration Services (SSIS) instead.

--
Andrew J. Kelly SQL MVP

"Meir Azulay" <meiraz (AT) hotmail (DOT) com> wrote

Quote:
how can i export table from sql to Excel using
OpenRowSet function





Reply With Quote
  #3  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: sql to excel - 07-04-2006 , 12:57 PM



Hello Meir,

I presume you are using OPENROWSET to go against Excel rather than SQL Server
although you can use it to go against SQL Server.

http://msdn2.microsoft.com/en-us/library/ms190312.aspx

I would be using SSIS or DTS to do the export to Excel.

Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com

Quote:
how can i export table from sql to Excel using
OpenRowSet function



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.