· web viewyou can specify the table copy command by views or write query directly into the...

9
Follow the steps below to Export your table data into a file (.txt, .csv, .xlsx): 1. Open SQL Management Studio and Right click on your database. Now, traverse to ‘Tasks > Export Data…’ 2. Now choose your data source and then Export destination, this can be file, another database etc. In this case we will select the ‘Flat File Source’, if you want to export your data in tab delimited file.

Upload: doanthuy

Post on 15-Mar-2018

221 views

Category:

Documents


1 download

TRANSCRIPT

Follow the steps below to Export your table data into a file (.txt, .csv, .xlsx):

1. Open SQL Management Studio and Right click on your database. Now, traverse to ‘Tasks > Export Data…’

2. Now choose your data source and then Export destination, this can be file, another database etc. In this case we will select the ‘Flat File Source’, if you want to export your data in tab delimited file.

3. You can specify the table copy command by views or write query directly into the export wizard. This will be the query that the data set will export into your file. I have selected 2nd option and write the query here. I was export 1K data for test basis.

4. Now, move forward clicking on the ‘Next’ button and finally click on the ‘Finish’ button from the last page of the wizard. I have given all steps screenshot bellow.

5. All done for Export. Here is my test file that contain 1K records that I’ve exported following the above steps.