Hi all,
my title might not be quite fair on SQL, but here are the facts:
Before we use to use record set, and we were inserting what we call criteria information i.e name, surname, etc... Using recordset in vb was inserting around 40 recs/sec. I have gone using the 'Insert Into' and the execute method from the ADO connection. I am now getting around 90 recs/seconds. This is quite a good improvement.
But when I thought about it, my problem did not really lie in adding criteria records. This was always decent even when more than 10 millions records in the database.
The problem lies when we insert full text pages in it. This is a major problem. This has practically brought down our application to insert 1 records every 1 minute taking well over 20 hours to process 2000 pages. Ridiculuous I know!!!
Is there a way to insert a full text page using the INSERT INTO Method! I has been giving me a lot of errors!! Any ideas would be appriciated.
Also when trying to add a date to sql server, it is giving me an error about invalid date format. In VB and using record set, you usually put #10/01/2001#, what is it for SQL, I thought it was just a case of putting the # or '. Any info on this would also be appriciated.
The text information is usually info such as invoices, credit notes, statements, etc... So it could also contains characters such as ' since you can have names like O'Leary (Especially if you live in Ireland!).
Any help will as always be greatly appriciated.
Regards,
Thierry
my title might not be quite fair on SQL, but here are the facts:
Before we use to use record set, and we were inserting what we call criteria information i.e name, surname, etc... Using recordset in vb was inserting around 40 recs/sec. I have gone using the 'Insert Into' and the execute method from the ADO connection. I am now getting around 90 recs/seconds. This is quite a good improvement.
But when I thought about it, my problem did not really lie in adding criteria records. This was always decent even when more than 10 millions records in the database.
The problem lies when we insert full text pages in it. This is a major problem. This has practically brought down our application to insert 1 records every 1 minute taking well over 20 hours to process 2000 pages. Ridiculuous I know!!!
Is there a way to insert a full text page using the INSERT INTO Method! I has been giving me a lot of errors!! Any ideas would be appriciated.
Also when trying to add a date to sql server, it is giving me an error about invalid date format. In VB and using record set, you usually put #10/01/2001#, what is it for SQL, I thought it was just a case of putting the # or '. Any info on this would also be appriciated.
The text information is usually info such as invoices, credit notes, statements, etc... So it could also contains characters such as ' since you can have names like O'Leary (Especially if you live in Ireland!).
Any help will as always be greatly appriciated.
Regards,
Thierry