Hi.
I use vbRichClient5.dll for Sqlite.
I have a query that inserts a number of records into a table like this:
And it works fine.
However, I am wondering if the number of records that are selected is too large, will it be ok or will it face any kind of problem?
For example, let's say that where clause in the above query, returns 10,000,000 records.
Then 10,000,000 records will be inserted into the table in one shot (all in one shot).
Is that ok?
Or, should I break it down into smaller chunks and insert them one chunk at a time?
And in that case how many records at a time?
Please advise.
Thanks.
I use vbRichClient5.dll for Sqlite.
I have a query that inserts a number of records into a table like this:
Code:
sql = "insert into T1 (A, B, C) "
sql = sql & "select X, Y, Z "
sql = sql & "from Temp_Table_1 "
sql = sql & " where ......"
Cnn.Execute sql
However, I am wondering if the number of records that are selected is too large, will it be ok or will it face any kind of problem?
For example, let's say that where clause in the above query, returns 10,000,000 records.
Then 10,000,000 records will be inserted into the table in one shot (all in one shot).
Is that ok?
Or, should I break it down into smaller chunks and insert them one chunk at a time?
And in that case how many records at a time?
Please advise.
Thanks.