在sql Server 2008中,视图中允许的列数有最大限制吗?从MSDN文章(下面)我看到每个Select语句的限制为4096列.这会被应用于视图吗?
例:
CREATE VIEW [dbo].[TestView] AS SELECT Column1,Column2 FROM dbo.SoMetableName
在此视图中,我将被限制为4096列?
http://msdn.microsoft.com/en-us/library/ms143432.aspx
看起来限制是1024列,就是sqlServer 9.0(“Express”和企业版本)的情况.
The error message is: Msg 4505,Level 16,State 1,Procedure wvTest,Line 3 CREATE VIEW Failed because column 'Yo1' in view 'vwTest' exceeds the maximum of 1024 columns.