I have a SQL Server 2012 database that I am trying to export to .CSV
. My knowledge of SQL is very basic and my question is, I'm assuming it would be done in Management Studio, how do I do this?
To proceed, follow the below-mentioned steps: Step 1: First of all, start SQL Server Management Studio and connect to the database. Step 2: Next, under Object Explorer search for the database you want to export data in CSV. Step 3: Right-click on the desired database >> go to Tasks >> Export Data.
Export SQL Server data to CSV by using the bcp Utility. Export SQL Server data to CSV by using SQL Server Reporting Services (SSRS) in SQL Server Data Tools (SSDT) within Visual Studio. Export SQL Server data to CSV by using the ApexSQL Complete Copy results as CSV option.
If it is the query results you want exported to csv, you can right click on the results grid and select "Save Results As", which will allow you to save as csv.
Right click on your database in management studio and choose Tasks
-> Export Data...
Follow a wizard, and in destination part choose 'Flat File Destination'. Type your file name and choose your options.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With