Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 SQL Server 2005 Export to Excel 2003 command....

Author  Topic 

dnf999
Constraint Violating Yak Guru

253 Posts

Posted - 2006-12-26 : 16:02:36
Hi

I'm using SQL Server 2005 and was wondering if there is a command so I can spool out a table into Excel 2003 (without using the results to file option)

The issue is that I have a large number of tables which I need exported to Excel so am trying to look for a simple script to do this, which can be incorporated into a SP.

Also, I connect via Windows Authentication (so there is no sa or pwd)

Many thanks! and Merry Christmas

Michael Valentine Jones
Yak DBA Kernel (pronounced Colonel)

7020 Posts

Posted - 2006-12-26 : 16:34:54
Do not cross post
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=76838

CODO ERGO SUM
Go to Top of Page

dnf999
Constraint Violating Yak Guru

253 Posts

Posted - 2006-12-27 : 15:36:05
Apologies, but does anybody have any answers to this question?

I just want a simple (if available) line(s) of script which I can incorporate into an SP to display the results of a table in an Excel file.

Any help would be received gratefully!

Thanks!
Go to Top of Page

KenW
Constraint Violating Yak Guru

391 Posts

Posted - 2006-12-28 : 11:57:35
dnf,

What Michael was saying was that you should post a single message in a single forum, and follow that message's responses to get your answer. It saves you the effort of monitoring both places, and avoids wasting the time of someone who answers your question in one forum only to find it's already been answered in a different one.

In response to your question, look here: http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=49926

Ken
Go to Top of Page
   

- Advertisement -