THE SQL Server Blog Spot on the Web

Welcome to SQLblog.com - The SQL Server blog spot on the web Sign in | Join | Help
in Search

Aaron Bertrand

Aaron is a senior consultant for SQL Sentry, Inc., makers of performance monitoring and event management software for SQL Server, Analysis Services, and Windows. He has been blogging here at sqlblog.com since 2006, focusing on manageability, performance, and new features; has been a Microsoft MVP since 1997; tweets as @AaronBertrand; and speaks frequently at user group meetings and SQL Saturday events.

Presenting "What's New in SQL Server Denali" for WVPASS

Recently I was asked by John Sterrett (blog | twitter) to present to his SQL Server user group (WVPASS) in Wheeling, West Virginia. Well, today is the day, and I will be presenting, "What's new in SQL Server Denali" at tonight's meeting, sponsored by SQL Sentry. The slide deck is attached below; the samples are available here.

If you attended this presentation, please feel free to provide feedback at SpeakerRate.

 

Published Thursday, March 17, 2011 6:00 PM by AaronBertrand

Attachment(s): Demos_Snippets.zip

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

Julian Kuiters said:

Hi Aaron,

I noticed in your MetaDiscovery.sql Demo 3 you say it does not work for temp tables.....

What if you use:

EXEC tempdb.sys.sp_describe_first_result_set N'DECLARE @x TABLE(i INT);SELECT i FROM @x;';

EXEC tempdb.sys.sp_describe_first_result_set N'CREATE TABLE #y (j INT);SELECT j FROM #y;';

GO

its similar to the work around to get object_ids for temp tables

March 17, 2011 9:18 PM
 

AaronBertrand said:

Hi Julian, in this case it's not about location, it's about literal parsing. With the tempdb prefix I get the same error:

Msg 11525, Level 16, State 1, Procedure sp_describe_first_result_set, Line 1

The metadata could not be determined because statement 'SELECT j FROM #y;' uses a temp table.

March 17, 2011 10:20 PM
 

Julian Kuiters said:

Ah thanks Aaron

I'm looking forward to getting my hands on Denali - quite a few of the new functionality shown in your demo scripts would be really useful on my projects

March 17, 2011 10:33 PM

Leave a Comment

(required) 
(optional)
(required) 
Submit

About AaronBertrand

...about me...

This Blog

Syndication

Powered by Community Server (Commercial Edition), by Telligent Systems
  Privacy Statement