Results 1 to 3 of 3
  1. #1
    Join Date
    May 2009
    Posts
    4

    Unanswered: Records are collapsing when inserting bulk data in to MSAccess

    In WIndows XP , if i insert large number of records , records are inserting in correct order.
    In Windows 2003 server , records are misplaced like 2 record is coming 10 position..order is collapsing...but all the records are inserting....

    I am doing insertion thru ADO.Net c# and i am using oledb connection.

    Kindly assist me in this....Very urgent...

  2. #2
    Join Date
    Nov 2004
    Location
    out on a limb
    Posts
    13,692
    Provided Answers: 59
    without using an order by clause the order of rows in a SQL database is indeterminate.
    the storage engine has no idea of the 'correct' order as you define it.

    as it seems to be an issue between XP & 2003 server then I suspect its going to be down to how the file system works in Server 2003, and as such their is nothing you can do about it.

    the fact that all records are being inserted means that there is no significant issue in my books
    I'd rather be riding on the Tiger 800 or the Norton

  3. #3
    Join Date
    Nov 2007
    Location
    Adelaide, South Australia
    Posts
    4,049
    the fact that all records are being inserted means that there is no significant issue in my books
    Agreed. Just sort the resulting data to overcome the "problem".
    Owner and Manager of
    CypherBYTE, Microsoft Access Development Specialists.
    Microsoft Access MCP.
    And all around nice guy!


    "Heck it's something understood by accountants ... so it can't be 'that' difficult..." -- Healdem
    "...teach a man to code and he'll be frustrated for life! " -- georgev

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •