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 2005 Forums
 Transact-SQL (2005)
 Exporting data SQL 2005

Author  Topic 

JeffS23
Posting Yak Master

212 Posts

Posted - 2007-12-31 : 14:21:05
is it possible to programmatically Export to a text file from SQL 2005 without using exec master..xp_cmdshell?

snSQL
Master Smack Fu Yak Hacker

1837 Posts

Posted - 2007-12-31 : 14:35:12
The SQL Server tool for doing that would be SSIS, but usually you'll do that with some kind of client application, not directly in T-SQL code.
Go to Top of Page

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2007-12-31 : 23:13:07
You can create sql job for ssis package and run the job with msdb..sp_start_job.
Go to Top of Page
   

- Advertisement -