表可以具有的最大列数 [英] Maximum no of columns that a table can have
本文介绍了表可以具有的最大列数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
问候
D Ramu
解决方案
表中最大限度的列? [ ^ ]
< br $> b $ b
http://msdn.microsoft.com /en-us/library/ms143432.aspx [ ^ ]
嗨Ramu,
我相信它的l由记忆(RAM)模仿。
你可以尝试这个小程序。
DataTable dt = new DataTable();
尝试
{
for ( int i = 0 ; i< 1000000000000; i ++)
dt.Columns.Add(i.ToString)
}
catch (例外情况)
{
// 一些限制例外!
}
谢谢
Hii good mrg to all, iam working on sql server 2008 for the last two months,i want to know how many columns i.e max limit, that a table can have in sqlserver.I also request u all,please tell me is their any reason for that no.....thanks in advance
with regards
D Ramu
解决方案
MAX LIMIT OF COLUMNS IN TABLE?[^]
Hi,
http://msdn.microsoft.com/en-us/library/ms143432.aspx[^]
Hi Ramu,
I believe its limited by memory(RAM).
You can try this small program.
DataTable dt = new DataTable(); try { for(int i = 0;i<1000000000000;i++) dt.Columns.Add(i.ToString) } catch(Exception ex) { //Some limit exception! }
Thanks
这篇关于表可以具有的最大列数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文