|
-
Jan 8th, 2001, 04:40 PM
#1
Thread Starter
Addicted Member
Hi I am relatively new to the world of databases and ADO and wonder if anyone has any tips on speeding up writing to databases.
My program reads a text file then strips out data before writing to an Access 2000 database with ADO.
Thanks,
Alex
-
Jan 8th, 2001, 05:18 PM
#2
Reading from text files and writing to MS Access Database is slow in the first place (Access is not a true relational database, it's a file database), therefore, use something better if you could (MS SQL Server, Oracle, etc.).
If you have to use Access, don't use ADO build-in methods such as AddRecord, Delete, etc.
Code SQL statements instead, it's faster.
-
Jan 9th, 2001, 10:43 AM
#3
Thread Starter
Addicted Member
Thanks for your help. I think it may soon be time to learn how to use SQL server...
Alex
-
Jan 9th, 2001, 11:27 AM
#4
PowerPoster
Try to use the INSERT INTO... VALUES sql statement.
Cheers!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|