Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
Log in  ::  Register  ::  Not logged in

Welcome to

A Microsoft SQL Server community of 1,770,996 DBAs, developers and SQL Server users

Headlines today   December 25, 2014

15 Quick Short Interview Questions Useful When Hiring SQL Developers

Here is a useful exam that you can administer in either 10 or 15 minutes, either oral or written, when you interview for hiring permanent or contract workers for jobs in SQL Server development or support. (This is not a test for SQL Data Base Administrators.)   Read more...
By Thomas Kovarik 2014/12/25 (first published: 2013/02/28) | Source: | Category: career
Rating: |  Discuss |   Briefcase | 9,212 reads

SQL Brainteasers: Guess the Christmas Carol/Song

It's Christmas, so here are some Christmassy-themed songs to guess.  Read more...
By Additional Articles 2014/12/25 | Category: puzzle
Rating: (not yet rated)  Rate this |   Briefcase | 2,975 reads
Previous headlines

Stairway to PowerPivot and DAX - Level 6: The DAX SUM() and SUMX() Functions

Business Intelligence architect, Analysis Services Maestro, and author Bill Pearson exposes the DAX SUM() and SUMX() functions, comparing and contrasting the two. He then provides some hands-on exposure to the use of each, particularly in combination with other DAX functions, in managing “sum” aggregations within our PowerPivot model designs.  Read more...
By Bill Pearson 2014/12/24 (first published: 2014/08/27) | Source: | Category: stairway series
Rating: |  Discuss |   Briefcase | 3,554 reads

SQL Server Data Aggregation for Data with Different Sampling Rates

In the emerging "Internet of Things", there are multitudes of devices collecting data at differing sampling rates. Integrating this data so the data has a common granularity in time is important to not only allow for accurate analysis and mining, but it will also aid in reducing the amount of data to be stored and processed. In this tip, we will demonstrate how to use the T-SQL AVG function and GROUP BY clause to transform data collected from two devices sampling at 100Hz and 40Hz to one row per second.   Read more...
By Additional Articles 2014/12/24 | Source: | Category: aggregate transform
Rating: (not yet rated)  Rate this |   Briefcase | 4,298 reads

Free eBook: SQL Server Hardware

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.  Read more...
By Press Release 2014/12/24 (first published: 2013/07/24) | Source: Red-Gate | Category: hardware
Rating:  Rate this |   Briefcase | 35,839 reads

Dealing with the Evil of FMTONLY from SSRS

SSRS continues to use SET FMTONLY ON even though it has many problems. How can we cope?  Read more...
By David Rueter 2014/12/23 | Source: | Category: ssrs
Rating: |  Discuss |   Briefcase | 3,206 reads

Practical PowerShell Unit-Testing: Mock Objects

Pester allows you to automate the testing of PowerShell scripts. It can test the output of a function as you develop it by validating simple data (scalars) and arrays, and allows you to focus on the one function you want to test by using 'mocking' to fake all the other functions and Cmdlets.  Read more...
By Additional Articles 2014/12/23 | Source: SimpleTalk
Rating:  Rate this |   Briefcase | 4,226 reads

The Big Database Freeze

When a hospital’s mission-critical database fails at Christmas, disaster for the hospital – and its hapless DBA – seems certain. With less than an hour to spare before catastrophe, can the DBA Team save the day? This is a fictionalized true story.  Read more...
By Additional Articles 2014/12/23 (first published: 2014/12/04) | Source: Red-Gate | Category: verify
Rating: (not yet rated)  Rate this |   Briefcase | 13,057 reads

Linked lists

Learn how you can achieve better performance with linked list instead of a numbering column.  Read more...
By Andreas Bartels 2014/12/22 | Source: | Category: t-sql
Rating: |  Discuss |   Briefcase | 4,513 reads

Using the MERGE Statement to Perform an UPSERT

The term UPSERT has been coined to refer to an operation that inserts rows into a table if they don’t exist, otherwise they are updated. To perform the UPSERT operation Microsoft introduced the MERGE statement. Not only does the MERGE statement support the UPSERT concept, but it also supports deleting records. Greg Larsen discusses how to use the MERGE statement to UPDATE, INSERT and DELETE records from a target table.   Read more...
By Additional Articles 2014/12/22 | Source: Database Journal | Category: merge
Rating:  Rate this |   Briefcase | 8,185 reads
Ask SQL Server Central

From the SQLServerCentral Blogs

‘Twas 4:45 Friday

‘Twas 4:45 Friday, and all through the office not a creature was stirring, not even the bosses. The code was checked in,...  Read more...
By Kenneth Fisher 2014/12/25 | Source: SQLServerCentral Blogs | Category: blogs
Rating: (not yet rated) |  Discuss |   Briefcase | 2,405 reads

Transaction Isolation Level Blues

Have you ever had a mental block in one particular area when learning something? It might be the simplest thing,...  Read more...
By Angela Henry 2014/12/25 | Source: SQLServerCentral Blogs | Category: blogs
Rating: (not yet rated) |  Discuss |   Briefcase | 2,494 reads
Question of the Day

Merry Christmas 2014

By Steve Jones 2014/12/25 | Category: t-sql
Rating: (not yet rated) |  Discuss |   Briefcase | 262 reads

What does this query do? 

select dateadd(yy,datediff(yy,-1,getdate()),-7) 
Top Members (last 30 days)
# Name Score Level
30 days All-time
512 1175 Ten Centuries  
466 1521 SSCommitted  
Shiva N
449 1021 Ten Centuries  
426 1575 SSCommitted  
320 763 Right there with Babe  
Latest forum posts