title: java - sqlserverbulkcopy-export to CSV
body: <p>I have a requirement like read bulk data from sql server database through java and write to CSV.
  Have to use the same CSV to import the data into database.Is there an option with sqlserverbulkcopy class to generate CSV file? 
  We can write plain java code to write CSV,but I may have huge data.
  I see that there is an option to read from CSV and bulk copy to database.</p>