Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8920105
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T06:11:06+00:00 2026-06-15T06:11:06+00:00

So I have this one time deal where I have to get data from

  • 0

So I have this one time deal where I have to get data from different databases/tables, slice and dice it and insert it into one single table.

This is done through a Windows Form C# .NET 4.0 application.

I have to run this one time deal process once (obviously) for each different entities we’ll be using in our CRM environment.

For some entities, only 20,000 rows to insert so a networked SQL connection is just fine.

But this other one is 800,000 long and is taking quite a long time to finish.

I was wondering whether I’d gain any speed by installing the application on the SQL Server itself and specifying a local connection in my connection string instead of a networked one.

I’d have to make formal request to gain remote desktop access to that server, which is why I’m asking if anyone else has ever used that approach successfully here before actually testing it.

Also, I’m doing my inserts through Entity Framework 4’s SaveChanges() which I call at each inserted row. Perhaps, there is room for optimization there as well and I’m willing to read your opinions.

Thanks much!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T06:11:07+00:00Added an answer on June 15, 2026 at 6:11 am

    Anytime you can eliminate the network you will see a performance improvement. For 800k rows, I would use the SqlBulkCopy class. It’s very easy to use, it basically does the equivalent of a BULK INSERT under the covers.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this dilemma many times - and I would like one time and
I have this code to open multiple files one at a time that is
I have a hard time figuring this one out, it's about mistakes that can
I am having a terrible time figuring this one out. I have a form.
I am having a hard time on this one, I have a folder over
this time i have a simple question: I have one table, related with himself
I have several tables that I am trying to get some data out of,
I have this one class: say InterClass . This class is declared in say,
I have this WinForms project (based on this one , but modified for SharePoint
This one is a little tricky. Say I have this XmlDocument <Object> <Property1>1</Property1> <Property2>2</Property2>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.