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

Welcome to SQLServerCentral.com

A Microsoft SQL Server community of 1,855,738 DBAs, developers and SQL Server users

Rss
Headlines today   March 25, 2016

Why Every SQL Server Installation Should Be a Cluster

In this article, I’ll attempt to “convince” you that every SQL Server you put into production should be a SQL Server Failover Cluster Instance (FCI).  Read more...
By Francis Apel 2016/03/25 (first published: 2014/04/15) | Source: SQLServerCentral.com | Category: cluster
Rating: |  Discuss |   Briefcase | 11,142 reads

When AUTO_UPDATE_STATISTICS Doesn't Happen

When your SQL Server database is set to have its statistics automatically updated, you will probably conclude that, whenever the distribution statistics are out-of-date, they will be updated before the next query is executed against that index or table. Curiously, this isn't always the case. What actually happens is that the statistics only gets updated if needed by the query optimiser to determine an effective query plan.  Read more...
By Additional Articles 2016/03/25 | Source: SimpleTalk | Category: auto_update_statistics
Rating: (not yet rated)  Rate this |   Briefcase | 1,135 reads
Previous headlines

Fixing Maintenance Plan Error code 0x534

This article shows you how to resolve SQL Server maintenance plan execution failure error  Read more...
By Ganapathi varma 2016/03/24 | Source: SQLServerCentral.com | Category: sqlserver
Rating: |  Discuss |   Briefcase | 965 reads

Whitepaper: Database deployments: Choosing a state-based or migrations-based approach

This whitepaper explores the differences between the approaches, state based or migrations based, and how Redgate tools can help.  Read more...
By Press Release 2016/03/24 | Source: Redgate | Category: redgate software
Rating: (not yet rated)  Rate this |   Briefcase | 2,224 reads

The One 'Security' Feature in Oracle You Probably Shouldn't Use

Oracle offers a number of security-related settings, but one could definitely create more harm than good. David Fitzjarrell looks at which parameter that is, and why.  Read more...
By Additional Articles 2016/03/24 | Source: Database Journal | Category: oracle
Rating: (not yet rated)  Rate this |   Briefcase | 2,058 reads

Level 2: Datatypes and the Default Mask with Dynamic Data Masking

This article digs deeper into the ways that Dynamic Data Masking works with different data types.  Read more...
By Steve Jones 2016/03/23 | Source: SQLServerCentral.com | Category: dynamic data masking
Rating: |  Discuss |   Briefcase | 949 reads

Step by Step Installation of SQL Server 2014 on a New Failover Cluster

Manvendra Singh gives a step-by-step guide to installing SQL Server 2014.  Read more...
By Additional Articles 2016/03/23 | Source: MSSQLTips.com | Category: sql server 2016
Rating: (not yet rated)  Rate this |   Briefcase | 1,730 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/03/23 (first published: 2013/08/21) | Source: Redgate | Category: performance tuning
Rating:  Rate this |   Briefcase | 63,784 reads

Insert Stored Procedure Results Into New Table Without Using OPENQUERY

OPENQUERY arrives with a lot of baggage. Try this alternative technique to inserting stored procedure results into a new table.  Read more...
By Orlando Colamatteo 2016/03/22 | Source: SQLServerCentral.com | Category: t-sql
Rating: |  Discuss |   Briefcase | 4,277 reads

Better Ways to Build a Database

The purpose of a database build is simple: prove that what you have in version control can successfully create a working database, and yet many teams struggle with unreliable and untested database build processes that slow down deployments and prevent the delivery of new functionality. Grant Fritchey explains how to achieve an automated and reliable database build that is only as complex as the database system it needs to create.  Read more...
By Additional Articles 2016/03/22 | Source: SimpleTalk | Category: database builds
Rating: (not yet rated)  Rate this |   Briefcase | 3,437 reads
 
Ask SQL Server Central



From the SQLServerCentral Blogs

TOP 1 killed my performance; Rob Farley helped me resurrect it.

tl;dr; There is no short version of this. It’s LONG. It’s interesting but you might want to skip it if...  Read more...
By Kenneth Fisher 2016/03/25 | Source: SQLServerCentral Blogs | Category: blogs
Rating: (not yet rated) |  Discuss |   Briefcase | 1,630 reads

SQL Data Generator –Specific Domains for a Column

I was mocking up some test data and wanted to limit my list of values to specific items. In this...  Read more...
By Steve Jones 2016/03/25 | Source: SQLServerCentral Blogs | Category: blogs
Rating: (not yet rated) |  Discuss |   Briefcase | 584 reads
Question of the Day

The SIGN

By Steve Jones 2016/03/25 | Category: sign()
Rating: (not yet rated) |  Discuss |   Briefcase | 335 reads

I have a list of numbers in a table, some positive, some negative. 


MyID
------
117
18
120
NULL
120
-120
52
-118

I run this query:


SELECT
myid
FROM dbo.myGroups AS mg
GROUP BY mg.MyID
HAVING MIN(SIGN(myid)) = MAX(SIGN(myid))

If...  Read more...
Top Members (last 30 days)
# Name Score Level
30 days All-time
1.
Wryan138
1222 1500 SSCommitted  
2.
dbserv
1145 3126 Hall of Fame  
3.
krzysztof.ostrowski
575 1398 Ten Centuries  
4.
BillLudlow
400 2686 SSCrazy  
5.
ShaynThomas1983
323 874 SSC Eights!  
Latest forum posts