Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to export sql result to excel,csv,mdb,pdf ?

Status
Not open for further replies.

Ken

IS-IT--Management
Jul 13, 2005
68
CA
Hi,

Is there a link or simple code to export the sql server result without using Import / export wizard.

Planning to export result in either excel,csv,accdb,mdb,pdf format

TechIt
 
Easiest way is to do the script from Excel and then save it with the desired format.
The other way from SSMS is to mark query result records, right click,choose "Copy with headers" and then paste in Excel.

Borislav Borissov
VFP9 SP2, SQL Server
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top