SQL Table

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • OuTCasT
    Contributor
    • Jan 2008
    • 374

    SQL Table

    Can anyone tell me how many columns/rows a table can handle before becoming slow and unusable ?
  • ck9663
    Recognized Expert Specialist
    • Jun 2007
    • 2878

    #2
    I have processed, 15 million rows - by - 100 columns. I just process 380 columns by 60 rows...Everythi ng is working, at least according to the execution time I am required to produce.

    -- CK

    Comment

    • OuTCasT
      Contributor
      • Jan 2008
      • 374

      #3
      Originally posted by ck9663
      I have processed, 15 million rows - by - 100 columns. I just process 380 columns by 60 rows...Everythi ng is working, at least according to the execution time I am required to produce.

      -- CK
      The reason why I ask is because im busy writing a payroll solution, with several tables, employee, deductions, companyContribu tions etc and i dont want to make it complicated by joining the tables together and saving the information back....would it be a prblem if i used the one table with all that information in it, obviously there wont be so many rows since i dont think many companies have more than 50 employees. just the columns will be extensive and at a later stage be more than 100 columns.
      Is it better to use multiple tables instead of 1 table.

      Comment

      • ck9663
        Recognized Expert Specialist
        • Jun 2007
        • 2878

        #4
        Since it's a payroll system, I'd go for the multiple tables. It will also follows the discipline of a Relational Database. Since SQL-Serve can be considered as Relational Database, you can save a lot of time enforcing data integrity and consistency on the database level and not on the apps side.

        You also have to remember that you will have monthly or semi-monthly transaction (depending on how payroll is processed), including handling of deductions.

        -- CK

        Comment

        • OuTCasT
          Contributor
          • Jan 2008
          • 374

          #5
          Originally posted by ck9663
          Since it's a payroll system, I'd go for the multiple tables. It will also follows the discipline of a Relational Database. Since SQL-Serve can be considered as Relational Database, you can save a lot of time enforcing data integrity and consistency on the database level and not on the apps side.

          You also have to remember that you will have monthly or semi-monthly transaction (depending on how payroll is processed), including handling of deductions.

          -- CK
          Well its only monthly transactions. there will be a table for earnings and deductions, most of the screens will use information from these 2 tables.

          this is fairly easy. What i would like to knw is the month end procedure that will update all the tables with the recent data AND insert the Month data into a MonthEnd table for record purposes.
          Is it possible to create a .dll to handle these procedures ??

          Comment

          • ck9663
            Recognized Expert Specialist
            • Jun 2007
            • 2878

            #6
            If all data are in sql-server, I'd recommend stored proc.

            -- CK

            Comment

            Working...