I recently came across a new blog by Ramesh Meyyappan on “Seek or Scan – Cost Based Optimizer in SQL Server“. In the youtube video (17 minutes) he covers the topic with some good examples and explanations, assuming you have...
Oft times trying to use the SQL SSIS Import wizard to load data into SQL server from excel you run into data type conversion errors and have to go through many machinations to alter the offending column data types and...
I can see the confused looks. “Joel what are you talking about?” We’re talking about Batches By default, in SQL Server Management Studio (SSMS), your query is submitted and executed in a batch. The batch separates the work you want...
SQL Server Central has a free ebook that compiles high level crib sheets that cover a few different areas. These give a good overview of high level concepts and tools that may interest you. It covers a range of areas...
Sometimes you need to be able to script the data out of a table and it is easier than you might think. I commonly do this when I am generating automated tests or updating a product with system data for...
Microsoft announced the June 1st release date for SQL Server 2016. Read to the end for other big news. From the breakdown of Features Supported for SQL 2016 by Edition there are a couple new features that will make their...
With each version of SQL server certain items are discontinued (removed) from that release, and other items are marked for deprecation (removal in a future release). Earlier this week I saw some code that I remembered being on the deprecation...
We recently had a customer trying to upgrade an SSRS solution and they were receiving some of the errors below. Some were from when they were trying to deploy the new reports and some were when they tried to go...
Calculated columns on tables can be helpful. For example let’s assume you have a table with Name Fields and you have a formula for FullName. You typically want that formula in a single spot. A common way to handle that...
I was recently having a conversation with someone and they asked me what some good resources were to begin writing SQL. So I thought it would be a good idea to compile a quick list of places I like to...