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,856,077 DBAs, developers and SQL Server users

Rss
Headlines today   March 31, 2016

Powershell To Get Active Directory Users And Groups into SQL!

Use Powershell to query AD for Users, Groups and GroupMembers  Read more...
By Lowell Izaguirre 2016/03/31 | Source: SQLServerCentral.com | Category: powershell
Rating: |  Discuss |   Briefcase | 1,858 reads

Creating a Date Dimension in a Tabular Model

As well as its multidimensional model, SQL Server Analysis Services (SSAS) now has a tabular model of database that either runs in-memory or in DirectQuery mode. The in-memory analytics engine allows the users of Excel or Power View to base reports on tabular model objects. Having shown how to handle date-based information using the Multi-dimensional model, Dennes now turns his attention on the in-memory tabular model.  Read more...
By Additional Articles 2016/03/31 | Source: SimpleTalk | Category: tabular model
Rating: (not yet rated)  Rate this |   Briefcase | 1,651 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/31 (first published: 2016/03/24) | Source: Redgate | Category: redgate software
Rating: (not yet rated)  Rate this |   Briefcase | 4,300 reads
Previous headlines

Stairway to Advanced T-SQL Level 2: Using the APPLY Operator

The APPLY operator allows you to join a record set with a function, and apply the function to every qualifying row of the table (or view). The APPLY operator takes on two formats: CROSS APPLY, or OUTER APPLY. This article will explain the differences between these two formats, and show you examples of how each of these formats work.  Read more...
By Gregory Larsen 2016/03/30 (first published: 2015/01/28) | Source: SQLServerCentral.com | Category: stairway series
Rating: |  Discuss |   Briefcase | 15,858 reads

Getting started with the SSIS Script Task

The SSIS Script Task allows you to add functionality to your SSIS package that does not already exist with the other predefined tasks. In this article, Daniel Calbimonte looks at how to get started using the SSIS Script Task with a few examples.  Read more...
By Additional Articles 2016/03/30 | Source: MSSQLTips.com | Category: ssis
Rating:  Rate this |   Briefcase | 1,900 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/03/30 (first published: 2013/08/28) | Source: Redgate | Category: defensive programming
Rating: (not yet rated)  Rate this |   Briefcase | 69,381 reads

Two Things I Would Change in SSISDB Setup

I suggest these two changes to the SSISDB setup to prevent issues down the road.  Read more...
By Ben Kubicek 2016/03/29 | Source: SQLServerCentral.com | Category: ssisdb
Rating: |  Discuss |   Briefcase | 2,050 reads

Webinar - Redgate DLM Demo (with TFS, TFS Build & Microsoft Release Management)

Redgate’s Arneh Eskandari and Microsoft SQL Server MVP, Steve Jones, will show you how Redgate’s DLM (Database Lifecycle Management) solution works to improve your database development and deployment processes. Today 12noon EDT   Read more...
By Press Release 2016/03/29 | Source: SQLServerCentral.com | Category: webinar
Rating: (not yet rated)  Rate this |   Briefcase | 3,380 reads

Introduction to Protecting SQL Server with Azure Site Recovery

Microsoft cloud platform allows you to provide resiliency for your on-premises SQL Server deployments. Marcin Policht describes this functionality, available as part of the Azure Site Recovery solution.  Read more...
By Additional Articles 2016/03/29 | Source: Database Journal | Category: azure
Rating: (not yet rated)  Rate this |   Briefcase | 1,975 reads

Trigger Happy

This article looks at using triggers to audit and to prevent the performing of unintended actions.  Read more...
By Andy Jones 2016/03/28 | Source: SQLServerCentral.com | Category: trigger
Rating: |  Discuss |   Briefcase | 2,358 reads
 
Ask SQL Server Central



From the SQLServerCentral Blogs

The ‘In Recovery’ Mystery

Last week I received an email from one of our sysadmins asking why one of our databases kept showing as...  Read more...
By The Database Avenger 2016/03/31 | Source: SQLServerCentral Blogs | Category: blogs
Rating: (not yet rated) |  Discuss |   Briefcase | 906 reads
Question of the Day

Select vs Set Local Variable

By Peter McLean 2016/03/31 | Category: t-sql
Rating: (not yet rated) |  Discuss |   Briefcase | 814 reads

Running the SQL below will give which results?

DECLARE @Table TABLE (ID INT PRIMARY KEY)
INSERT INTO @Table (Id)
VALUES(0),
(2),
(1)

DECLARE @SelectVariable INT = 1

SELECT@SelectVariable = ID
FROM@Table

SELECT@SelectVariable

SELECT@SelectVariable = ID
FROM@Table
WHEREID = 3

SELECT@SelectVariable  Read more...
Top Members (last 30 days)
# Name Score Level
30 days All-time
1.
Wryan138
1510 2070 SSCrazy  
2.
dbserv
985 3136 Hall of Fame  
3.
BillLudlow
472 2758 SSCrazy  
4.
Carlos Trujillo Almeida
461 4228 SSCarpal Tunnel  
5.
ShaynThomas1983
392 981 SSC Eights!  
Latest forum posts