Export view data programmatically in Access/SQL Server
Posted
by andy
on Stack Overflow
See other posts from Stack Overflow
or by andy
Published on 2010-04-26T13:04:44Z
Indexed on
2010/04/26
14:43 UTC
Read the original article
Hit count: 269
We have an Access application front-end connected to a SQL Server 2000 database. We would like to be able to programmatically export the results of some views to whatever format we can (ideally Excel, but CSV / tab delimited is fine). Up until now we've just hit F11, opened up the view, and hit File->Save As, but we're starting to get results with more than 16,000 results, which can't be exported.
I'd like some sort of server side stored procedure we can trigger that will do this. I'm aware of the sp_makewebtask procedure that does this, however it requires administrative rights on the server, and for obvious reasons we can't give that to everyone.
Any ideas?
© Stack Overflow or respective owner