SQL Server

SQL Server Community

SQL Server Blogs

Dinesh Asanka
Follow /23 Jul 2014 at 3:37pm / SQL Server

Cannot show the editor for this task.

I got this error in SSIS when I try to open Execute SQL Task. Then I tried to open already configured Execute SQL Task in some other SSIS packages. Still the error exists. I was wondering this is an error in SQL Server 2014 so I installed SQL Server 2012...
28 0 /
Stuart Ainsworth
Follow /23 Jul 2014 at 3:00pm / SQL Server

Determining the Primary Key of a table without knowing it’s name

So, I’ve been trying to find more technical fodder for blog posts lately in order to get in the habit of blogging on a regular basis, so I thought I would explore a few of my higher-ranked answers on StackOverflow and provide a little more detail than...
30 0 /
Kenneth Fisher
Follow /23 Jul 2014 at 1:00pm / SQL Server

Why am I getting a primary/unique key violation?

This may seem like a question with a simple answer but there is a bit more to it than you might think. In fact I know of 3 possible reasons (and there may be more I don’t know) for seeing a primary key error. Technically they occur for any unique...
43 0 /
Rohit Garg
Follow /23 Jul 2014 at 10:33am / SQL Server

SQL Server 2012 with SP2 Slipstream ISO images fixed

Microsoft fixed SQL Server 2012 with SP2 Slipstream ISO images do not install SP2 issue. The new ISOs have been posted on their respective release channels (MSDN…) and are now available. Refer : http://support.microsoft.com/kb/2984316 Source...
48 0 /
Rohit Garg
Follow /23 Jul 2014 at 10:30am / SQL Server

Cumulative Update – 11 for SQL Server 2012 Service Pack 1 Is Now Available !

The 11th cumulative update release for SQL Server 2012 Service Pack 1 is now available for download at the Microsoft Support site. Cumulative Update 11 contains all the hotfixes released since the initial release of SQL Server 2012 SP1. Those who are...
32 0 /
SQLDBAPros
Follow /22 Jul 2014 at 10:26pm / SQL Server

Tuesday Tips: Test Backup and Recovery. Then Test Again.

DBAs aren’t doctors. Or firefighters, police officers or paramedics. But within the datacenter, a significant database loss could have a major impact on the life and death of a business. Not to mention, your job. While you probably have established...
108 0 /
Larry Leonard
Follow /22 Jul 2014 at 10:22pm / SQL Server

Quick Query to Display Database by Dataspace, Table, and Index

This query just breaks down the current database by dataspace, table, and index, giving you some useful information such as size in MB, pathname of the dataspace file, etc. -- Shows size of each object in each dataspace in the current database. select...
43 0 /
James Serra
Follow /22 Jul 2014 at 4:00pm / SQL Server

SQL Server Agent job steps vs SSIS

When doing ETL , you have the choice of using T-SQL or SSIS  (see When to use T-SQL or SSIS for ETL ).  If you decide T-SQL is the way to go and you just want to execute a bunch of T-SQL statements (individually or within a stored procedure), it’s still...
46 0 /
Dinesh Asanka
Follow /22 Jul 2014 at 2:42pm / SQL Server

Difference Between LEN and DATALENGTH

DATALENGTH - Returns the number of bytes used to represent any expression. LEN - Returns the number of characters of the specified string expression, excluding trailing blanks Output is 30, 3. Important point to remember is is LEN function does not depend...
80 0 /
Chris Webb
Follow /22 Jul 2014 at 9:30am / SQL Server

Working With Excel Named Ranges In Power Query

One of the more recent additions to Power Query is the ability to access data from named ranges in the Excel worksheet rather than an Excel table. I’ve got used to formatting data as tables in Excel because that’s what Power Pivot needs to import data...
49 0 /
Melissa Coates
Follow /22 Jul 2014 at 12:35am / SQL Server

Where to Find Q&A Optimizations in Power BI

Just a quick tip about where to locate the options in Power BI for doing Q&A optimizations. In the Power BI site, these are not where you might first think to look. What is Q&A? First, just a quick bit on what Q&A is and why you should care...
45 0 /
Mike Davis
Follow /21 Jul 2014 at 9:51pm / SQL Server

Make an SSIS package Delay or Wait for Data

Packages can be scheduled to run at a time when you expect data to be in a database. Instead of guessing the time when the data will be in the database we can have the package look for data in a SQL table. When the table has data then the package will...
46 0 /
Jason Strate
Follow /21 Jul 2014 at 6:00pm / SQL Server

July 2014 – SQL Server Monthly Maintenance Checklist

image source It’s been a few months since I’ve updated my SQL Server monthly maintenance checklist.  Even though it hasn’t been updated, hopefully people have been continuing to look at their environments and performing the needed...
56 0 /
WaterOx
Follow /21 Jul 2014 at 4:17pm / SQL Server

Null Values in SQL Server

Walk & Talk #001 – Unknown or Null Values Ride with us in this video as we head to Richmond, Virginia to present to their user group. This is the first official Walk & Talk, but you’ll notice we’re not exactly walking along...
66 0 /
Jason Strate
Follow /21 Jul 2014 at 4:00pm / SQL Server

Last Weeks Top “Reading” Links #93

It’s Monday time for this week’s weekly link round-up.  If you want to catch these links “live” ( so exciting ), follow me on  twitter  ( @StrateSQL ).  And see these throughout the day as I tweet out links of things I find interesting...
55 0 /