Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6364837
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T00:12:56+00:00 2026-05-25T00:12:56+00:00

Normally we can give more values, at the maximum, how many rows a table

  • 0

Normally we can give more values, at the maximum, how many rows a table can have in SQL Server? After that we can’t add a new row.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T00:12:57+00:00Added an answer on May 25, 2026 at 12:12 am

    There are a couple of edge cases (outside of the obvious disk space issue) where SQL Server will prevent you from adding more rows, not about number of rows exactly but thought worth mentioning:

    • you have an IDENTITY column and you hit the end of the range for the data type, e.g. 255 for TINYINT, 2,147,483,647 for INT, some ungodly number that starts with a 9 – possibly the number of inches to the sun and back – for BIGINT, etc. When you try to insert the next row, you’ll get error message 815 about overflowing the type. This has nothing to do with the number of rows already in the table, per se, but rather the number of rows you’ve already tried to insert (without re-seeding the IDENTITY column). If you have a high percentage of rollbacks (or a large number of successful inserts), you may want to keep track of the max value in this column over time.

    • if you have a heap with a non-unique index, or a clustered index that is not unique, you won’t be able to store more than 2 * 2,147,483,647 unique index key combinations. When you try to insert (2 * 2,147,483,647) + 1 rows with a value of 1 in an INT column that is the only column in a clustered index, you will get error message 666 about exhausting the uniqueifier. This is because the uniqueifier (which helps SQL Server identify a row when there is no true key) is only 4 bytes, which means it can’t exceed the capacity of an INT (it does use both positive and negative, unlike IDENTITY unless configure it as such, which is why you get double). Now why you would ever do this, <shrug>… but you could.

    • in the VLDB space, a database can only be 524,272 terabytes. Again a very edge case, but if you have a humongous data warehouse then obviously at some point the number of rows – depending on row size – will put you near this limit. I think petabyte databases, while they allegedly exist in some corner of some lab somewhere, are largely theoretical at this point. I suppose technically the “Limited by available storage” statement on the Max Capacity page for SQL Server could take this max size into account, or they could just assume that nobody will ever have more than 524,272 terabytes of storage available to a single instance of SQL Server (which is probably a reasonable assumption today, but so was 640K of RAM, once :-)).

    There are probably other similarly academic cases, but those are three that I thought of immediately when I saw the title of the question. They’re very obscure and mostly academic, but I still thought they should be included in the discussion.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have several aspx pages that can be opened either normally (full screen in
We have a SQL 2000 server that has widely varied jobs that run at
Have run into an issue that i am hoping somebody can help give me
I know you can't rely on equality between double or decimal type values normally,
What is a great problem I can give a couple of potential devs that
I have a stored procedure that is run nine times a day, just after
I have a Java application in which user can give any executable file (.exe)
Normally in excel you can give a specific name to the cells. How can
I have a server script that I need to be able to shutdown cleanly.
Normally you can do this: <select size=3> <option>blah</option> <option>blah</option> <option>blah</option> </select> And it would

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.