Results 1 to 4 of 4

Thread: inserting records - fast!

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2000
    Location
    UK
    Posts
    164
    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

  2. #2
    Guest

    Angry

    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.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Nov 2000
    Location
    UK
    Posts
    164
    Thanks for your help. I think it may soon be time to learn how to use SQL server...

    Alex

  4. #4
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238

    Thumbs up

    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
  •  



Click Here to Expand Forum to Full Width