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,751,462 DBAs, developers and SQL Server users

Headlines today   September 23, 2014

Copy a database between servers with one command

This tool is a helper for your daily work to copy easily databases between Servers/instances and do all the necessary stuff for you.  Read more...
By Roland Hangg 2014/09/23 | Source: | Category: copy database script
Rating: |  Discuss |   Briefcase | 8,742 reads

Importing Excel Data into SQL Server Via SSIS: Questions You Were Too Shy to Ask

Retrieving data from Excel, and importing it into SQL Server hasn't the same appeal or glamour as, for example, performing heroics with ill-performing queries. This could be why one hesitates before asking questions about how to do it. Rob Sheldon calms your private doubts and fears by answering those embarrassing questions.  Read more...
By Additional Articles 2014/09/23 | Source: SimpleTalk | Category: ssis
Rating: (not yet rated)  Rate this |   Briefcase | 5,217 reads

SQL Saturday #352 - Sydney

SQL Saturday is coming to Sydney, Australia on October 25, 2014. Join us down under for a free day of SQL Server training and networking. Register while space is available.  Read more...
By Press Release 2014/09/23 | Source: SQL Saturday | Category: events
Rating: (not yet rated)  Rate this |   Briefcase | 2,793 reads
Previous headlines

Premature Optimisation

Learning how to tune a system is a bit of science and a bit of an art. Gail Shaw gives some guidelines on when you might want to tune and how to go about it so as not to unnecessarily undertake the effort.  Read more...
By Gail Shaw 2014/09/22 | Source: | Category: performance tuning
Rating: |  Discuss |   Briefcase | 3,748 reads

Prevent Confidential Data at the Application Layer from getting into SQL Server

In this tip Tim Smith looks at different approaches to stop confidential data from getting into the database.  Read more...
By Additional Articles 2014/09/22 | Source: | Category: security
Rating: (not yet rated)  Rate this |   Briefcase | 4,742 reads

Hierarchies on Steroids #1: Convert an Adjacency List to Nested Sets

SQL Server MVP Jeff Moden shows us a new very high performance method to convert an "Adjacency List" to “Nested Sets” on a million node hierarchy in less than a minute and 100,000 nodes in just seconds. Not surprisingly, the "steroids" come in a bottle labeled "Tally Table".  Read more...
By Jeff Moden 2014/09/19 (first published: 2012/11/13) | Source: | Category: hierarchy
Rating: |  Discuss |   Briefcase | 13,850 reads

A TDD Journey: 3- Mocks vs. Stubs; Test Frameworks; Assertions; ReSharper Accelerators

Test-Driven Development (TDD) involves the repetition of a very short development cycle that begins with an initially-failing test that defines the required functionality, and ends with producing the minimum amount of code to pass that test, and finally refactoring the new code. Michael Sorens continues his introduction to TDD by implementing the first tests and introducing the topics of Test doubles; Test Runners, Constraints and Assertions.  Read more...
By Additional Articles 2014/09/19 | Source: SimpleTalk | Category: test driven development
Rating: (not yet rated)  Rate this |   Briefcase | 5,078 reads

Data Mining Part 17: Working with Reports

In this chapter, we will learn how to create Data Mining Reports using Reporting Services.  Read more...
By Daniel Calbimonte 2014/09/18 | Source: | Category: data mining
Rating: |  Discuss |   Briefcase | 2,715 reads

Azure Virtual Machines Part 0: A VM Primer

Mike Martin kicks off his series on Azure Virtual Machines with a primer, full of background and terms. To fully understand the Azure Virtual Machines offering, Mike explains how everything is connected and co-existing.   Read more...
By Additional Articles 2014/09/18 | Source: Just Azure | Category: azure
Rating:  Rate this |   Briefcase | 5,446 reads

Stairway to PowerPivot and DAX - Level 7: Function / Iterator Function Pairs: The DAX AVERAGE() and AVERAGEX() Functions

Business Intelligence architect, Analysis Services Maestro, and author Bill Pearson explores the DAX AVERAGE() and AVERAGEX() 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 generating arithmetic means within our PowerPivot model designs.  Read more...
By Bill Pearson 2014/09/17 | Source: | Category: stairway series
Rating: |  Discuss |   Briefcase | 1,624 reads
Ask SQL Server Central

From the SQLServerCentral Blogs

Parameterization Part 5: Two Common Mistakes

This is the fifth post in my Parameterization series. In previous posts I wrote about parameter sniffing and when it is...  Read more...
By Guy Glantser 2014/09/23 | Source: SQLServerCentral Blogs | Category: blogs
Rating: (not yet rated) |  Discuss |   Briefcase | 3,918 reads
Question of the Day

How many rows will be returned?

By Subhash Singh 2014/09/23 | Category: t-sql
Rating: (not yet rated) |  Discuss |   Briefcase | 814 reads

How many rows will be returned by last select statement?

USE tempdb


             IDENTITY(1, 1)

    , [Name] NVARCHAR(10)

Top Members (last 30 days)
# Name Score Level
30 days All-time
835 835 SSC Eights!  
741 741 Right there with Babe  
476 1223 Ten Centuries  
446 2947 SSCrazy  
373 390 Old Hand  
Latest forum posts