• Inside the Optimiser: Constructing a Plan – Part 4

    Updated: 2010-07-31 08:41:57
    : : 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 Page Free Space : Paul White Entire Site Search Home Blogs Forums Downloads Opml Page Free Space : Paul White A SQL Server blog from the Kāpiti Coast , New Zealand Inside the Optimiser : Constructing a Plan Part 4 Summary : More undocumented ways to explore how the query optimiser . works Documented Rule-Affecting Options It might surprise you to learn that most T-SQL users have written queries that disable one or more of the optimiser rules . already Join hints LOOP HASH MERGE REMOTE and the query hints shown below are all implemented by disabling one or more optimiser : rules For example , a logical GROUP BY operation including DISTINCT can be physically implemented as

  • SQLAuthority News – A Monthly Round Up of SQLAuthority Blog Posts

    Updated: 2010-07-31 02:30:02
    This month was very interesting month for me. I visited 2 different countries – Malaysia and Sri Lanka. I had great time attending 3 community sessions – Chennai, Kuala Lumpur and Ahmedabad. Though, I was at home only 5 nights, I was fortunate enough to spend good amount of the time with family as well. [...]

  • SSAS Backup and other useful PowerShell scripts

    Updated: 2010-07-30 17:34:58
    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 Davide Mauri Entire Site Search Home Blogs Forums Downloads Opml Davide Mauri A place for my thoughts and experiences on SQL Server , Business Intelligence and NET SSAS Backup and other useful PowerShell scripts Today I was looking for a Powershell script to automatize the backup of Analysis Services database also capable to manage . retention In such search I stubled upon the SSASBackp PowerShell script created by Idera which is also released for . free There’s other script beside that in their PowerShell Free Scripts page http : www.idera.com Products Free-Tools PowerShell-scripts Though many of them probably needs some customization to satisfy your own specific needs ,

  • Inside the Optimiser: Constructing a Plan – Part 3

    Updated: 2010-07-30 16:11:51
    : 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 Page Free Space Paul White Entire Site Search Home Blogs Forums Downloads Opml Page Free Space Paul White A SQL Server blog from the Kāpiti Coast , New Zealand Inside the Optimiser : Constructing a Plan Part 3 Summary : This post presents an undocumented Dynamic Management View we can use to identify the optimisation rules involved in producing an executable . plan Introduction In order to fully explore the way the query optimiser uses rules to construct plan alternatives , we will need a way to identify the rules used to optimise a particular . query SQL Server 2005 later builds only and SQL Server 2008 include an undocumented Dynamic Management View DMV that shows

  • Quote of the day - Doing the right thing

    Updated: 2010-07-30 14:39:00
    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 Buck Woody Entire Site Search Home Blogs Forums Downloads Opml Buck Woody Carpe Datum Quote of the day Doing the right thing Today's quote is from Ovid , a Roman poet : Video meliora proboque deteriora sequor I see and approve the better course , yet choose the worse . Unfortunately all too true for me far too . often Share this : post email it bookmark it digg it reddit kick it live it Published Friday , July 30, 2010 7:39 AM by BuckWoody Filed under : Quote Of The Day 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 Twitter Trackbacks for Buck Woody Quote

  • 2010 PASS Board Applicants: Geoff Hiten

    Updated: 2010-07-30 12:00:00
    Introduction I am interviewing 2010 PASS Board Nominee Applicants. As listed on the PASS Board Elections site the applicants are: Allen Kinsel Andy Warren Denny Cherry Douglas McDowell Geoff Hiten Jack Corbett Mark Ginnebaugh Markus Sprenger Steve Jones I'm asking everyone the same questions and blogging the responses in the order received. Geoff Hiten is up next: Interview WIth Geoff Hiten 1. What's your day job? I work for Intellinet, a business technology consulting company based in Atlanta. I...(read more)

  • PowerPivot not visibile in Excel

    Updated: 2010-07-30 08:49:44
    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 Davide Mauri Entire Site Search Home Blogs Forums Downloads Opml Davide Mauri A place for my thoughts and experiences on SQL Server , Business Intelligence and NET PowerPivot not visibile in Excel Yesterday I had to install PowerPivot on my new machine since I would have liked to use it to process some data , but after having succesfully run the installation package , the PowerPivot menu wasn’t visibile in Excel Looking in the Event Log for errors I found the following : one Exception : Customization could not be loaded because the application domain could not be . created Microsoft.VisualStudio.Tools.Applications.Runtime.CannotCreateCustomizationDomainException :

  • SQLAuthority News – Author’s Birthday – 5 SQL Server Best Practices

    Updated: 2010-07-30 02:30:58
    Today is my birthday. For those who are curious, I have now completed 31 years in my life. I have learned lots of new things during the course of the past few years. Every year I feel that I am getting better as a human being. Since today is my birthday, I have decided NOT [...]

  • Inside the Optimiser: Constructing a Plan - Part 2

    Updated: 2010-07-29 06:42:00
    : 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 Page Free Space Paul White Entire Site Search Home Blogs Forums Downloads Opml Page Free Space Paul White A SQL Server blog from the Kāpiti Coast , New Zealand Inside the Optimiser : Constructing a Plan II Continuing the series of posts looking at how the optimiser matches and applies internal rules to refine a query . plan The last entry ended with this query : plan The optimiser has pushed the predicate ProductNumber LIKE T down from a Filter iterator to the Index Scan on the product table , but it remains as a residual predicate . 160 We need to enable a new transformation rule SelResToFilter to allow the optimiser to rewrite the LIKE as an index : seek Notice that the

  • SQL SERVER – Check Advanced Server Configuration

    Updated: 2010-07-29 02:30:51
    I was recently asked following question: “How I check all the advanced configuration of the SQL Server?” EXEC sp_configure 'Show Advanced Options', 1; GO RECONFIGURE; GO EXEC sp_configure; Running above script will return all the advanced server configurations. Reference: Pinal Dave (http://blog.sqlauthority.com) Filed under: Pinal Dave, SQL, SQL Authority, SQL Query, SQL Scripts, SQL Server, [...]

  • Just how permanent does that data need to be?

    Updated: 2010-07-29 01:23:19
    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 Buck Woody Entire Site Search Home Blogs Forums Downloads Opml Buck Woody Carpe Datum Just how permanent does that data need to be As data professionals , we plan for things . We plan for growth , we have a disaster-recovery plan , we have a plan for consolidation . Those are all good things . But I've seen very few shops that have a good data retention plan This is a plan that basically answers the question , how permanent does that data need to be Just like the disaster recovery plan , we have to ask the organization what they want , and just like that DR plan they'll tell you they want it all . In the case of the DR plan , they'll say we don't want any downtime and when

  • Using LockOneForRead() with C# [SSIS]

    Updated: 2010-07-29 01:09:00
    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 SSIS Junkie Entire Site Search Home Blogs Forums Downloads Opml SSIS Junkie Get your SSIS fix Using LockOneForRead( with C SSIS If you have ever written code to lock variables inside a SSIS Script Task or Script Component then you will probably have written some VB.Net code that looks something like : this Public Sub Main( Dim vars As Variables Dim fireAgain As Boolean True Dts.VariableDispenser.LockOneForRead( VarName vars Do something with the value . vars.Unlock( Dts.TaskResult ScriptResults.Success End Sub If you have then moved to SSIS2008 then you may want to do similar in C so you would convert this code to be something : like public void Main Variables vars bool

  • Inside the Optimiser: Constructing a Plan - Part 1

    Updated: 2010-07-28 18:17:00
    : 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 Page Free Space Paul White Entire Site Search Home Blogs Forums Downloads Opml Page Free Space Paul White A SQL Server blog from the Kāpiti Coast , New Zealand Inside the Optimiser : Constructing a Plan For today’s entry , I thought we might take a look at how the optimiser builds an executable plan using rules . 160 To illustrate the process performed by the optimiser , we’ll configure it to produce incrementally better plans by progressively applying the necessary . rules Here’s a simple query using the AdventureWorks sample database that shows the total number of items in the warehouse for each of a small number of : products : 1 SELECT P.ProductNumber , : 2 P.ProductID

  • 2010 PASS Board Applicants: Jack Corbett

    Updated: 2010-07-28 12:00:00
    Introduction I am interviewing 2010 PASS Board Nominee Applicants. As listed on the PASS Board Elections site the applicants are: Allen Kinsel Andy Warren Denny Cherry Douglas McDowell Geoff Hiten Jack Corbett Mark Ginnebaugh Markus Sprenger Steve Jones I'm asking everyone the same questions and blogging the responses in the order received. Jack Corbett is up next: Interview WIth Jack Corbett 1. What's your day job? Well, depending on who you ask my job title changes. I currently serve as a Software...(read more)

  • Cool Query Plan Transformation of the Day

    Updated: 2010-07-28 10:12:39
    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 Page Free Space Paul White Entire Site Search Home Blogs Forums Downloads Opml Page Free Space Paul White A SQL Server blog from the Kāpiti Coast , New Zealand Cool Query Plan Transformation of the Day In my last post I showed how SQL Server 2005 and later can use a Segment Spool to efficiently implement aggregate window functions and the NTILE ranking . function The query optimiser is also smart enough to recognise that some queries are logically equivalent to a window function , even if they are written using different syntax . 160 As a reminder , here's the sample data defining what the AdventureWorks report output should look : like Here's a query written to meet the same

  • SQLAuthority News – 2 Sessions at TechInsight 2010 – June 29 – July 1, 2010

    Updated: 2010-07-28 02:30:04
    Earlier this month, I got the opportunity to visit Malaysia for community sessions on June 29 – July 1, 2010 at Kuala Lumpur, Malaysia, which I would consider as valuable experience. I presented two different sessions at the event. The event was extremely popular in local community, and I had great time meeting people in [...]

  • Taming the Log-Eating Defrag Beast

    Updated: 2010-07-27 22:20:00
    SQL Server Standard Edition can be a beautiful thing. Since failover clustering, 64-bit support and the corresponding big memory became available with Standard Edition in 2005, it can handle most SQL workloads demanded by a small or medium business. Unless you are running a pretty huge system that truly requires Enterprise functionality like table partitioning or async database mirroring, it's often perfectly safe to run with Standard x64 on a two socket, multicore machine with enough RAM, and save...(read more)

  • Partitioning and the Common Subexpression Spool

    Updated: 2010-07-27 15:36:28
    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 Page Free Space Paul White Entire Site Search Home Blogs Forums Downloads Opml Page Free Space Paul White A SQL Server blog from the Kāpiti Coast , New Zealand Partitioning and the Common Subexpression Spool SQL Server 2005 introduced the OVER clause to enable partitioning of rowsets before applying a window function . 160 This post looks at how this feature may require a query plan containing a common subexpression spool' . 160 This query plan construction is required whenever an aggregate window function or the NTILE ranking window function is . used Example To illustrate , here is a simple query based on the AdventureWorks sample database . 160 The AdventureWorks product

  • The TechNet Wiki and Updated Security Checklists

    Updated: 2010-07-27 14:18:20
    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 Buck Woody Entire Site Search Home Blogs Forums Downloads Opml Buck Woody Carpe Datum The TechNet Wiki and Updated Security Checklists You're probably familiar with a Wiki a document set that anyone can edit . Did you know TechNet Microsoft's source for technical professionals has one And did you know there are lots of folks keeping it up to date Well , Rick Byham , one of my friends over in the SQL Server group has posted a bunch of security checklists and you know how much I love checklists You can go to the Wiki here : http : social.technet.microsoft.com wiki and search for Checklists but here's what he's posted to get you : started Database Engine Security Checklist :

  • The Segment and Sequence Project Iterators

    Updated: 2010-07-27 12:51:10
    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 Page Free Space Paul White Entire Site Search Home Blogs Forums Downloads Opml Page Free Space Paul White A SQL Server technical blog from the Kāpiti Coast , New Zealand The Segment and Sequence Project Iterators In my last post I promised to cover the Segment iterator in more detail , so here we . go Segment The Segment iterator partitions rows into groups as they flow through a query plan , checking whether the current row belongs in the same group as the previous row . 160 For this to work , the incoming rows must be presented in an order which guarantees that all members of a group are received . sequentially Segment has a Group By” argument to specify how it should

  • 2010 PASS Board Applicants: Denny Cherry

    Updated: 2010-07-27 12:00:00
    Introduction I am interviewing 2010 PASS Board Nominee Applicants. As listed on the PASS Board Elections site the applicants are: Allen Kinsel Andy Warren Denny Cherry Douglas McDowell Geoff Hiten Jack Corbett Mark Ginnebaugh Markus Sprenger Steve Jones I'm asking everyone the same questions and blogging the responses in the order received. Denny Cherry is up next: Interview WIth Denny Cherry 1. What's your day job? By title I’m the Manager of Information Systems for a software development company...(read more)

  • The “Segment Top” Query Optimisation

    Updated: 2010-07-27 11:57:00
    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 Page Free Space Paul White Entire Site Search Home Blogs Forums Downloads Opml Page Free Space Paul White A SQL Server technical blog from the Kāpiti Coast , New Zealand The Segment Top” Query Optimisation A question that often comes up on the forums is how to get the first or last row from each group of records in a table . 160 This post describes a clever query plan optimisation that SQL Server can use for these types of . query As a simple example , based on the AdventureWorks sample database , say we need to find the minimum product quantity stored in each bin in the warehouse . Using the Production.ProductInventory table , we can write a simple aggregate : query : 1

  • SQL Server 2008 R2 DACPAC Bug - Cannot insert the value NULL into column 'created_by', table 'msdb.dbo.sysdac_instances_internal'

    Updated: 2010-07-27 04:14:55
    While trying out the new DACPAC feature in SQL Server 2008 R2 recently, I ran into a bug that makes no sense to me at all.  In my environment we use an Active Directory Group for the SQL Database Administrators and that group is a member of the sysadmins fixed server role inside of SQL Server, which I’d suspect is pretty standard in most environments.  The new Data-tier Application feature in SQL Server 2008 R2, has a bug that makes it impossible to Register a new Data-tier Application...(read more)

  • SQL SERVER – Computed Column – PERSISTED and Storage

    Updated: 2010-07-27 02:30:13
    Every time I go for SQL Server Training or Consultation, I always learn something from my attendees. Sometime I even learn that a simple concept which we think is easy and whole world knows, many times very few knows about the same. In recent training I was surprised to know that many people think that [...]

  • Geek City: My Big Fat Partitioning Query

    Updated: 2010-07-26 16:45:00
    When SQL Server first introduced table and index partitioning in SQL 2005, it was the same version that all the metadata changed. So I decided that I could learn a lot about metadata and a lot about the organization and storage of partitions if I tried to write a query, and then a view, that included almost everything anyone would ever need to know about any partitioned objects you had created. While doing that I realized that one function that SQL Server was missing, in spite of all the incredible...(read more)

  • Did You Know? MVP Deep Dives is Deal of the Day at Manning!

    Updated: 2010-07-26 15:45:00
    If, for who knows what reason, you haven't yet got your copy of the SQL MVP Deep Dives book , you can't pass it up today. It is the "Deal of the Day" at Manning , and you can get it for only $25! Check it out at at: http://www.manning.com/nielsen/ (the main Manning page at http://www.manning.com/ mentions the deal, in the top right corner) Use code dotd0726tw (exclamation points have been removed :-) ) There have been lots of blog posts on this site (and others) about the book. Here's my main one:...(read more)

  • SQL SERVER – FIX: ERROR: 8170 Insufficient result space to convert uniqueidentifier value to char

    Updated: 2010-07-26 02:30:49
    I just came across very simple error and the solution was even simpler. While concatenating NEWID to another varchar string, I had to CONVERT/CAST it to VARCHAR and I accidentally put length of VARCHAR to 10 instead of 36. It displayed following error. Msg 8170, Level 16, State 2, Line 1 Insufficient result space to [...]

  • SQLAuthority News – Last 2 Day to Win MSDN Subscription – Total 2 to Win

    Updated: 2010-07-25 02:30:30
    Today is the last day to win MSDN subscription on this blog. SQL Server MVP Madhivanan is known name. As there are more than 150 comments, I had requested him to help me out with deciding the winner. After looking at the quality responses, he has for sure accepted to hep me out with the [...]

  • SQLAuthority News – The story of the world – Spatial Data types – July 24, 2010

    Updated: 2010-07-24 02:30:29
    Today I will be speaking on the subject of Spatial Database at Community Tech Days at Ahmedabad. The event is absolutely FREE. We have so far received 500+ RSVP but there are only limited 250 seats are available. We are doing our best to inform everybody about their registration status. If you have received confirmation [...]

  • SQL SERVER – Find Queries using Parallelism from Cached Plan

    Updated: 2010-07-24 02:30:23
    I recently came across wonderful blog post of Feodor Georgiev. He is one fine developer and like to dwell in the subject of performance tuning and query optimizations. He is one real genius and original blogger. Recently I came across his wonderful script, which I was in fact writing myself and I found out that [...]

  • Product Review: Schema Compare for Oracle

    Updated: 2010-07-23 18:25:03
    One of the more important tasks in the process of rolling out incremental developments to a multi-server production system is to double-check that all of the planned modifications, and nothing else, have been deployed. An Oracle expert, Bruce Armstrong, comes across SQL Compare for Oracle, and sees if it helps with this time-consuming task.

  • Implementing the OUTPUT Clause in SQL Server 2008

    Updated: 2010-07-23 18:25:03
    In retrospect, it was probably the inclusion of the OUTPUT clause in the MERGE statement that gave SQL Server 2008 its most powerful SQL enhancement.. It isn't the easiest of features to explain, but Bob does it in his usual clear and careful way.

  • VALUES() and Long Parameter Lists

    Updated: 2010-07-23 18:25:02
    To make progress as a relational Database programmer, you have to think in terms of sets, rather than lists, arrays or sequential data. Until that point, you'll feel the need to pass lists, arrays and the like to functions and procedures. Joe suggests some unusual ways around the difficulty and broods on the power of the VALUES constructor.

  • SQLAuthority News – Guest Post – Walkthrough on Creating WCF Data Service (ODATA) and Consuming in Windows 7 Mobile application

    Updated: 2010-07-23 02:30:56
    This is guest post by one of my very good friends and .NET MVP, Dhananjay Kumar. The very first impression one gets when they meet him is his politeness. He is an extremely nice person, but has superlative knowledge in .NET and is truly helpful to all of us. Objective In this article, I will [...]

  • Automate and Improve Your Database Maintenance Using Ola Hallengren's Free Script

    Updated: 2010-07-22 22:52:08
    If you ever feel uneasy when you set about handcrafting database maintenance jobs for SQL Server, it may be the voice of your conscience saying 'Ola, Ola!'. Follow your conscience. Ola Hallengren has already crafted a superb set of routines to do this for you. Why reinvent something that does it all, safely and well. Brad McGehee explains....

  • SQLAuthority News – SolidQ Journal Released – A Must Read for All

    Updated: 2010-07-22 02:30:54
    SQL Server is one of the most popular products of Microsoft and a large amount of quality content is available online. Solid Quality Mentors have together built a superior quality journal, which contains the best of the best authentic articles from renowned experts of SQL Server. When I downloaded SolidQ Journal, the very first feeling [...]

  • SQL SERVER – Win USD 11,899 worth MSDN Subscription 5 Days to go

    Updated: 2010-07-21 02:30:36
    Few days ago, I had posted content SQLAuthority News – FREE Microsoft Visual Studio 2010 Ultimate with MSDN. It has received tremendous response to them. This competition is still open for 5 more days. I am sure you can win the subscription if you leave the best comment. Win $ 11,899 worth Price You need [...]

  • SQL SERVER – SELECT * FROM dual – Dual Equivalent

    Updated: 2010-07-20 02:30:17
    This blog post is for all the Oracle developers who keep on asking for the lack of “dual” table in SQL Server. Here is a quick note about DUAL table, in an easy question-and-answer format. What is DUAL in Oracle? Dual is a table that is created by Oracle together with data dictionary. It consists [...]

  • SQL SERVER – Identifying Statistics Used by Query

    Updated: 2010-07-19 02:30:11
    “Can I know which statistics were used by my query?” Recently, someone asked this question in my training class of query optimization and performance tuning. I really liked the question. The answer for me is very simple. “No.” Well, if I stop here suggesting only “No,” it will be an incomplete answer. Let us continue [...]

  • SQLAuthority News – SQL Server Quickstart Downloads from Microsoft

    Updated: 2010-07-18 02:30:14
    Here are few recent published by Microsoft. Application Platform Optimization SQL Server Migration QuickStart The SQL Server Migration QuickStart includes a comprehensive set of technical content including presentations, whitepapers and demos that are designed to help you get details about how to approach your customers who want to improve the return on investment from their [...]

  • SQLAuthority News – Community TechDays, Ahmedabad – July 24, 2010

    Updated: 2010-07-17 02:30:24
    Dive deep into the world of Microsoft technologies at the Community TechDays and get trained on the latest from Microsoft. Build real connections with Microsoft experts and community members, and gain the inspiration and skills needed to maximize your impact on your organization while enhancing your career. What more… you can watch some of these [...]

  • SQL SERVER – Datetime Function TODATETIMEOFFSET Example

    Updated: 2010-07-16 02:30:18
    Earlier I wrote about SQL SERVER – Datetime Function SWITCHOFFSET Example. After reading this blog post, I got another quick reply that if I can explain the usage of TODATETIMEOFFSET as well. Let us go over the definition of the TODATETIMEOFFSET  from BOL: Returns a datetimeoffset value that is translated from a datetime2 expression. What [...]

  • SQL SERVER – Datetime Function SWITCHOFFSET Example

    Updated: 2010-07-15 02:30:13
    I was recently asked if I know how SWITCHOFFSET works. This feature only works in SQL Server 2008. Here is quick definition of the same from BOL: Returns a datetimeoffset value that is changed from the stored time zone offset to a specified new time zone offset. What essentially it does is that changes the [...]

  • SQLAuthority News – Two SQL Sessions at SQL Data Camp at Chennai – July 17, 2010

    Updated: 2010-07-14 02:30:38
    I will be presenting two SQL Server advance level sessions at SQL Data Camp @ Chennai. I am very excited for this event as I am going to meet my friends Sugesh, Deepak, Vidhya and Madhivanan at this event. All of them are SQL Server MVPs. I have come to know that there are two [...]

  • SQL SERVER – How do I Learn and How do I Teach

    Updated: 2010-07-13 02:30:41
    This blog post is written in response to T-SQL Tuesday hosted by Robert L Davis (aka SQLSoldier). The blog post has raised three very interesting questions. How do you learn? How do you teach? What are you learning or teaching? Let me try to answer the same. How do I learn? This question is very [...]

  • SQLAuthority News – FREE Microsoft Visual Studio 2010 Ultimate with MSDN

    Updated: 2010-07-12 02:30:03
    I just received following “NOT FOR SALE” subscription of Microsoft Visual Studio 2010 Ultimate with MSDN. As a MVP, MCT I already have free subscription to MSDN and TechNet. I plan to give away this free subscription to someone who is need of the same or can use it the best. You can win the [...]

  • SQL Server CRUD-Generation from System Views

    Updated: 2010-07-11 19:28:44
    If you are not keen on repetitive typing, you can still rapidly produce production-quality documented code by planning ahead and using Extended properties, and system views. Phil Factor explains, with some Scary SQL

  • SQL SERVER – Parallelism – Row per Processor – Row per Thread – Thread 0

    Updated: 2010-07-11 02:30:54
    Earlier I had posted article answering question. “When SQL Server executes any query on multiple processors, do all processors process equal numbers of rows?” Read the answer over SQL SERVER – Parallelism – Row per Processor – Row per Thread. In the same article, I had asked back to readers as well. “If you look carefully [...]

  • Database Source Control - The Cribsheet

    Updated: 2010-07-10 11:24:48
    As part of our long-running Cribsheet series, we asked William to come up with a brief summary of what was involved in bringing database development work under source control. What are the advantages it brings, and are there disadvantages?

  • SQLAuthority News – Milestone – 1400th Post and Why do I blog

    Updated: 2010-07-10 02:30:50
    I am very glad today that I have reached milestone of 1400th post. I was looking back to my journey which I started on Nov 1, 2006 and I feel that it has been long way. I have noticed a lot of changes in myself too. Earlier, I used to write a milestone post every [...]

  • SQLAuthority News – I am a MVP and I Love SQL Server

    Updated: 2010-07-09 02:30:02
    I am very glad that I received this prestigious award for the third time in a row. I am very thankful to Microsoft for introducing this wonderful technology of SQL Server. I enjoy getting involved with the community, which also helps in my self-improvement as well. I would like to take this moment to thank [...]

  • New Features in Reporting Services 2008 and 2008 R2

    Updated: 2010-07-09 01:27:38
    Quietly, Microsoft has been making radical improvements to Reporting Services; but precisely what was introduced, and when? We asked Bill Pearson, the well-known BI expert, to come up with a definitive survey of the more recent changes and how they help the user of Reporting Services.

  • SQL SERVER – The Self Join – Inner Join and Outer Join

    Updated: 2010-07-08 02:30:54
    Self Join has always been an note-worthy case. It is interesting to ask questions on self join in a room full of developers. I often ask – if there are three kind of joins, i.e.- Inner Join, Outer Join and Cross Join; what type of join is Self Join? The usual answer is that it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=9488&subd=sqlauthority&ref=&feed=1" /

  • Showplan Operator of the Week - Row Count Spool

    Updated: 2010-07-08 01:24:49
    The Row Count Spool operator is a simple component in an execution plan that can make an enormous difference to SQL query plans that would otherwise read a table on every row of the inner input to a nested loop. As this is a common type of query, it illustrates the power that a knowledge of your showplan operators can give you.

Current Feed Items | Previous Months Items

Jun 2010 | May 2010 | Apr 2010 | Mar 2010 | Feb 2010 | Jan 2010