Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in

Welcome to

A Microsoft SQL Server community of 1,859,394 DBAs, developers and SQL Server users

Headlines today   May 26, 2016

Diagnosing parallelism-related latching

Diagnosing and resolving parallelism-related latching and blocking in SQL Server using DMV’s, the activity monitor, procedure execution plans, and index tuning.   Read more...
By David Fundakowski 2016/05/26 | Source: | Category: parallelism
Rating: |  Discuss |   Briefcase | 669 reads

A tour through tool improvements in SQL Server 2016

Ayo Olubeko talks through the improvements being made to SQL Server tooling in 2016.  Read more...
By Additional Articles 2016/05/26 | Source: SQLCAT | Category: sql server 2016
Rating: (not yet rated)  Rate this |   Briefcase | 1,697 reads
Previous headlines

Stairway to SQL Server Extended Events Level 3: Working with the Extended Events UI

In the next installment of our stairway to Extended Events, we delve into the Live Data and Target Data Viewers.  Read more...
By Erin Stellato 2016/05/25 | Source: | Category: extended events
Rating: |  Discuss |   Briefcase | 791 reads

Free eBook: Performance Tuning with SQL Server Dynamic Management Views

Dynamic Management Views (DMVs) are a significant and valuable addition to the DBA's troubleshooting armory, laying bare previously unavailable information regarding the under-the-covers activity of your database sessions and transactions.  Read more...
By Additional Articles 2016/05/25 (first published: 2013/08/21) | Source: Redgate | Category: performance tuning
Rating:  Rate this |   Briefcase | 66,916 reads

Implementing Azure SQL Database Elastic Database Jobs

Sometimes it's good to re-think how to write a query; set operations can provide performance benefits over 'straight SQL'. In this article, David Fitzjarrell takes a look at one such example in action.  Read more...
By Additional Articles 2016/05/25 | Source: Database Journal | Category: oracle
Rating: (not yet rated)  Rate this |   Briefcase | 1,464 reads

How to deploy and execute an SSIS package from the SSISDB catalog

Beginning with SQL Server 2012, SQL Server Integration Services packages can be deployed and executed from a SQL Server database named SSISDB, which serves as a repository for SSIS packages.   Read more...
By Stan Kulp 2016/05/24 | Source: | Category: ssis package execution
Rating: |  Discuss |   Briefcase | 1,529 reads

Unified Approach to Generating Documentation for PowerShell Cmdlets

Now, it is easy to provide professional-quality documentation for PowerShell cmdlets, and to keep it in sync when you make changes, whether they are written in PowerShell or C#. While this has always been easy to do in PowerShell, it was always painful to do in C# or VB because it meant having to build your own MAML file. Michael Sorens completes his three-part series by summarising, in a wallchart, how to go about it.  Read more...
By Additional Articles 2016/05/24 | Source: SimpleTalk | Category: powershell
Rating: (not yet rated)  Rate this |   Briefcase | 1,143 reads

Inside-SQL Conference: SQL Server Deep Dives in London

14th June, Londo, UK - Inside-SQL conference offers deep dives on a range of SQL Server topics, with tracks focusing on DBAs, Developers and BI. Use the discount code "Redgate" for £40 off the price of a ticket.  Read more...
By Additional Articles 2016/05/24 | Category: inside-sql
Rating: (not yet rated)  Rate this |   Briefcase | 1,007 reads

Sharing on-premises SQL Server Data Analyses in the Cloud with Power BI

In this article I would like to introduce you to PowerBI.Com to see how to share analyses in the cloud using SQL Server data  Read more...
By Adam Aspin 2016/05/23 | Source: | Category: power bi
Rating: |  Discuss |   Briefcase | 735 reads

Database Hardware and Infrastructure Trends

Glen Berry talks through a number of useful new developments in hardware, storage, and the Microsoft Windows and SQL Server ecosystem.  Read more...
By Additional Articles 2016/05/23 | Source: | Category: hardware
Rating: (not yet rated)  Rate this |   Briefcase | 1,972 reads
Ask SQL Server Central

From the SQLServerCentral Blogs

Migrate from on-prem SQL server to Azure VM IaaS

Hopefully you went through my presentations Should I move my database to the cloud?, Introducing Azure SQL Database and Implement SQL Server on an...  Read more...
By 2016/05/26 | Source: SQLServerCentral Blogs | Category: blogs
Rating: (not yet rated) |  Discuss |   Briefcase | 570 reads

Broken Update With Join

Last month I wrote a post titled Broken Left Join which covered an easy to make mistake that I see...  Read more...
By The Database Avenger 2016/05/26 | Source: SQLServerCentral Blogs | Category: blogs
Rating: (not yet rated) |  Discuss |   Briefcase | 721 reads
Question of the Day

Large strings

By Steve Jones 2016/05/26 | Category: concat()
Rating: (not yet rated) |  Discuss |   Briefcase | 589 reads

On a SQL Server 2014 instance, I declare two strings.

DECLARE @a VARCHAR(max) = REPLICATE('a', 5000);

DECLARE @b VARCHAR(5000) = REPLICATE('b', 5000);
I now run this code:

What is returned?

Top Members (last 30 days)
# Name Score Level
30 days All-time
1014 1014 Ten Centuries  
Iwas Bornready
951 7816 SSCertifiable  
520 1981 SSCommitted  
384 384 Old Hand  
372 613 SSChasing Mays  
Latest forum posts