Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase «««123

How To Avoid Msg 106 Expand / Collapse
Author
Message
Posted Wednesday, December 10, 2008 12:58 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Saturday, April 12, 2014 10:26 AM
Points: 1,310, Visits: 958
Dear all,

First of all, thank you for the nice words. Writing up the article was a lot more work than I anticipated, but also a lot easier than I feared. My english teacher would have been surprised, but proud. Steve was really helpfull here.

Phil; yes, we tried nested views. But as __Celko__ found out (after a "few" mails), views are no more than "macros", that are resolved into base tables at compile time.
Yes, our solution do read the catalogue to get the list of tables needed. But it is some of our own tables that we read, so it did not make sense to show that.

andreq1, michaelwang; yes, that is one of the solutions that Erland Sommarskog lists, on one of his pages; http://www.sommarskog.se/dynamic_sql.html#Sales_yymm. If you have not read, printed and rehearsed his entire homepage, I think you should. Here it is mandatory reading.

Andrew; to have such a client is not a disaster, it is work. Albeit lots of it. This client is friendly and is focused on obtaining the best solutions, so I’m sure we will end up with something near perfect at some point. But not without loosing the main focus; providing value for the (end) customer.

Best regards,

Henrik



Post #616724
Posted Tuesday, January 05, 2010 12:18 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Saturday, April 12, 2014 10:26 AM
Points: 1,310, Visits: 958
Dear all,

According to j.summers in http://www.sqlservercentral.com/Forums/Topic618362-32-1.aspx#bm841385
Books OnLine for 2008:
Tables per SELECT statement : Limited only by available resources

More details on "Maximum Capacity Specifications for SQL Server" can be found here:
http://msdn.microsoft.com/en-us/library/ms143432.aspx

So now we could skip the UDF solution, and use nested views instead.

Nice to know we have more options now.

Best regards,
Henrik



Post #841876
« Prev Topic | Next Topic »

Add to briefcase «««123

Permissions Expand / Collapse