Home

| RSS

SSMS Tools For SQL Server 2008

SSMS Tools Pack is a must have add-in for SQL Server Management Studio. It comes packed with a great set of features which as the author says on his site “…were missing from Management Studio”. Here is run down of three features I use most.
Text Format
If SSMS Tools Pack had only one feature and [...]

[ More ] April 27th, 2009 | No Comments | Posted in Programming |

Outlook 2007 Hotfix

If you have been having issues with Outlook 2007 related to performance, erratic behaviour and just annoyance in general then this hotfix maybe what you need. Released in February 2007 the patch fixes many issues which can make working with Outlook 2007 a punishment. I installed it today morning and it’s been working fine and [...]

[ More ] April 27th, 2009 | No Comments | Posted in Tips |

Capture XML In WCF Service

Working on a project where we wrote WCF Services a need was identified to capture the raw xml passed in to the service operation and also capture the reply xml sent back by the service. WCF does not provide such facility out of the box but it can be easily implemented using behaviours. In this [...]

[ More ] April 1st, 2009 | 11 Comments | Posted in Programming |

5 Ways To Remove Conficker Worm

Conficker worm which strikes on April 1st is already being labelled as one of the most dangerous cyber attacks ever. The way this worm works is that it sets up what are known as botnets on computers around the world. The worm goes active on April 1st when it can be used by its creators [...]

[ More ] March 29th, 2009 | 1 Comment | Posted in Tips |

Create T-SQL CASE Statements With LINQ To SQL

I was recently helping Nosh with a LINQ To SQL query where he wanted the resulting T-SQL query to have CASE statements. Having CASE statements in T-SQL queries is a common scenario but how do we it in LINQ To SQL .After some investigation I found the solution which I am presenting here using an [...]

[ More ] March 24th, 2009 | 1 Comment | Posted in Programming |

Internet Explorer 8 – First Experience

I’ll be honest that I was not much excited about Internet Explorer 8 until it went RTM. There is only so much beta software one can take. But today when IE8 went RTM I decided to install it on my main machine. This post talks about my first experience with the browser.
Installation of IE8 [...]

[ More ] March 20th, 2009 | 2 Comments | Posted in News |

SQL Server – sp_spaceused Use The Right Way

To find out the space used by a table we can use sp_spaceused procedure. Most of the times sp_spaceused will give correct information. Why do I say most of the time? Well consider this example. I just inserted a large amount of data in Orders table in Northwind database and ran sp_spaceused.
EXEC sp_spaceused ‘Orders’
which returns [...]

[ More ] March 19th, 2009 | No Comments | Posted in Programming |

Download Entire SharePoint 2007 Technical Library In CHM

The title says it all.
Here is the Link.

[ More ] March 19th, 2009 | No Comments | Posted in Programming |

SQL Server 2008 – 2 Ways To Get Object Id Of A Database Object

Every object in SQL Server database has an Object Id which is used extensively by SQL Server for most operations. There are times when we would like to know what the object ID is for a particular object. In this example I will show you two ways to retrieve Object Id. My examples will retrieve [...]

[ More ] March 18th, 2009 | No Comments | Posted in Programming |

Walkthrough – Generate Test Data With Red Gate SQL Data Generator

In this walkthrough I will show you how to use Red Gate SQL Data Generator to generate test data for a database. While writing software which interacts with a database developers often write scripts to insert some data. Usually this data is not big enough to find performance bottlenecks and/or issues with presenting data on [...]

[ More ] March 18th, 2009 | No Comments | Posted in Programming |

WPF Community Workshop – Learn WPF and Raise Money

Ok, so you’ve seen Windows Presentation Foundation (WPF) and you thought the technology looked interesting. You know your applications are starting to look dated, you understand WPF has matured, now in its 3rd release; but life gets in the way and you haven’t had the chance to get down and dirty with it yet. So [...]

[ More ] March 16th, 2009 | No Comments | Posted in News |

SQL Server 2008 – Find Default Constraints On a Table Using T-SQL

This script returns all default constraints on a table in a SQL Server 2008 database. It gives me the name and definition of the constraints on Person.Address table in Adventure Works database. You can substitute the table name with any other table to get the constraints for that table.
SELECT [name],
[...]

[ More ] March 12th, 2009 | No Comments | Posted in Programming |