SQLServerCentral - www.sqlservercentral.com

A community of more than 1,600,000 database professionals and growing

Featured Contents

Featured Script

The Voice of the DBA

No More MCM

This is part 1 of a 3 part series of thoughts on certification and Microsoft technologies.

I've heard that Friday afternoon is the best time to fire someone. People are leaving early, the office is quiet, and you can let people go quickly and get yourself away. It also gives the remaining employees some time to grieve, and hopefully, come back to work Monday without some of the shock they initially experienced. At least, that's what they say. Personally I think there's no good day, and productivity always suffers somewhat whenever there's surprising, upsetting news.

Recently, just before the US Labor Day holiday, late on a Friday, I saw a number of announcements on Twitter that the MCM program had been discontinued. Since I was on holiday, I thought I'd missed something, but apparently not. It was late on a Friday that the an email was sent to all MCMs and MCAs notifying them of the change. It was a brief email, noted here, and didn't include some of the reasons of that were given as a comment in a Connect item filed to save the program (the comment was from Tim Sneath at 1:32pm). There's been a variety of coverage and blogs around the Internet as well.

We aren't being told the whole truth, nor do I expect to be told the whole truth. This is Microsoft's program, and as such, we follow along and adjust, or choose to ignore it. In this case, I can't believe that this was anything other than a cost based issue, designed to reduce expenses and raise profits. In all likelihood, someone(s) bonus depended on internal Microsoft Learning metrics being met (probably revenue or profit numbers), which the MCM/MCA program were reducing. In an effort to look better, the program was chopped, without a lot of input, communication, or discussion with the people actually working to better the program. I expect Tim Sneath and others were caught off guard with the decision and told to deal with it. They did so poorly, extremely poorly. In hindsight, I'm sure someone wishes they'd composed a better message and delayed sending it for a couple days.

I attempted the first part of the MCM early on, with a voucher. I didn't pass, but I learned how hard the exam was, realized it was within my capabilities, but that it would require some serious study. I didn't proceed further because of other commitments, but I've watched more and more people work through the MCM process, usually over months or years as they learn, struggle, research, and drive themselves forward.

Ultimately the achievement isn't the certification, but the journey. The efforts candidates go through, the knowledge they acquire from study and hard work, and perhaps more importantly, the skills they build to teach themselves new techniques. I wouldn't hire an MCM because I was sure they necessarily knew everything about my environment. I'd hire them because I would be 100% confident they could find the problem and fix it, no matter whether they used old knowledge or acquired new proficiency on the spot.

That was the real value of someone who completed, or even seriously worked towards, an MCM.

Steve Jones from SQLServerCentral.com

Join the debate, and respond to today's editorial on the forums


Video and Audio versions

Today's podcast features music by Everyday Jones. No relation, but I stumbled on to them and really like the music. Support this great duo at www.everydayjones.com.

Follow Steve Jones on Twitter to find links and database related items and announcements.

Steve Jones

Windows Media Video ( 26.3MB) feed

MP4 iPod Video ( 30.3MB) feed

MP3 Audio ( 6.1MB) feed

Feeds are available at iTunes and Mevio

To submit an article, rant or editorial,
log in to the Contribution Center

ADVERTISEMENT
SQL Backup Pro

New! Easy retention policies for offsite backups

Quickly and easily delete old offsite backups with new features in SQL Backup Pro. Get your first 5GB of storage free. Find out more.

Deployment Manager

Total Deployment

Enjoy easy release management for your .NET apps, services, and databases with Deployment Manager. Get your free Starter edition now.

SQL DBA Bundle

‘10 Tips for Efficient Disaster Recovery’

Learn Steve Jones’ disaster recovery lessons, and be better prepared for future disasters, big or small. Read now.

Featured Contents

 

A Hazard of Using the SQL Update Statement

Dwain Camps from SQLServerCentral.com

If you've never encountered this quirk of the SQL UPDATE statement, you should take a look and find a simple way around it. More »


 

Using DAX to create SSRS reports: The Basics

Additional Articles from SimpleTalk

You can use DAX to create reports from a tabular database in SQL Server Reporting Services. To do so requires a few workarounds. Rob Sheldon describes a poorly-documented but important technique for Business Intelligence. More »


 

SQL Saturday #250 Pittsburgh

Press Release from SQLServerCentral.com

September 14, 2013 Pittsburgh will be hosting a SQL Saturday. Join them for a free day of SQL Server training and networking. There will also be a paid pre-con session the day before on Performance Tuning in SQL Server 2012 presented by John Sterrett and Konstantin Melamud. More »


 

From the SQLServerCentral Blogs - Skills I Used Last Week

Andy Warren from SQLServerCentral.com

Ever thought about what your average week looks like? What are the real core skills your environment uses every day... More »


 

From the SQLServerCentral Blogs - Good Intro Podcast on Hadoop

Have you heard about Hadoop but don't know much about it? What about "big data?" Would you like an intro... More »

Question of the Day

Today's Question (by NT):

Given the statements below, what is the output?

DECLARE @x CHAR(1)

SET @x = CASE
           WHEN @x = 'x' THEN 1
         END

