Wrox Programmer Forums
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 1st, 2004, 11:40 AM
Authorized User
 
Join Date: Feb 2004
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default record number maximum

Hi,
Is there a record number maximum (or theoritical maximum) in aSQLServer 2000 table. The primary key is AutoNumber, and is an Int field

Thx!

Jorge
__________________
Jorge
 
Old December 1st, 2004, 01:13 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 625
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jemacc
Default

is this the information your looking for: " From Books Online"

int, bigint, smallint, and tinyint
Exact number data types that use integer data.

bigint

Integer (whole number) data from -2^63 (-9,223,372,036,854,775,808) through 2^63-1 (9,223,372,036,854,775,807). Storage size is 8 bytes.

int

Integer (whole number) data from -2^31 (-2,147,483,648) through 2^31 - 1 (2,147,483,647). Storage size is 4 bytes. The SQL-92 synonym for int is integer.

smallint

Integer data from -2^15 (-32,768) through 2^15 - 1 (32,767). Storage size is 2 bytes.

tinyint

Integer data from 0 through 255. Storage size is 1 byte.

Remarks
The bigint data type is supported where integer values are supported. However, bigint is intended for special cases where the integer values may exceed the range supported by the int data type. The int data type remains the primary integer data type in SQL Server.

bigint fits between smallmoney and int in the data type precedence chart.

Functions will return bigint only if the parameter expression is a bigint data type. SQL Server will not automatically promote other integer data types (tinyint, smallint, and int) to bigint.



Jaime E. Maccou
Applications Analyst
Database Programmer
 
Old December 1st, 2004, 02:04 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default

If you are referring to the maximum database size then it's - Maximum Database Size 1,048,516 terabytes.

From:
http://www.microsoft.com/sql/evaluat...ew/default.asp


 
Old December 3rd, 2004, 12:00 PM
Authorized User
 
Join Date: Feb 2004
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thx folks - it sounds like there is no table size limit, save for "the maximum database size then it's - Maximum Database Size 1,048,516 terabytes."


Jorge





Similar Threads
Thread Thread Starter Forum Replies Last Post
Maximum number of cursors exceeded. zaheerabbas.sk Oracle 1 July 4th, 2008 04:41 AM
Maximum Number of Controls? Aaron Edwards Visual Studio 2005 0 March 3rd, 2007 06:04 PM
maximum number of prefixes? gumgak ASP.NET 1.0 and 1.1 Basics 5 February 13th, 2006 09:56 AM
find maximum number Abhinav_jain_mca SQL Server 2000 4 September 28th, 2004 08:13 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.