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
 General SQL Server Forums
 New to SQL Server Administration
 script

Author  Topic 

pnpsql
Posting Yak Master

246 Posts

Posted - 2011-06-23 : 23:51:34
hi all, i need a script that makes spool in sql server like oracle..pls help me


challenge everything

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2011-06-24 : 00:01:52
You can use bcp.exe (command line tool) to export data from SQL Server to a file. You can also use the export wizard/SSIS/DTS and even OPENROWSET method. Lots of ways to do it in SQL Server. I prefer bcp.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
   

- Advertisement -