PRINT '@X is now ' + CAST(ISNULL(@x, 'A NULL') AS VARCHAR(50)) + '<'

Think you know the answer? Click here, and find out if you are right.


We keep track of your score to give you bragging rights against your peers.
This question is worth 2 points in this category: T-SQL.

We'd love to give you credit for your own question and answer.
To submit a QOD, simply log in to the Contribution Center.

ADVERTISEMENT

SQL Server Hardware will provide the fundamental knowledge and resources you need to make intelligent decisions about choice, and optimal installation and configuration, of SQL Server hardware, operating system and the SQL Server RDBMS.

Pick up your copy of this great book from MVP Glenn Berry at Amazon today.

Yesterday's Question of the Day

Yesterday's Question (by pramod singla):

Choose the meta-data items that are not included in an MDS model deployment package (choose 3)?

Answer:

  • User-defined metadata
  • File Attributes
  • User and Group Permissions

Explanation: The correct answers are User-defined metadata, file attributes, and user and group permissions. These meta-data are not included in the MDS model deployment package. After you deploy a model, you must update these manually.

Ref: http://technet.microsoft.com/en-us/library/ff486956.aspx


» Discuss this question and answer on the forums

Featured Script

Date Calendar

Sean Smith from SQLServerCentral.com

Over the years I have had some of the strangest / most complex requirements for data querying / reporting that you could imagine. The most difficult often involves some type of strange business rule or requirement surrounding a date parameter, logic, range, etc. I've put this code together in order to pre-calculate many elements of a date's characteristics and be able to quickly determine various date characteristics / values without the need to break my head every time things get hairy.

To run it, simply choose the database in which you want the table to reside, populate the @Date_Start and @Date_End variables with the date range you want populated in the calendar, and execute.

Below is a listing of the output fields and their description using a date of 10/06/2009 (MM/DD/YYYY) as the reference example (the code should compensate for how any SQL Server instance is set up to handle the internal settings for start / end of week, weekdays, etc.). All values after the calendar_date field are specific to the date value found in each individual record.

  • calendar_date: calendar date value (2009-10-06 00:00:00.000)
  • calendar_year: year portion of the date (2009)
  • calendar_month: month portion of the date (10)
  • calendar_day: day portion of the date (6)
  • calendar_quarter: quarter in which the date value falls under (4)
  • first_day_in_week: first day of the week in which the date value is found (2009-10-04 00:00:00.000)
  • last_day_in_week: last day of the week in which the date value is found (2009-10-10 00:00:00.000)
  • is_week_in_same_month: is the first_day_in_week and last_day_in_week value contained within the same month - Boolean (1)
  • first_day_in_month: first day of the month (2009-10-01 00:00:00.000)
  • last_day_in_month: last day of the month (2009-10-31 00:00:00.000)
  • is_last_day_in_month: is the date value the last day of the month (0)
  • first_day_in_quarter: first day of the quarter (2009-10-01 00:00:00.000)
  • last_day_in_quarter: last day of the quarter (2009-12-31 00:00:00.000)
  • is_last_day_in_quarter: is the date value the last day of the quarter (0)
  • day_of_week: day of the week (3)
  • week_of_month: week of the month (2)
  • week_of_quarter: week of the quarter (2)
  • week_of_year: week of the year (41)
  • days_in_month: total days in the month (31)
  • month_days_remaining: number of days remaining in the month (25)
  • weekdays_in_month: number of weekdays in the the month (22)
  • month_weekdays_remaining: number of weekdays remaining in the month (18)
  • month_weekdays_completed: number of weekdays completed in the month (4)
  • days_in_quarter: total days in the quarter (92)
  • quarter_days_remaining: number of days remaining in the quarter (86)
  • quarter_days_completed: number of days completed in the quarter (6)
  • weekdays_in_quarter: number of weekdays in the the quarter (66)
  • quarter_weekdays_remaining: number of weekdays remaining in the quarter (62)
  • quarter_days_completed: number of days completed in the quarter (6)
  • day_of_year: number of days completed in the year (279)
  • year_days_remaining: number of days remaining in the year (86)
  • is_weekday: is the date a weekday - Boolean (1)
  • is_leap_year: is the date contained within a leap year - Boolean (0)
  • day_name: full name of the day (Tuesday)
  • month_day_name_instance: number of occurrences of the day_name within the month up until and including the specified date (1)
  • quarter_day_name_instance: number of occurrences of the day_name within the quarter up until and including the specified date (1)
  • year_day_name_instance: number of occurrences of the day_name within the year up until and including the specified date (40)
  • month_name: full name of the month (October)
  • year_week: calendar_year and week_of_year (left padded with zeros) values concatenated (200941)
  • year_month: calendar_year and calendar_month (left padded with zeros) values concatenated (200910)
  • year_quarter: calendar_year and calendar_quarter (prefixed with a "Q") values concatenated (2009Q4)

More »

Database Pros Who Need Your Help

Here's a few of the new posts today on the forums. To see more, visit the forums.

SQL Server 2012 : SQL 2012 - General

