Results 1 to 3 of 3

Thread: Any SQL Guys

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Mar 2004
    Location
    Orlando, FL
    Posts
    1,618

    Any SQL Guys

    I'm using ADO.NET and VB.NET to write some data out to a SQL Server Table. basically I am stepping through a DataTable and Inserting each row into a SQL Server Table. Well when I am done, and look at the table in SQL Server, the number of Rows it says it has is wrong (short a couple hundred), but when I export from that table into Excel, I have the right number of rows. Has anybody heard of this being a SQL Server bug?
    Sean

    Some days when I think about the next 30 years or so of my life I am going to spend writing code, I happily contemplate stepping off a curb in front of a fast moving bus.

  2. #2
    Frenzied Member MrGTI's Avatar
    Join Date
    Oct 2000
    Location
    Ontario, Canada
    Posts
    1,277

    Wink

    The data is there. You're just doing something wrong.

    In QA, run this: SELECT Count(*) FROM your_table_here
    ~Peter


  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Mar 2004
    Location
    Orlando, FL
    Posts
    1,618
    I'm not doing a select, I am just double clicking on the table to bring up the properties window, and it says Rows: 32334. Which is incorrect. So I then export it to Excel, and check and there are 32589 rows, which is correct. Unless I am incorrectly double clicking....
    Sean

    Some days when I think about the next 30 years or so of my life I am going to spend writing code, I happily contemplate stepping off a curb in front of a fast moving bus.

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