top of page

Exporting the SQL Table to Excel The Use of SSMS

There are two alternatives of exporting the information from SQL Server management Studio to a file.

 

1. Brief and Smooth

 

This feature will work speedy for you when you have each Excel and SSMS installed on the identical device. In case you don't have it or cannot access Excel for some thing purpose, but you continue to want the information exported, and  visit the following choice. The primary one is to write down a query and run it. After writing your simple question that outputs the contents of a desk or a more complex query and need to save the end result set right into a .csv or .xls file, this is what you need to do.

 

You click on the pinnacle left rectangle with a view to pick out all the statistics resulted out of your question. Then you proper click on at the end result set and pick out both replica or replica with Headers, a good way to additionally select the column names, so that you realize what information represents to your column.

 

Then you definitely truly visit an Excel document and right click and then Paste the consequences onto the spreadsheet. You can visit http://excelerator.solutions/ for further info. 

 

 

2. Secure and Cozy

 

This selection works high-quality whilst you don't have access to each sq. Server control Studio and Excel on the same system. So that you can export data from one or multiple tables in both a custom way or simply export all data, that is the option to apply.

 

Going into SSMS and proper clicking at the database after which going to responsibilities you will see a choice referred to as Export information, which you will should click.

 

After clicking Export statistics, a brand new window will seem wherein you'll ought to choose the database from in which you want the statistics exported. After choosing the records source you'll press next and get to a window in which you'll need to pick the records destination.

 

You will have a drop-down menu, just like the one you could see under wherein you'll ought to pick out Excel as destination type. The subsequent step might be to browse to the location of in which the file might be created and input its call. also, you should choose the model of Excel you need the file to be created for.

 

Press subsequent and get to the next Wizard window in which you have the choice of either walking a custom question to output custom facts from your tables, or simply pick all records from more tables.Select something version works pleasant for you, however for now permit's just say you want to export all data from a selected desk and consequently you'll pick out the first option.

 

The following window you may see will have you ever pick the table or tables you want to select facts from. select the table you need to export the  statistics from and both press subsequent or Edit Mappings.

 

Press next to get to the following step of the wizard. you will get to a window in which you've got the option of jogging the query "proper Now" and additionally create an SSIS package.

 

After you've selected the alternatives you'd like, press subsequent. you may get to the remaining window of this wizard in which you'll need to press finish.This can create the export report to the record direction you particular with the file name you have got selected.

 

If we go to overview the report, you could see that the records is in that precise layout. Get started at http://excelerator.solutions/.

Learn more about using Excel by going to http://www.ehow.com/how_2065533_use-excel.html
 

 

bottom of page