Ask a Question related to ASP.NET Web Services, Design and Development.
-
Kenny M. #1
Inserting rows into a DB
I have heard that the most time consuming task into a DB is the when we use
the Insert Statatement,
Is that true?
Ok I have an application that sends from 10 to 500 rows to the DB, those
rows are compared again a fixed value and then they are inserted to the DB if
the comparison is ok.
I would like to do all that inside the DB (a SP) but I don’t know how, so I
created a WebService to do that, my point is that I’m not inserting row by
row instead I hold the rows in a Dataset (memory) and later I make one big
insert to the DB.
My question is should I leave that code like this or should go to the DB in
order to insert row by row to gain some performance?
Can you think a better way to do that, because that is the heart of my app
and I want to minimize the time it takes.
Thnks.
--
Kenny M.
Kenny M. Guest
-
inserting into multiple rows with one call
I have had considerable trouble adding multiple rows into a MSSQL7 database. I have tried looping through an array to create the SQL string,... -
Inserting Multiple Rows
Is it possible to insert a number of rows into a table based on a value entered in a textbox? For example (I'm a tech writer not a... -
SQL0954C: application heap shortage inserting rows
Hello, I have got some probems with APPLHEAPSZ DB parameter on DB2 v8.1.x. I try to make mass inserts into a table with a column specified as... -
using :new / :old values in a trigger (after inserting rows)
I am trying run an AFTER INSERT trigger that reads both :new and :old values corresponding to some of the columns of the record I am trying to... -
Inserting into a set of rows in an SPL
Adam Williams wrote in message ... You need to give it a name: DEFINE matrix MULTISET(...); INSERT INTO TABLE(matrix) VALUES (...



Reply With Quote

