c# - Read from one table and insert into another - one row at a time -


I am working with a huge database with millions of rows. I would like to run a SQL statement through C #, which selects 1.2 million rows from a database, and incorporates them after parsing and modifying some data.

I wanted to do this by running the selection first, parsing the statement and data would include data through the MySqlDataReader object, it would be a memory overhead, so I have decided to select a line, parse it and put it in another database, and then proceed to the next line

How can this be done? I have tried the SELECT .... INTO syntax for a MySQL query, although it still selects all the data, and then it includes.



Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -