For reading the data from the database which is faster BCP or Data reader? The data will be around 50,000 records the size will be approximately around 170 MB. Please let me know if you need any more information?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You should use the DataReader, it is designed for buffering DataSets in memory:
Assuming you are consuming the data in a application and not writing an export application, then BCP would only slow you down. BCP would be the appropriate choice if you were only concerned with doing an export.