SQL Server

pod Business Intelligence Showcase

May 27th, 2009 | By Christian Donner | Category: Business Intelligence, SQL Server, Software Engineering, Web

The Business Intelligence Showcase demonstrates our expertise with Microsoft’s business intelligence application suite. These technologies include the SQL Server database, Analysis Services, and Reporting Services. Recently added to the stack was the .Net chart control, a very powerful component that greatly improves productivity for producing visually appealing charts and diagrams on web sites and Windows [...]



Setup projects with SQL Server Compact Edition (CE) databases

Apr 12th, 2009 | By Christian Donner | Category: SQL Server, Security, Smartphone

This article is no longer relevant. In Visual Studio 2008 SP1, setup projects allow you to select the ‘User’s Application Data Folder’ as a deployment target. This is where any SDF files and other application data and content should go. The ‘Common Application Data Folder’ is no longer accessible for write operations in Windows 7 [...]



Free mileage tracker with desktop import for Windows Mobile 6 Smartphones

Apr 12th, 2009 | By Christian Donner | Category: Free Software, Mobile Devices, SQL Server, Smartphone

It is finally ready – the new and improved TripsNMiles, pod consulting’s free mileage tracker for the Windows Mobile platform.



Combining contiguous date ranges in a SQL query – using CTE recursion

Nov 6th, 2008 | By Christian Donner | Category: SQL Server

Sometimes we need to reduce the granularity of date ranges by combining serveral contiguous rows into one. While this is a common classic SQL problem, I was unable to find an elegant solution that also performs well, and came up with my own. This article explains the problem and outlines the solution using a Common [...]



DateTime comparisons in SQL Server 2007

Aug 28th, 2008 | By Christian Donner | Category: SQL Server

The issue is that SQL Server’s DateTime data type appears to be able to resolve milliseconds – but it really does not. It rounds to the nearest 0, 3, or 7.
Consider the following:



SQL Server 2005 – Recursion

May 3rd, 2008 | By Christian Donner | Category: SQL Server

Why do I find all the examples of how to use recursion in SQL Server 2005 too complicated (including the one in the Microsoft help)?
Here is mine that does the bare minimum.



Using SQL Server Column Aliases

Mar 14th, 2008 | By Christian Donner | Category: SQL Server

When you have query that does complex calculations, maybe even has function calls in the select list

select
costly_function_A() as result_A,
costly_function_B() as result_B
from
table_T

and then you need to return the result of such a calculation, but also [...]