Get weekly transactions showing Monday’s date
This recent MSDN thread presented an interesting, I believe, question: For a predefined set of the Application IDs show the weekly transactions and display Monday’s day for each week. The interesting...
View ArticleDynamic PIVOT on multiple columns
In this blog post I want to discuss a problem I encounter frequently in SQL related forums – how to perform dynamic PIVOT involving multiple columns using pure T-SQL solution. In SQL Server Reporting...
View ArticleFinding Duplicates – Interesting twist
A recent MSDN thread presented a very interesting problem – find duplicates based on any 4 of the 5 columns and eliminate the duplicates. Here is the data table we will be working with: CREATE TABLE...
View ArticleFinding the Winning Streak
Ok, I hope I got your attention with this title I want to share my solution of an interesting problem I saw today at tek-tips forum SQL 2005: Find longest sequence of events within a table Given the...
View ArticleAggregates with multiple tables
In this blog post I would like to touch a very common problem which often trips up newbies and even serious SQL Professionals. I wanted to write this blog post for quite some time, but always put it...
View ArticleHow to get information about all databases without a loop
Quite often we want to consolidate query information across all databases (or all user databases). When this question is asked in forums, the usual recommendation is to either try running undocumented...
View ArticleMaximum length of data in every column in a table
In this short blog post I would like to share a script I wrote yesterday as an answer to this MSDN thread to find maximum length of data in every column of a table passed as a parameter. Some notes for...
View ArticleDisplaying and Saving Unicode data in Visual FoxPro desktop application
Recently I had to deal with the problem of displaying and saving Unicode data in a Visual FoxPro form. As we all know, Visual FoxPro does not support Unicode, so this was quite a challenge for me. I...
View ArticleDealing with the “The text, ntext, or image pointer value conflicts with the...
Recently my colleague sent me a strange error she was getting in our VFP application “The text, ntext, or image pointer value conflicts with the column name specified.” I was not getting the same...
View ArticleASP.NET MVC project with Modal dialogs and Flexigrid
In the last few months I started working on my first ASP.NET MVC project. I already had a Visual FoxPro application I wrote in a few days and I wanted to replicate it for the Web using ASP.NET MVC....
View Article
More Pages to Explore .....