• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 127
  • Last Modified:

Export MSSQL Tables to .csv

Using Import / Export Wizard on MS SQL 2008 I want to export tables to .csv files
Jose Bredariol
Jose Bredariol
2 Solutions
Walter RitzelSenior Software EngineerCommented:
Brian CroweDatabase AdministratorCommented:
Right-click on the target database
Select Tasks -> Export...
Change the Data Source to "SQL Server Native Client 10.0" or whatever version is available to you
Verify the Server Name and provide the appropriate credentials and select the source Database
Click [Next  >]
Change Destination to "Flat File Destination"
Provide a file name and location
Format should be "Delimited"
Either leave Text qualifier at "<none>" or typically use double quotes "
Select or de-select "Column names in the first data row" as you desire
Click [Next >]
Click [Next >] on the "Specify Table Copy or Query" page
Select the "Source table or view"
Specify the Row delimiter and Column delimiter though "{CR}{LF}" and "Comma {,}" defaults should suffice
Preview if desired
Click [Next >]
Click [Finish >] on the Run Package page
Click [Finish >] on the Complete the Wizard page
Jose BredariolPMPAuthor Commented:
Thanks all
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now