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)
 Export query to excel

Author  Topic 

gparrott
Starting Member

2 Posts

Posted - 2007-03-21 : 18:33:51
I have inherited a website and porting to .net.
this site queries some large census tables and then if requested by the user exports the data to excel.
this was done originally with a lot of asp writes to excel looping through the dataset created by the query.
I would like to just export straight from sql 2k5 when I pass the query.

I know some geniuses up here can tell me how to do that.

thanks a bunch

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2007-03-21 : 21:44:05
see
http://www.simple-talk.com/sql/t-sql-programming/sql-server-excel-workbench/
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=49926


KH

Go to Top of Page

gparrott
Starting Member

2 Posts

Posted - 2007-03-21 : 23:06:11
Thanks k-
Does anyone know this,
I am working in a fed environment wbere I will be selecting from thier (actually my) sql db and writing to the server where my GIS data sits.


any security issues. It's all in their server farm behind the fw...seems more secure than dragging to my website and then writting back into their (my) server.

Any input?

Thanks everyone
Go to Top of Page
   

- Advertisement -