Browsing All Posts filed under »sql 2008«

CUBE and GROUPING

December 28, 2012

0

CUBE was introduced in SQL Server 2005. When you use the CUBE operator it generates a result set of every possible combination from your set of columns; much like a CUBE would be generated if you were using analysis services. the CUBE operator isn’t something I’ve had to use much so I’ll show you an example. […]

Inserting the results of a stored procedure into a table

October 18, 2012

0

Recently, I needed to find out the schema of a resultset returned by a Stored Procedure so I could pass some failing SQL Unit Tests. I needed to know the columns, the column order and exact datatypes. Without access to a client to run the procedure I needed a way to do this with just […]

Testing tools for SQL development

August 22, 2012

1

I’ve recently put together an article on using SQL Test/tSQLt, which you can find here. However, I wanted to briefly talk about the alternatives as I see them. Before any commercial testing tools were around we could just use a combination of manual scripts that called procedures and used temporary tables to hold data. It […]

Test Driven Development in the world of SQL

August 22, 2012

7

Any software/web developer worth hiring would tell you that Test Driven Development is important. Although it takes time to do properly,  It can increase productivity as features tend to be developed with a clearer understanding of the problem and make changing business requirements much easier to implement. Importantly, your code quality will improve and there […]

SQL SERVER - Soft Delete - IsDelete Column - Your Opinion

August 15, 2012

0

Reblogged from SQL Server Journey with SQL Authority: Just a day ago, I was reading the blog post of Michale J Swart. If you are a regular reader of this blog, I am sure you will be familiar with him. He is a very interesting blogger for sure. He recently wrote an article about Ten […]

Re-sequencing a sequence

April 20, 2011

0

Let’s say you have a table that is ordered by a column but also contains a sequence number used for overiding the order sequence. This table may look something like this Now, this initially is populated in sequence like so: You can see I deliberately left a gap for item ‘D’. If I was to […]

SQL Server Spatial data; adding a radius around a geometry

June 24, 2010

0

SQL Server 2008 Spatial data; Applying a buffer or radius on a geometry using metres.

SQL Server 2008 32/64bit problem with BCP and spatial data

November 27, 2009

0

BCP cannot be used to transfer spatial data from 32bit to 64bit instance.

Picture View of Views

February 4, 2009

0

Everyone loves a picture , right? Well, this is the updated map of views for SQL 2008. Enjoy. http://www.microsoft.com/downloads/details.aspx?FamilyID=531c53e7-8a2a-4375-8f2f-5d799aa67b5c&displaylang=en

SQL Server 2008 Full Text slowness

September 16, 2008

2

A possible fix to slow performance in SQL 2008 integrated full text search.

Follow

Get every new post delivered to your Inbox.