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,859,698 DBAs, developers and SQL Server users

Rss
Headlines today   June 1, 2016

Stairway to Database Design Level 2: Domains, Constraints and Defaults

A clear understanding of SQL Data Types and domains is a fundamental requirement for the Database Developer, but it is not elementary. If you select the most appropriate data type, it can sidestep a variety of errors. Furthermore, if you then define the data domains as exactly as possible via constraints, you can catch a variety of those problems that would otherwise bedevil the work of the application programmer.  Read more...
By Joe Celko 2016/06/01 (first published: 2010/05/04) | Source: SQLServerCentral.com | Category: database design
Rating: |  Discuss |   Briefcase | 23,111 reads

Free eBook: Defensive Database Programming

Resilient T-SQL code is code that is designed to last, and to be safely reused by others. The goal of defensive database programming, the goal of this book, is to help you to produce resilient T-SQL code that robustly and gracefully handles cases of unintended use, and is resilient to common changes to the database environment.  Read more...
By Press Release 2016/06/01 (first published: 2013/08/28) | Source: Redgate | Category: defensive programming
Rating: (not yet rated)  Rate this |   Briefcase | 71,088 reads

CU#6 for SQL Server 2014 SP1 Updated

Please re-apply CU#6 for SQL Server 2014 SP1 as it has been updated.  Read more...
By Press Release 2016/06/01 | Source: Microsoft MSDN | Category: sql server 2014
Rating: (not yet rated)  Rate this |   Briefcase | 563 reads

How to Identify Useful SQL Server Table Statistics

In this article, Fikrat Azizov describes the different approaches to maintaining statistics and shows how you can use the data from your servers for intelligent statistics updates.  Read more...
By Additional Articles 2016/06/01 | Source: MSSQLTips.com | Category: tables
Rating: (not yet rated)  Rate this |   Briefcase | 384 reads
Previous headlines

Third Party Visuals in Power BI Desktop

Power BI is as extensible as it is powerful In this article you will see how to impress your users with added visuals  Read more...
By Adam Aspin 2016/05/31 | Source: SQLServerCentral.com | Category: power bi
Rating: |  Discuss |   Briefcase | 1,074 reads

Is a RID Lookup faster than a Key Lookup?

For T-SQL Tuesday #78, Aaron Bertrand takes a look at whether RID Lookups are faster than Key Lookups, with a small battery of fairly simple duration tests.  Read more...
By Additional Articles 2016/05/31 | Source: SQLPerformance.com | Category: rid lookup
Rating: (not yet rated)  Rate this |   Briefcase | 2,147 reads

Stairway to Columnstore Indexes Level 1: A First Look At Columnstore Indexes

This level introduces of you to the fundamentals of columnstore indexes, introdused in SQL Server 2012 to manage the indexing of very large tables.  Read more...
By Hugo Kornelis 2016/05/30 (first published: 2015/02/25) | Source: SQLServerCentral.com | Category: stairway series
Rating: |  Discuss |   Briefcase | 10,999 reads

Connecting to SQL Data Warehouse

The most frustrating thing with any new system is often just working out how to connect to it. Oddly, you can’t use SSMS with SQL Data Warehouse, but it is fine with SSDT, SSIS, Power BI desktop, sqlcmd, BCP, and a range of Microsoft cloud services - there are PowerShell Cmdlets too. Rob Sheldon provides the details.  Read more...
By Additional Articles 2016/05/30 | Source: SimpleTalk | Category: sql data warehouse
Rating: (not yet rated)  Rate this |   Briefcase | 1,500 reads

Dynamically Query a 100 Million Row Table-Efficiently

This article describes methods of creating dynamic queries without the use of dynamic SQL to efficiently access large tables.  Read more...
By Gary Strange 2016/05/27 (first published: 2015/02/24) | Source: SQLServerCentral.com | Category: t-sql
Rating: |  Discuss |   Briefcase | 23,177 reads

Automatically Creating UML Database Diagrams for SQL Server

SQL Server database developers seem reluctant to use diagrams when documenting their databases. It is probably because it has, in the past, been difficult to automatically draw precisely what you want, other than a vast Entity-relationship diagram. However, you can do it without buying any third-party tool, just using some existing Java-based open-source tools; and can even automate it entirely, using SQL and PowerShell. Phil Factor shows how.  Read more...
By Additional Articles 2016/05/27 | Source: SimpleTalk | Category: diagrams
Rating: (not yet rated)  Rate this |   Briefcase | 2,987 reads
 
Ask SQL Server Central



From the SQLServerCentral Blogs

SQL Server Random Workload Generator

Hello Dear Reader!  Before I start this blog I want to give credit to Jonathan Kehayias (@SQLPoolBoy | Blog).  He’s an...  Read more...
By SQLBalls 2016/06/01 | Source: SQLServerCentral Blogs | Category: blogs
Rating: (not yet rated) |  Discuss |   Briefcase | 341 reads

Master_Views: master_objects, master_tables, etc

There is a highly useful system view called sys.master_files. If you’ve never encountered it before it returns a list of...  Read more...
By Kenneth Fisher 2016/06/01 | Source: SQLServerCentral Blogs | Category: blogs
Rating: (not yet rated) |  Discuss |   Briefcase | 220 reads
Question of the Day

Inserting XML

By Steve Jones 2016/06/01 | Category: xml
Rating: (not yet rated) |  Discuss |   Briefcase | 188 reads

I have this table:


CREATE TABLE Mytest (id INT, x XML)
I now want to insert some data and experiment with this statement.


INSERT mytest
VALUES
(1, CAST('1200' AS XML))
, (2, CAST(...  Read more...
Top Members (last 30 days)
# Name Score Level
30 days All-time
1.
Amour
962 1017 Ten Centuries  
2.
Iwas Bornready
868 7816 SSCertifiable  
3.
ShaynThomas1983
520 1984 SSCommitted  
4.
rudwk7003
384 384 Old Hand  
5.
NorthernSoul
363 614 SSChasing Mays  
Latest forum posts