• DMVs for Query Plan Metadata

    Updated: 2010-08-31 18:26:01
    Before you can tackle any performance issues with a working database, you need to know which queries to work on first: The ones that are taking the most time in total, and which are the most expensive in terms of cache, CPU and disk. Although SQL Server Management Studio can help, it isn't long before you need an armoury of DMVs to provide you the statistics to find the culprits.

  • SQL Source Control - no more database development without it

    Updated: 2010-08-31 18:26:01
    John Rummell had a problem that is shared by most database developers. How can one use SQL Server Management Studio to put source control files into a source control system such as SubVersion? The processes he tried were all error-prone and awkward to use. And then he found a solution.

  • Rebuilding Indexes using the SSMS Database Maintenance Wizard

    Updated: 2010-08-31 18:26:01
    Index fragmentation can cause problems with query performance. Indexes therefore need to be occasionally rebuilt. the Rebuild Index task of the SSMS Database Maintenance Wizard drops and rebuilds every index in a database. It is effective but an off-line activity that is resource-intensive, so it not always the best way of avoiding index fragmentation in a production database. Brad explains...

  • 2010 PASS Board Candidates: Andy Warren

    Updated: 2010-08-31 12:00:00
    Introduction The PASS Board presents the following candidates for the 2010 Election: Allen Kinsel [ My original interview | PASS Elections Portal ] Andy Warren [ My original interview | PASS Elections Portal ] Douglas McDowell [ My original interview | PASS Elections Portal ] Geoff Hiten [ My original interview | PASS Elections Portal ] Mark Ginnebaugh [ My original interview | PASS Elections Portal ] The links above are interviews I conducted with the candidates earlier and to the candidates individual...(read more)

  • Using SSAS 2005/2008 as PowerPivot Data Source: Dimensionality Lost

    Updated: 2010-08-31 07:09:00
    This topic is general and not related to a specific feature of PowerPivot. In the way it is designed today, when data are imported from a SSAS cube into PowerPivot, the dimensionality of the original cube is lost and a flat table is imported as the result of a single MDX query. This approach should work in PowerPivot considering the way data are compressed. However, whenever the user want to import data from several cubes that shares some dimensions (despite the fact they are on different servers),...(read more)

  • Do-It-Yourself Map Gallery in SQL Server 2008 R2 Reporting Services

    Updated: 2010-08-31 02:54: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 Stacia Misner Entire Site Search Home Blogs Forums Downloads Opml Stacia Misner Do-It-Yourself Map Gallery in SQL Server 2008 R2 Reporting Services A common question that I get when introducing the map feature in SQL Server 2008 R2 Reporting Services is why the map gallery is limited to maps of the United States and individual states in the US . The reason as I've heard it explained is that the political boundaries for other countries are sometimes in dispute and it was better to stay away from any legal issues that might arise from publishing a map as part of a software installation . Presumably that means that boundaries between states and even towns are not in dispute ,

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

    Updated: 2010-08-31 02:30:06
    Monthly round ups are very refreshing as it gives me chance to go back and see what did I do in last month. The highlight of the last month is the my computed column series and its final installment. If you have not followed up on it I suggest you read SQL SERVER – Computed [...]

  • SolidQ Journal for August is now available

    Updated: 2010-08-31 01:26:00
    Well, we only just managed to squeek it into August but the articles for the August edition of SolidQ Journal are now on our global website. You'll find them here: http://www.solidq.com/sqj/Pages/Home.aspx I'm really looking forward to reading some of these this month. Geoff Snowman is discussing "Different Flavors of Cloud Computing", I've got an article on "Much Ado About SIDs and Logins", Francisco De Chirico shows how to "Rename the All Member in an MDX Parameter in Reporting Services", Gianluca...(read more)

  • Will SQL Azure make Normalization popular again?

    Updated: 2010-08-30 18:46:41
    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 Will SQL Azure make Normalization popular again Normalization should be very popular and widespread . Unfortunately I can say that the 99 of developers that work with database and thus design the database schema don’t know it . Even worse they don’t even realize that normalization is a key point in application development AFAIK developers and project managers don’t care too much of normalization because they think that it only helps in lowering the storage required by the database and nothing more . Since today

  • 2010 PASS Board Candidates: Allen Kinsel

    Updated: 2010-08-30 12:00:00
    Introduction The PASS Board presents the following candidates for the 2010 Election: Allen Kinsel [ My original interview | PASS Elections Portal ] Andy Warren [ My original interview | PASS Elections Portal ] Douglas McDowell [ My original interview | PASS Elections Portal ] Geoff Hiten [ My original interview | PASS Elections Portal ] Mark Ginnebaugh [ My original interview | PASS Elections Portal ] The links above are interviews I conducted with the candidates earlier and to the candidates individual...(read more)

  • Using SSAS 2005/2008 as PowerPivot Data Source: Measures Are Imported as Text Columns

    Updated: 2010-08-30 07:05:00
    Every measure imported from a SSAS cube is imported as a Text column instead of as a Numeric column. This is very annoying because users are used to use SSAS data with rich metadata, and a measure is usually numeric. Moreover, the standard aggregation used by PowerPivot for a Text column is Count - whenever the measure is a real count (thus, an integer number), this is completely misleading because the user doesn't recognize it is returning a completely wrong value. Moreover, there is a wrong use...(read more)

  • How to calculate Median in SQL Server

    Updated: 2010-08-30 05:00:00
    Jeff's SQL Server Blog Random Thoughts Cartesian Products with Microsoft SQL Server posts 156, comments 2676, trackbacks 64 My Links Home Contact Blog RSS Feed Login SQLTeam.com SQLTeam.com Weblogs Advertisement News Welcome to my weblog . My name is Jeff Smith , I am software developer in Boston , MA and I was recently named a 2009 SQL Server MVP . Check in frequently for tips , tricks , commentary and ideas on SQL Server and NET programming . Subscribe Archives August , 2010 1 November , 2009 2 October , 2009 1 December , 2008 1 October , 2008 2 August , 2008 3 July , 2008 3 June , 2008 3 May , 2008 4 April , 2008 2 March , 2008 2 February , 2008 9 January , 2008 3 December , 2007 3 November , 2007 2 October , 2007 8 September , 2007 4 August , 2007 5 July , 2007 11 June , 2007 8 May ,

  • Beyond Multiple Choice - how do you feel about SQL Server certification?

    Updated: 2010-08-30 03:19:00
    Last week I attended a Live Meeting session conducted by Gerry O'Brien of Microsoft Learning. He gave a demonstration of a developer oriented exam that requires test takers to write working code. Expect to see exams like this over a year from now. Gerry specifically told us that this particular certification development is not covered by any NDAs. How do you feel about certifications? When you are hiring someone with SQL Server skills, do you consider certification? Would you be more likely to consider...(read more)

  • SQLAuthority News – SQL Server Performance Optimization – Seminar Series

    Updated: 2010-08-30 02:30:11
    I am very glad that I will be presenting my very first seminar training series worldwide. This event is called the Solid Quality DIRECTIONS Seminar Series. I am very fortunate that I am given this opportunity to work under prestigious organizations. I have been with Solid Quality Mentors for more than a year now. I [...]

  • Speaking at SQL Saturday #50 in Iowa City, IA, and the recent disturbance in the Force.

    Updated: 2010-08-29 16:29:00
    In a few weeks I will be meeting a lot of old friends and new folks at SQL Saturday #50 in Iowa City . I'll do two presentations: on defensive database programming and on coding for high concurrency. I really like this whole SQL Saturday thing. For me it is much better to allocate a Saturday for training and networking close to where I live, than to travel and not work for several business days. I would like to thank Steve Jones, Andy Warren, and Brian Knight who got this whole thing up and running....(read more)

  • More info on Red Gate SQL Storage Compress 5.0

    Updated: 2010-08-29 15:20:00
    The other day I wrote a blog post about my initial trials with SQL Storage Compress 5.0 . For the most part my experience with the product was fantastic, however there were a few areas where I felt bit uneasy - and wanted to address those concerns. Recoverability Since I am a troublemaker by nature, one of the first things I tried in my initial round of testing was to access a compressed database while the HyperBac service was stopped. I simply stopped the service through the HyperBac Configuration...(read more)

  • SQLAuthority News – Download – SQL Server Monitoring Management Pack

    Updated: 2010-08-29 02:30:06
    The SQL Server Management Pack provides the capabilities for Operations Manager 2007 SP1 and R2 to discover SQL Server 2005, 2008, and 2008 R2. It monitors SQL Server components such as database engine instances, databases, and SQL Server agents. The monitoring provided by this management pack includes performance, availability, and configuration monitoring, performance data collection, [...]

  • Speaking in Raleigh NC for SQL Saturday #46

    Updated: 2010-08-28 04:16:30
      I hope to see a bunch of you in Raleigh on the 18th of September for SQL Saturday #46. I will be giving a presentation on Query Plan Reuse but there will be tons of good sessions from lots of great speakers. Check it out here: http://www.sqlsaturday.com/46/eventhome.aspx Andy...(read more)

  • SQL SERVER – Plan Cache – Retrieve and Remove – A Simple Script

    Updated: 2010-08-28 02:30:21
    I had a very interesting situation at my recent performance tuning project. I realize that the developers there were running very large dataset queries on their production server randomly. I got alarmed so I suggested their developer not to do that on the production server; instead, they could create some alternate scenarios where they could [...]

  • Quote of the Day: On Thinking Differently

    Updated: 2010-08-27 11:38:00
    We can't solve problems using the same kind of thinking we used when we created them. - Albert Einstein

  • SQLAuthority News – Spicejet Complain – Do Not Fly with Spicejet

    Updated: 2010-08-27 02:30:50
    Years ago I had written about the subject SQLAuthority News – Airline Review – Paramount, Kingfisher, Go Air, Indigo, Jet Airways, Indian Airlines, Spicejet; today this blog post confirms that there is no change in my ranking. There is one change I would like to propose: Remove Spicejet from ranking completely! My recent experience with [...]

  • First Look : Red Gate SQL Storage Compress 5.0

    Updated: 2010-08-26 19:38:00
    Recently, Red Gate Software released a new version of their product called SQL Storage Compress 5.0 . This is an alternative to using the native Data Compression and Backup Compression features introduced in SQL Server 2008. In order to utilize Data Compression, you must be running Enterprise Edition or above (and yes, for the nit-pickers, I know this includes Developer and Evaluation, but these aren't real production editions). For Backup Compression, this was relaxed in SQL Server 2008 R2 to also...(read more)

  • Sorting, Row Goals, and the TOP 100 Problem

    Updated: 2010-08-26 14:34:02
    : , , 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 technical SQL Server blog from the Kāpiti Coast , New Zealand Sorting , Row Goals , and the TOP 100 Problem When you write a query to return the first few rows from a potential result set , you’ll often use the TOP clause . 160 To give a precise meaning to the TOP operation , it will normally be accompanied by an ORDER BY clause . 160 Together , the TOP ORDER BY construction can be used to precisely identify which top n’ rows should be . returned The Top N’ Sort Thinking about how this requirement might be implemented in an executable query plan , we might

  • Using SSAS 2005/2008 as PowerPivot Data Source: Direct MDX

    Updated: 2010-08-26 06:53:00
    If you write direct MDX queries using SSAS 2005/2008 as a PowerPivot data source, it is better if you prepare your MDX query by using another editor. For example, write and test your MDX query by using SQL Server Management Studio and then copy & paste your query into the user interface provided by the Table Import Wizard. The remaining part of this post is dedicated to an explanation of the reasons for that. The Table Import Wizard immediately shows the MDX Statement page and Design dialog box...(read more)

  • SQL SERVER – Adding Column is Expensive by Joining Table Outside View – Limitation of the Views Part 2

    Updated: 2010-08-26 02:30:29
    Note: I have updated the title based on feedback of Davide Mauri (Solid Quality Mentors). Thank you for your help. Let’s see another reason why I do not like Views. Regular queries or Stored Procedures give us flexibility when we need another column; we can add a column to regular queries right away. If we [...]

  • Downloading and Installing SQL Server 2008 R2 Master Data Services (MDS) Cumulative Updates

    Updated: 2010-08-26 01:13:55
    (This post was contributed by Reagan Templin, Lead Technical Writer for the MDS Team) Recently, we released the first cumulative update (CU) for Master Data Services (MDS) . This blog entry explains how to download and install that CU, as well as subsequent CUs for MDS. Each Master Data Services (MDS) cumulative update is released as a stand-alone installer for SQL Server 2008 R2 Master Data Services. An update can be installed on a server without a previous installation of MDS, or it can be applied...(read more</a)

  • SQL Server puzzle: Why are the SQL Agent jobs executing twice?

    Updated: 2010-08-25 22:13:00
    I recently ran into a rather freakish case in which many SQL Agent jobs on a SQL Server 2005 instance were reported to run twice at their scheduled times. And the 2 nd run took place either at almost exactly the same time or only a second or two later. Upon further examination, I could confirm the following: The jobs did indeed run twice. No hallucination here! It’s not that the job history showed two entries for each run. But they actually ran twice as often as their schedules would normally allow....(read more)

  • SQL Server 2008 R2 Best Practices Analyzer

    Updated: 2010-08-25 22:00:00
    Maybe I'm a little late to the party, but I thought I would share with you the most recent release of Microsoft's Best Practices Analyzer for SQL Server 2008 R2 (you can also read the original blog announcement from CSS ). Let me be clear: this tool is not just for people who are already on SQL Server 2008 R2. It will also happily analyze your SQL Server 2008 instances, so don't be fooled by the label. That said, getting the thing installed was an exercise in patience. Like most people, I clicked...(read more)

  • A Whole Lotta Talkin' Goin' On!

    Updated: 2010-08-25 20:44: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 Stacia Misner Entire Site Search Home Blogs Forums Downloads Opml Stacia Misner A Whole Lotta Talkin' Goin' On Winding down on the authoring process of my latest book , Building Integrated Business Intelligence Solutions with SQL Server 2008 R2 Office 2010 I decided to look at my calendar to see what I should work on next , and saw that I have a lot of presentations to prepare Here's a list of events planned through November with placeholders for details that aren't yet publicly available to be updated soon Maybe you can join me for one or more Building a Data Mart with Integration Services Free Webcast September 8, 2010 3:00 PM 4:00 PM EDT Understanding current trends in

  • SQL SERVER – Does Order of Column in WHERE clause Matter?

    Updated: 2010-08-25 02:30:19
    Today is quick puzzle time. Does the order column used in WHERE clause matter for performance? I recently heard from someone it does matter and a senior SQL person was able to reproduce it, but again I have no proof for it and I have not seen it before. Here are the rules for you [...]

  • SQLAuthority News – Download Microsoft SQL Server Migration Assistant

    Updated: 2010-08-24 02:30:33
    SSMA for Oracle v4.2 Microsoft SQL Server Migration Assistant (SSMA) is a toolkit that dramatically cuts the effort, cost, and risk of migrating from Oracle to SQL Server 2005, SQL Server 2008 or SQL Server 2008 R2. SSMA for Access v4.2 Microsoft SQL Server Migration Assistant (SSMA) is a toolkit that dramatically cuts the effort, [...]

  • SQLAuthority News – Feedback Received for Virtual Tech Days Sessions on Spatial Database

    Updated: 2010-08-24 02:30:14
    I recently got opportunity to speak at Virtual Tech Days on August 18, 2010 on the subject Spatial Database. The event was heavily attended by enthusiasts world wide. I delivered session the on the subject of Spatial Database and it was great fun to deliver the session. I have delivered similar session many times before [...]

  • SQL SERVER – ORDER BY Does Not Work – Limitation of the Views Part 1

    Updated: 2010-08-23 02:30:14
    Recently, I was about the limitations of views. I started to make a list and realized that there are many limitations of the views. Let us start with the first well-known limitation. Order By clause does not work in View. I agree with all of you  who say that there is no need of using [...]

  • SQL SERVER – Computed Columns – Index and Performance

    Updated: 2010-08-22 02:30:22
    This is the last article in the series of the computed columns I have been writing. Here are previous articles. SQL SERVER – Computed Column – PERSISTED and Storage This article talks about how computed columns are created and why they take more storage space than before. SQL SERVER – Computed Column – PERSISTED and [...]

  • SQL SERVER – Computed Column – PERSISTED and Storage – Part 2

    Updated: 2010-08-21 02:30:44
    I am really enjoying writing about computed column and its effect in terms of storage. Before I go on with this topic, I suggest you read the earlier articles about computed column to get the complete context. This is the list of the all the articles in the series of computed column. SQL SERVER – [...]

  • SQL SERVER – Function to Retrieve First Word of Sentence – String Operation

    Updated: 2010-08-20 02:30:08
    I have sent of function library where I store all the UDF I have ever written. Recently I received email from my friend requesting if I have UDF which manipulate string and returns only very first word of the statement. Well, I realize that I do not have such a script at all. I found [...]

  • SQL SERVER – Negative Identity Seed Value and Negative Increment Interval

    Updated: 2010-08-19 02:30:51
    I just had interesting conversation with one of my friend who said identity value can not start from Zero. I told him that it can even start from negative value. He did not believe it. I quickly come with example and he was surprised to see it. USE [AdventureWorks] GO IF EXISTS (SELECT * FROM [...]

  • SQL SERVER – Download SQL Server 2008 Interview Questions and Answers Complete List

    Updated: 2010-08-18 02:30:42
    I was getting many request to update SQL Server Interview Questions and Answers I had written couple of years ago. I have modified the original document a bit and corrected few of the typos and errors. I have really enjoyed going over all the Interview Questions and Answers. It has been the most popular subject [...]

  • SQLAuthority News – Speaking Online at Virtual Techdays – Aug 18, 2010 – Spatial Datatypes

    Updated: 2010-08-17 02:30:49
    I am honored that I have been invited to speak at Virtual TechDays on Aug 18, 2010 by Microsoft. I will be speaking on my favorite subject of Spatial Datatypes. This exclusive Online event will have 30 deep technical sessions per day – and, attendance is completely FREE. There are dedicated tracks for Architects, Software  [...]

  • SQL SERVER – Finding the Occurrence of Character in String

    Updated: 2010-08-16 02:30:13
    This article is written in response to provide hint to TSQL Beginners Challenge 14. The challenge is about counting the number of occurrences of characters in the string. Here is quick method how you can count occurrence of character in any string. Here is quick example which provides you two different details. How many times [...]

  • SQLAuthority News – Bookmark Link for Sync Framework for SQL Azure

    Updated: 2010-08-15 02:30:40
    I have been looking for good tutorial for Sync Framework for SQL Server. There was quite a bit demand of the product. I have received quite a few request as well. I finally found good list of the link of Sync Framework. The links are listed below. Introduction to Sync Framework Introduction to Sync Framework [...]

  • SQLAuthority News – Why SQL Server is better than any other RDBMS Applications?

    Updated: 2010-08-14 02:30:48
    Earlier I had announced contest on blog where I gave away two MSDN Subscriptions to person who has provided best comment on the subject of “Why SQL Server is better than any other RDBMS Applications?” I have received tremendous response to the contest. I got many responses, it was extremely difficult to announce the winner [...]

  • SQL SERVER – Computed Column and Performance – Part 3

    Updated: 2010-08-13 02:30:27
    I am really enjoying writing about computed column and its effect in terms of performance. Before continuing this article, I suggest you read the earlier articles on the same subject to get the complete context. This is the list of the all the articles in the series of computed column. SQL SERVER – Computed Column [...]

  • SQL SERVER – SHRINKDATABASE For Every Database in the SQL Server

    Updated: 2010-08-12 02:30:51
    I was recently called to attend the Query Tuning Project. I had a very interesting experience in this event. I would like to share to you what actually happened. Note: If you are just going to say that shrinking database is bad, I agree with you and that is the main point of this blog [...]

  • SQLAuthority News – MSDN Subscription Giveaway Announced

    Updated: 2010-08-11 02:30:26
    Last Month 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. I have already given [...]

  • SQL SERVER – Best Practices for DBA Before Taking Vacation

    Updated: 2010-08-10 02:30:18
    This blog post is written in response to T-SQL Tuesday hosted by Jason Brimhall. Everybody wants to take a vacation. Who does not love vacation, anyway? However, it seems that it has been getting more and more difficult to take vacation recently. There are two reasons why a person is not able to enjoy his [...]

  • SQLAuthority News – Risk and Health Assessment Program for Microsoft SQL Server – Scoping Tool v1.2

    Updated: 2010-08-09 02:30:13
    Risk and Health Assessment Program for Microsoft SQL Server helps reduce business risks associated with downtime, performance bottlenecks, and the complexities of deploying and managing an enterprise-level, data management solution. You can read more about Risk and Health Assessment Program for Microsoft SQL Server in the datasheet over  here. Microsoft has released recently the tool [...]

  • SQLAuthority News – SQL Server Monitoring Management Pack Download

    Updated: 2010-08-09 02:30:01
    Microsoft has SQL Server Health monitoring tool, which I have noticed that many of us do not give it a try. Microsoft has released Monitoring management pack download recently and it does plenty of the task, which normally one would like to do. Instead of going for third party tool, I suggest you give it [...]

  • Brad's Sure Guide to SQL Virtual Restore

    Updated: 2010-08-06 10:17:24
    In the first of a series of in-depth software reviews, Brad investigates a newcomer, SQL Virtual Restore. What does it aim to do? How does it achieve it? Why is it safe to use? What are the benefits? Brad aims to answer a range of questions fairly and squarely.

  • SSN Matching Speed Phreakery

    Updated: 2010-08-06 10:17:24
    On Ask.SQLServerCentral.com, a group of people interested in experimenting with heavily optimised SQL techniques try them out on a problem, using reasonbly large amounts of data. They aren't so interested in explaining the techniques, so Kathi continues on her mission to explain the lessons learned and the tips that can be derived.

  • Creative Solutions by Using a Number Table

    Updated: 2010-08-06 10:17:23
    One irritating thing for the occasional SQL Server Developer is that the experts assume that you are familiar with the use of number tables when they write about techniques. We therefore asked Greg Larsen to spell it out in a way that would help the beginner and intrigue those already familar with the technique.

Current Feed Items | Previous Months Items

Jul 2010 | Jun 2010 | May 2010 | Apr 2010 | Mar 2010 | Feb 2010