SQL Server

SQL Server Community

SQL Server Blogs

Chris Yates
Follow /27 Feb 2015 at 6:28pm / SQL Server

Impact Series – Part 2

It’s that time again to add another impact player to the roster; this time for the month of February. This month the nod goes to none other than Jason Strate ( Blog | Twitter ). A few years back I sat in on one of Jason’s sessions at PASS Summit...
37 0 /
Tracy McKibben
Follow /27 Feb 2015 at 1:00pm / SQL Server

Friday Followup For February 27, 2015

It’s Friday, time to look back at the most popular RealSQLGuy posts of the week. Because it’s Friday and you’re not doing any real work anyway. Posts That Were Popular This Week Building (for FREE) a Virtual Server for SQL Demos...
94 0 /
Follow /26 Feb 2015 at 9:15pm / SQL Server

Gimme A Break! Taking Mental Health Days

Reading Time: 3 minutes Do you feel like this when you get to work?   Burnout! You have been stressing over the big project you have to get done. You get in early Monday morning, pour yourself a mug of coffee and stumble to your desk. You start...
41 0 /
Larry Leonard
Follow /26 Feb 2015 at 9:15pm / SQL Server

Adding a User to Multiple Databases

Everyone seems to have their own version. Mine is as simple as I could make it. Make sure you create the LOGIN first, and set the @User variable in the code below. Assumes you have already created a login named @User . set nocount on declare @User sysname...
59 0 /
James Serra
Follow /26 Feb 2015 at 4:19pm / SQL Server

Operational Data Store (ODS) Defined

I see a lot of confusion on what exactly is an Operational Data Store (ODS).  While it can mean different things to different people, I’ll explain what I see as the most common definition.  First let me mention that an ODS is not a data warehouse...
137 0 /
Michael J. Swart
Follow /26 Feb 2015 at 3:06pm / SQL Server

When Parameter Sniffing Caused Deadlocks

Last week I was asked to troubleshoot some deadlocks in production. I was surprised to find out that parameter sniffing was one of the causes. I describe the investigation below. Parameter Sniffing SQL Server does this neat trick when you give it...
104 0 /
Colleen Morrow
Follow /26 Feb 2015 at 3:00pm / SQL Server

Exam Prep 70-463: SSIS Expressions

This post is part of a series on this blog that will help me, and hopefully you, pass exam 70-463: Implementing a Data Warehouse with Microsoft SQL Server 2012.  So far, we’ve covered: Tables and Schemas in the data warehouse Dimensions and Slowly...
59 0 /
Bob Pusateri
Follow /26 Feb 2015 at 2:09pm / SQL Server

Signed Integer Ranges: Why and How

Whether you are working in T-SQL , Oracle , MySQL , C# , or Java , the range of possible values for a signed  (positive or negative) 32-bit integer is from or (-2,147,483,648) to or (2,147,483,647). The fact that it’s so consistent across so many...
37 0 /
Chris Webb
Follow /26 Feb 2015 at 12:37pm / SQL Server

Handling Added Or Missing Columns In Power Query

A recent conversation in the comments of this blog post brought up the subject of how to handle columns that have either been removed from or added to a data source in Power Query. Anyone who has worked with csv files knows that they have a nasty habit...
48 0 /
Melissa Coates
Follow /26 Feb 2015 at 12:33am / SQL Server

Overview of Using Analysis Services Data in the new Power BI Preview

Welcome to part 1 of a 3-part series on using the SSAS Connector with the new Power BI Preview. This information is as of Feb 2015 and is subject to change as the Power BI Preview evolves. Part I: Overview of Using Analysis Services Data in the new Power...
51 0 /
Derik Hammer
Follow /25 Feb 2015 at 2:00pm / SQL Server

Stored Procedures, Dynamic SQL and Execution Plans

Question If stored procedure execution plans are cached once and then reused, what version of the execution plan is cached for stored procedures that have dynamically created queries? Answer Dynamic SQL queries and stored procedures generate separate...
69 0 /
Kenneth Fisher
Follow /25 Feb 2015 at 1:00pm / SQL Server

Using sp_DBPermissions and sp_SrvPermissions v6.0

It’s been a while since I posted an updated to usp_DBPermissions and usp_SrvPermissions. Sorry. I got lazy with my posting. Changes sp_SrvPermissions — V5.5 — 7/22/2014 – Changed strings to unicode — V6.0 —...
104 0 /
James Serra
Follow /24 Feb 2015 at 6:00pm / SQL Server

Presentation slides for “Building a Big Data Solution”

Thanks to everyone who attended my session “Building a Big Data Solution” (Building an Effective Data Warehouse Architecture with Hadoop, Cloud and MPP) for  Pragmatic Works  today.  The abstract for my session is below and the recording will be available...
154 0 /
Kevin Kline
Follow /24 Feb 2015 at 5:00pm / SQL Server

Troubleshooting full-day workshop in Richmond (March) and Configuration full-day workshop in Huntington Beach (April)

Want to learn more about SQL Server? Now’s a good time to get a full day of inexpensive high-quality training on both the east and west coast, in March and April, respectively. I hope you’ll join me for a full-day troubleshooting and performance...
66 0 /
Follow /24 Feb 2015 at 4:28pm / SQL Server

T-SQL :- How to Search String in all Stored Procedures across All User Defined Databases

There are many different ways to accomplish this tasks. The below examples uses undocumented sp’s to loop through all the user defined database to search the SP’s using given string CREATE TABLE #ProcSearch (databaseName VARCHAR(100),ROUTINE_CATALOG...
59 0 /