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
 Script Library
 Export from SQL to Server
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Julie19
Starting Member

32 Posts

Posted - 06/18/2012 :  14:36:30  Show Profile  Reply with Quote
What is the best approach to export from SQL to Execel apart from DTS and the import/Export Wizard
This is because the data gets appended daily

Your help is greatly appreciated

visakh16
Very Important crosS Applying yaK Herder

India
52309 Posts

Posted - 06/18/2012 :  14:52:29  Show Profile  Reply with Quote
you can use OPENROWSET or add excel as a linked server and use four part naming convention or OPENQUERY

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

jackv
Flowing Fount of Yak Knowledge

United Kingdom
2011 Posts

Posted - 06/19/2012 :  01:47:33  Show Profile  Visit jackv's Homepage  Reply with Quote
Powershell is a good option - it has good facility for connectng to SQL server and Powershell.

Jack Vamvas
--------------------
http://www.sqlserver-dba.com
Go to Top of Page

Julie19
Starting Member

32 Posts

Posted - 06/19/2012 :  08:52:31  Show Profile  Reply with Quote
Is there any code or steps to for the OPENrowset or link server
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52309 Posts

Posted - 06/19/2012 :  15:11:31  Show Profile  Reply with Quote
see

http://www.mssqltips.com/sqlservertip/1202/export-data-from-sql-server-to-excel/

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

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