I have no trouble exporting to csv files using ssis when the number of rows is less than 500k. I get the following error when the size gets bigger
DT_TEXT, which is not supported with Unicode files. Use DT_NTEXT instead and convert the data to DT_TEXT using the data conversion component.
Use Management studio
Right click on the database and select Tasks > Export data.
Select Data source as SQL Server, select the server name, authentication and database and click Next.
Select Destination as Flat file Destination and browse for a .csv file and click Next.
Select row terminator as {CR}{LF} and column terminator as comma{,} and click Next.
At the end it will show the details of the rows which got exported to .csv file.