SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 script
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

pnpsql
Posting Yak Master

India
246 Posts

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


challenge everything

tkizer
Almighty SQL Goddess

USA
37159 Posts

Posted - 06/24/2011 :  00:01:52  Show Profile  Visit tkizer's Homepage  Reply with Quote
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
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000