Solved

Index full

Posted on 2009-04-12
1
199 Views
Last Modified: 2012-05-06
I use int for primary key and set auto increase.

May I know when it increase and reach the max limit, what will it do?

Stop there or start from 0 again.

Thanks.
0
Comment
Question by:turbot_yu
1 Comment
 
LVL 6

Accepted Solution

by:
Kentrix70 earned 500 total points
ID: 24128337
To know the limit of int, you can check this out:

http://forums.asp.net/p/986099/1271198.aspx#1271198

..and about what happens if you reach the limit

http://stackoverflow.com/questions/261815/upper-limit-for-autoincrement-primary-key-in-sql-server

As it is stated on the web page for the last link you can use bigint instead,
which has a REALLY HIGH LIMIT :-)
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
execute a MS SQL script as a schedule SQL job 72 139
How to simplify my SQL statement? 14 55
INSERT DATE FROM STRING COLUMN 18 59
Find results from sql within a time span 11 48
Recently, when I was asked to create a new SQL 2005 cluster, Microsoft released a new service pack for MS SQL 2005 what is Service Pack 3. When I finished the installation of MS SQL 2005 I found myself troubled why the installation of SP3 failed …
When writing XML code a very difficult part is when we like to remove all the elements or attributes from the XML that have no data. I would like to share a set of recursive MSSQL stored procedures that I have made to remove those elements from …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question