dbTalk Databases Forums  

Export any SQL/SP to Excel

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


Discuss Export any SQL/SP to Excel in the microsoft.public.sqlserver.dts forum.



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

Default Export any SQL/SP to Excel - 01-27-2005 , 06:41 PM






Hi,

I need the ability to export any sql statement or stored procedure (with
parameters) to an excel file at will. Anyone know how to put that into a DTS
package, or know of a premade one available somewhere?

Reply With Quote
  #2  
Old   
Ed
 
Posts: n/a

Default RE: Export any SQL/SP to Excel - 01-28-2005 , 04:17 PM






i think when you use the Transformation Task, you are able to choose SQL
query instead of Table / View...
For Stored Procedure, you might want to use UDF to replace the stored
procedure, for the parameters, you might use Dynamic Preperty Task or refer
to the follow link
(http://www.sqldts.com/default.aspx?205)


"Eric" wrote:

Quote:
Hi,

I need the ability to export any sql statement or stored procedure (with
parameters) to an excel file at will. Anyone know how to put that into a DTS
package, or know of a premade one available somewhere?

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 - 2013, Jelsoft Enterprises Ltd.