How to tell if instance is MSDN licenced or not - Hi, I've been evaluating SQL Server 2012 for a while now and have started to use it in production. I am...


SQL Server 2012 : SQL Server 2012 - T-SQL

SQL Server Users with default Schemas and dbo as owner issue - Using SQL Server 2012, I am trying to create a user with a default schema which is the same as...

Dazed and Confused - Hello, I have an SQL query that is not returning any data for one of the columns. The data for this...

Cursors / without Cursors / SSIS - I have a table with 10 columns(col1 varchar,col2 int,….name varchar(max),…col10) I have to print out text extracts of all rows for...


SQL Server 2008 : SQL Server 2008 - General

General Syntax on calling a stored procedure within a stored procedure - Hi All, Please I need someone to give me a general syntax on how to call a stored procedure within a...

Add a flag field if all rows match? - Hi, I have two tables, salesOrders and ProductList as per below: [code="other"] SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[salesOrders]( [SalesOrderID] [int] NOT NULL, [SalesOrderLineID] [int]...

Violation Of primary key constraints, Cannot insert a duplicate key in object - Hi All, Please I need help on how to solve this problem. I have table variable in which I am inserting...

Row not being deleted from the publication when it's deleted in a subscription - We've merge replication configured in our environment(1 Publisher, 3 Subscribers) and We know by default merge replication is bi-directional. Its...

Get resultset from query without running query. - Is there some way to get the result set for a query without running the query? For example take the...

Path to a Database Architect - Hi Guys, Would you please provide some links or books details to learn to become Database Architect.

export to csv - Hi Professionals I have a script thats exports to a csv file [code] exec exporttocsv 'select top 5 * from newtable', 'test.csv' [/code] the problem I...


SQL Server 2008 : T-SQL (SS2K8)

round down - Is there a round down function?

Flatten a hierarchy table - I want to write a query to flatten the hierarchy of a table and I don't know what's best way...

Help Required on the given scenario - I have a table called T1 and column called C1.It contains one code like TCR-ABCDE12345. I have another table T2 ,which...


SQL Server 2008 : SQL Server 2008 High Availability

using performance counter for monitoring db mirroring - I used high availability synchronous mode for db mirroring.I used one single box for doing db mirroring across three sql...

windows os edition support for log shipping - Which edition of windows os will support log shipping in sql 2008.


SQL Server 2008 : SQL Server 2008 Administration

Database refresh in isolated environment - Dear experts, I would greatly appreciate your help on my database "refresh" issue. The scenario: I have 12 databases on a QA...


SQL Server 2005 : T-SQL (SS2K5)

HOW TO STORE THE PROCEDURE VALUES TO TABLE VARIABLE - HI, i got one doubt ... SP_SPACEUSED 'table' the above statement can produce some data... how can i store that data to table variable. is...

Division by zero on a SQL Instance while a different Instance run correctly - Hi I run the same query against two DB, one is the publisher and other is the subscriber. The two DB should...

select from XML type ntext - My sample XML is: Some Value1Some Value2some Value3some Value4Some Value5


Reporting Services : Reporting Services

Managing historical data - Hi all, I want to reuse existing report to another database with same tabular structure. However, I want to preserve historic...


Reporting Services : Reporting Services 2008 Development

Dynamically back track records - Hi, Just made changes with my requirements. I need to dynamically back track 1 day at a time in extracting of records...


Data Warehousing : Integration Services

SSIS error: To run a SSIS package outside of SQL Server Data Tools you must install Set Configuration of Integration Services or higher. - I exported a working package from sql server integration services (Sql server 2012) to my local, edited small stuff (error...

How to find the properties of a flat file(.txt) when defining ssis connection manager - Please Advise!! I have to import data from a .txt file using SSIS package into sql server. HOW CAN WE FIND(KNOW) THE a)...

Delete files older than 7 days from a "Network shared folder" - Hi all, i know there are many solutions available for deleting files from a folder older than X days.\ But need...


Data Warehousing : Analysis Services

YTD Calculation in a Cube? - Hi, Can any one help with the YTD calculation? Based on Define Time Intelligence I have created the Year to Date. The below...


SQLServerCentral.com : Anything that is NOT about SQL!

Are the posted questions getting worse? - Is it me, or are the posted questions getting worse these days? I just read a post by someone apparently in...


SQL Server 7,2000 : SQL Server Newbies

How to set value of procedure to variable? - Hello mates. I want to create a procedure with follow two sentences. [code="sql"] DECLARE @Wallet int SET @Wallet = EXEC HowMoneyIsInTheWallet @IDOsoby[/code] And I...

To be removed from this list, please click here.
If you have any problems leaving the list, please contact the webmaster@sqlservercentral.com.
This newsletter was sent to you because you signed up at SQLServerCentral.com.
Feel free to forward this to any colleagues that you think might be interested.
If you have received this email from a colleague, you can register to receive it here.
This transmission is ©2013 Red Gate Software Ltd, Newnham House, Cambridge Business Park, Cambridge, CB4 0WZ, United Kingdom. All rights reserved.
Contact: webmaster@sqlservercentral.com