2010-02-20 415 views

回答

9

沒有限制,除了可能的硬盤大小。

看一看Estimating the Size of a Table

和每個數據庫Maximum Capacity Specifications for SQL Server : Rows per table

表:在數據庫

數據庫對象包括通過對象的數量限制,例如 表,視圖,存儲過程, 用戶定義的函數,觸發器, 規則,默認值和約束。 數據庫中所有對象的總數 不能超過2,147,483,647。

+5

如果是SQL Express,最高可達4GB數據文件。 – 2010-02-20 05:47:34

+0

好的,謝謝先生,我還有另外一個疑問,桌子有什麼限制嗎? – 2010-02-20 05:50:52

+1

只有硬件限制可以限制它。 sql-server(企業)不限制它。 – HotTester 2010-02-20 05:56:10

1
* System storage limits may preclude the limits specified here. 
* A limit of storage means that the limit is dependent on the amount of storage available. 
* A limit of statement means that the limit is dependent on the limit for the maximum length of a statement. 

但是如果你想理論上的最大值則可能有用以下數據你

在非分區表中的行

最大數量4294967288 數據分區中的最大行數4294967288

您可以查看IBM的reference page

+1

IBM參考頁是特定於DB2還是通用的? – 2010-02-20 05:49:26

+0

認爲它是通用的 – Saeros 2010-02-20 06:31:59

相關問題