Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / General / Performance / July 2008

Tip: Looking for answers? Try searching our database.

MS SQL Database Limitation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Emmanuel Lamy - 19 Jul 2008 11:07 GMT
Hi everybody,

Anyone knows the maximum column count a MS SQL 2005 can support? TIA.

Emmanuel
Roy Harvey (SQL Server MVP) - 19 Jul 2008 14:44 GMT
>Anyone knows the maximum column count a MS SQL 2005 can support? TIA.

Quoting the Books on Line, in the CREATE TABLE command:

"SQL Server 2005 can have up to two billion tables per database and
1,024 columns per table. The number of rows and total size of the
table are limited only by the available storage. The maximum number of
bytes per row is 8,060. This restriction is relaxed for tables with
varchar, nvarchar, varbinary, or sql_variant columns that cause the
total defined table width to exceed 8,060 bytes. The lengths of each
one of these columns must still fall within the limit of 8,000 bytes,
but their combined widths may exceed the 8,060 byte limit in a table.
For more information, see Row-Overflow Data Exceeding 8 KB."

Roy Harvey
Beacon Falls, CT
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.