Topic: SQL Server

        Page 2 of 18 posts
blog post –

How are GUIDs sorted by SQL Server?

Today I ran into a nice problem with SQL Server fancy way of sorting GUIDS. I know, there should be no reason at all to sort GUID columns but, if what you need is run two tables side by side to check whether they are aligned or not (this is the task of  Read more

blog post –

Generate huge test tables using CTE

Sometimes I need to have a huge table to make performance tests and I want to create the table easily. I found a simple way of producing these test data using CTE in a creative way and decided to post it so I can have it at hand when needed and maybe  Read more

blog post –

Bulk Insert of sorted data

In a previous post I showed how to make bulk insert faster using SSIS. During Sql Server Conference 2007 I had the great opportunity to double check it with Stefano Stefani that analyzed the problem in greater detail and finally came up with both an explanation  Read more

blog post –

Visio does not handle Schema? Let’s force it to do!

I love VISIO to make database modeling, it gives very nice and colorful diagrams that I use for the documentation. I hate VISIO as it is really far from perfect, among all the others one thing it lacks is the ability to generate a database using SCHEMA  Read more

blog post –

SqlBulkTool

SqlBulkTool is a command line utility that is used to quickly create a mirror of a database. It reads its configuration from an XML file containing source and destination command strings and a list of all the tables to mirror and then handles the work  Read more

blog post –

Table Difference 1.1

TableDifference has been updated to version 1.1. The major improvement is the fact that now TableDifference can handle a field as Key : a field that represent a key in the table, you must supply KeyOrder Compare : a field that is to be compared between  Read more

blog post –

TableDifference: a solution to SCD handling

In SSIS the SCD component does a lot of work for you but it works so slowly that it is quite always convenient to create an “ad hoc” solution to handle the slowly changing dimensions. As the main problem is that of determining the difference between the  Read more