August 28, 2008
Untitled-1
ALL PASS Bloggers
  • Bob Beauchemin - Bob Beauchemin's Blog - RSS
  • Glenn Berry - Glenn Berry's SQL Server Performance - RSS
  • Mark Caldwell - Ajarn's SQL Corner - RSS
  • Louis Davidson  - The SQL Doctor is In (Real In) - RSS
  • Tara Duggan - Ramblings of a DBA - RSS
  • Randy Dyess - Transact-SQL Blog - RSS
  • Mike Epprecht - To SQL or not to SQL - RSS
  • Rob Farley - Blog - RSS
  • Euan Garden - Euan Garden's Blog - RSS
  • Bill Graziano - The Lazy DBA - RSS
  • Ken Henderson -  Ken Henderson's WebLog - RSS
  • Haidong Ji - The Ji Village News - RSS
  • Don Kiely - Don Kiely's Technical Blatherings - RSS
  • Kevin Kline - In a Nutshell - RSS
  • Thomas LaRock - Crazy DBA - RSS
  • Greg Linwood - Transaction Blog - RSS 
  • Aaron Lowe - AML's Space - RSS
  • Greg Low - The Bit Bucket - RSS
  • Adam Machanic - data manipulation for fun and profit - RSS 
  • Denise McInerney - select * from denisemc.views - RSS
  • Chris Miller - syscomments - RSS
  • Michael Rys - Musings on XML, XQuery and more... - RSS
  • Dejan Sarka - Solid Quality Learning Blogs - RSS
  • Kent Tegels - Enjoy Every Sandwich - RSS
  • Jamie Thomson - Jamie Thomson - Life, the universe and SSIS! - RSS
  • Rob Volk - TRUNCATE TABLE master..sysdatabases - RSS
  • Christian Wade - Christian Wade's Blog - RSS
  • Joe Webb - Musing and observations about SQL Server, other technogies, and sometimes just life in general - RSS
  • Pat Wright - A SQL Blog - RSS
  • Microsoft SQL Server Development Customer Advisory Team - RSS
  • Microsoft VS Data Team Weblog - RSS 

  • Untitled-1
     

    Welcome, this site is our a collecting ground for blogs about the PASS Community Summit experience and associated technologies.  We have links to any board of speakers, volunteers, attendees, and any members of PASS who want to be listed, and there will be an aggregation of several of the best posts every day.  If you would like to be a part of this site please email drsql@hotmail.com. 

    Untitled-1
    Blogs

    Current Articles | Categories | Search | Syndication

    Articles from Summit Speaker 2005
    Tuesday, December 19, 2006
    Adam Machanic - Medians, ROW_NUMBERs, and performance
    By drsql@hotmail.com @ 10:48 PM :: 746 Views :: 0 Comments :: Summit Speaker 2005
    A couple of days ago, Aaron Bertrand posted about a method for calculating medians in SQL Server 2005 using the ROW_NUMBER function in conjunction with the COUNT aggregate. This method (credited to Itzik Ben-Gan) is interesting, but I discovered an even better way to attack the problem in Joe Celko's Analytics and OLAP in SQL.

    Rather than using a COUNT aggregate in conjunction with the ROW_NUMBER function, Celko's method uses ROW_NUMBER twice: Once with an ascending sort, and again with a descending sort. The output rows can then be matched based on the ascending row number being within +/- 1 of the descending row number.  This becomes clearer with a couple of small examples:

    A

    1

    4

    B

    2

    3

    C

    3

    2

    D

    4

    1

     

    A

    1

    5

    B

    2

    4

    C

    3

    3

    D

    4

    2

    E

    5

    1


    In the first table (even number of rows), the median rows are B and C. These can be matched based on [Ascending Column] IN ([Descending Column] + 1, [Descending Column] - 1). In the second table (odd number of rows), the median row is C, which is matched where [Ascending Column] = [Descending Column]. Note that in the second table, the match criteria for the first table does not apply -- so the generic expression to match either case is the combination of the two:  [Ascending Column] IN ([Descending Column], [Descending Column] + 1, [Descending Column] - 1).

    We can apply this logic within the AdventureWorks database to find the median of the "TotalDue" amount in the Sales.SalesOrderHeader table, for each customer:

    Thursday, May 18, 2006
    Upgrade Assistant
    By heigesr2 @ 9:46 AM :: 976 Views :: 0 Comments :: PASS Member, PASS Summit Attendee 2005, Volunteer, SQL Server 2005, Summit Speaker 2005

    I know that we all have heard about Upgrade Advisor from Microsoft.  Scalability Experts has just released a new FREE tool to assist in testing your application to verify behavior with SQL 2005.  It is called Upgrade Assistant.  Here is the link....  http://www.scalabilityexperts.com/default.asp?action=article&ID=317

    SE has been using the forerunner of this tool over the past year around the world in Application Compatibility Labs where we assist ISVs determine what changes are needed in their apps in order to upgrade to SQL Server 2005.  This version of the tool is much more refined than the one I used in the labs.  I hope that you find it useful.

    Wednesday, March 01, 2006
    Kent Tegels - Shreding XML with XQuery
    By drsql@hotmail.com @ 12:00 AM :: 1073 Views :: 0 Comments :: PASS Member, PASS Summit Attendee 2005, SQL Server 2005, Summit Speaker 2005

    Over on the Microsoft.Public.SqlServer.XML newsgroup, one Chris Kilmer asked a good question about how to shred a single XML document into multiple tables using multiple stored procedures. Chris's goal with this was to have each stored procedure update one table and pass the XML remaining nodes of the first document off to the next stored procedure. This is actually fairly easy except for one thing: maintaining referential activity between inserted elements.

    The XML involved is fairly simple:

    Click here to get more

    Saturday, October 01, 2005
    Kent Tegels - Correction: Michael Rys didn't say 'Normalization is over-rated'
    By drsql@hotmail.com @ 10:12 AM :: 1415 Views :: 0 Comments :: PASS Member, PASS Summit Attendee 2005, Summit 2005, Summit Speaker 2005
    He said "First Normal Form is over-rated." My bad. Now maybe he'll explain why for us...

    It's weird having the Program Manager for your favorite SQL Server 2005 sitting your presentation. I loved it, he gave me some great feedback on the presentation ahead of time. I still had way too much material and had to rush it. Tell you what I'm going to do. As soon as I get a chance, I'm going to turn this into a series of Blog posts. In the mean time, here's the blog post that goes through validating instances using SQLCLR.

    Read on Kent's site

    Monday, September 19, 2005
    Bill Graziano - Integrating .NET and SQL (LINQ)
    By drsql@hotmail.com @ 4:17 PM :: 848 Views :: 0 Comments :: PASS Member, PASS Summit Attendee 2005, Volunteer, SQL Server 2005, Summit Speaker 2005
    From the Visual Studio Data Team blog ... At the PDC Microsoft announced LINQ (Language Independant Query) Framework.  This gives you the ability to use a SQL-like language on your collections (anything IEnumerable).  The example from the blog is:

    Dim SmallCountries = Select Country _
    From Country In Countries _
    Where Country.Population < 1000000

    This is certainly an interesting option for collections.  This will make it much easier to cache data on the client side and use it in a flexible manner.  I've been hearing for years that we're just about to see the end of relational databases and OO databases are the wave of the future.  Instead we're looking at a relationalal “language” coming to an OO environment.  Ha! 

    Read More

    Monday, September 19, 2005
    Kent Tegels - First Impressions of LINQ (the .NET Integrated Query Framework)
    By drsql@hotmail.com @ 4:15 PM :: 910 Views :: 0 Comments :: PASS Member, PASS Summit Attendee 2005, SQL Server 2005, Summit Speaker 2005

     

    As you might expect, yesterday's  announcement of the .NET Integrated Query Framework (LINQ) certainly has my attention. Its pretty hard to put down more than a stream of thought about this right now, but here's some of the implications as I see them.

    • Its cool because, as a developer, I'll be able to express my queries in-line as part of the program
    • ...

    Read More

    Wednesday, September 14, 2005
    Joe Webb - Where to stay in Grapevine?
    By joew@webbtechsolutions.com @ 12:00 AM :: 1135 Views :: 0 Comments :: PASS Member, PASS Summit Attendee 2005, Volunteer, Summit 2005, Summit Speaker 2005
    As many of you already know, this year's PASS Community Summit is shaping up to be the biggest, and hopefully the best, ever! We're really excited about...well everything; lots of great opportunities for networking and education.

    A few weeks back, the Gaylord Texan sold out of rooms for the week of the event. So if you haven't already made your travel arrangements, you're going to have to stay off-site.

    To help out, we've contracted with a couple of other hotels in the area, the Hyatt DFW and the Grand Hyatt. (The Hyatt DFW has already sold out, too, by the way). Both are approximately 5 miles from the Gaylord Texan, but we're going to run shuttles back and forth throughout the day to help with the transportation needs. If you're staying in one of those hotels, check the lobby of the hotel for more details.

    As always, if you have any other needs, check with the PASS Headquarters, http://www.sqlpass.org.


     
    Copyright 2005 Professional Association for SQL Server (PASS)