>The hierarchyid data type

>

I have published my article titled SQL Server 2008 – The hierarchyid data type, on SQLServerUniverse.com.

Just to let you know, the hierarchyid data type is a CLR data type introduced in SQL Server 2008, and is used for storing hierarchical data. Unlike the parent/child approach which maintains a relationship among the records, this approach maintains the level and the position within the level to keep track of the records’ hierarchy.

TSQL04001_04

So, go ahead read, please my article and let me know on your thoughts.

http://pagead2.googlesyndication.com/pagead/ads?client=ca-pub-2528130281382044&dt=1209034140899&lmt=1209034140&output=html&slotname=1055406663&correlator=1209034140453&url=file%3A%2F%2F%2FC%3A%2FUsers%2FGogulaa%2FAppData%2FLocal%2FTemp%2FWindowsLiveWriter-429641856%2F160940986D18%2Findex.htm&frm=0&cc=100&ga_vid=1790101765.1209034141&ga_sid=1209034141&ga_hid=870763395&flash=9.0.115.0&u_h=1200&u_w=1600&u_ah=1170&u_aw=1600&u_cd=32&u_tz=330&u_java=true

>The Case of the Uninstallable CTP

>

SQL Server 2008 CTP – February 2008 comes with Windows PowerShell. PowerShell is installed as a prerequisite. So one fine day when I decided to install the CTP on my Vista Ultimate SP1 box, since I had just rebuilt the PC from scratch, I was faced with an error while running the setup. The thing which puzzled me was that I had been able to successfully setup the same CTP on Vista Ultimate SP1 RC before (i.e. before rebuilding the PC). The error that pops up is this:
image

This led me to do some sleuthing around as any one of us would do: Located the PowerShell folder within the CTP disc. PowerShell comes in the form of an .msu (Microsoft System Update) file for Windows Vista. Double-clicking on it to manually install PowerShell resulted in this error:
image

The real problem can be identified only here. There was some service which was not started up, in order to execute the PowerShell msu file. So which service is responsible for running Windows updates? Windows Update, of course. And true enough, Windows Update was disabled. Enabling it and starting it allowed the SQL Server installation to go through uninterrupted.

So, always remember to make sure that the Windows Update service is started up before setting up SQL Server 2008. Not quite sure what would happen on Windows Server or Windows XP though, since they don’t use msu files…