Ask a Question related to Coldfusion Database Access, Design and Development.
-
mr. modus #1
What's faster - loop for insert or insert...select.
What is faster if I'm moving large numbers of records (anywhere from 10,000 to
300,000 records per archive) from one query to another table?
1) Query master table, loop through result set and insert into archive table 1
record at a time.
or
2) Have this:
Insert into archive
select * from mastertable
where (condition=value)
mr. modus Guest
-
Insert Loop values into DB Problem
:confused; How do I call the loop when inserting the values into my DB? I am getting an error message. Here is the Insert Statement: ... -
Can you put an Insert Command object in a loop?
Hi I am trying to figure out how to insert a variable number of records into one table in Access, therefore without stored procedures, in ASP... -
insert record loop
Can anyone help me to create an insert record loop using asp vbs? -
SELECT and INSERT
Is there a way to do the SELECT and INSERT in a single SQL statement in MS-Access? -
How to select and then loop while insert
I need help in writing a stored procedure on SQL Server 2000. Basically the stored procedure's primary task is to generate invoice records and... -
Dan Bracuk #2
Re: What's faster - loop for insert or insert...select.
Option 2 is better by far.
Option 2 without using cold fusion is even better if that option is available to you.
Dan Bracuk Guest
-
TheCoolLion #3
Re: What's faster - loop for insert or insert...select.
If you use a database that handles stored procedures do it in the database.
The database server always gives you the best performance.
TheCoolLion Guest



Reply With Quote

