Hi Friends,

I got this code from Spatial forum sometime back when SQL Server 2008 was launched. The script was lying on my disk. I was preparing for an upcoming session on Spatial Data so came across this script and thought of sharing this with you all. Apologies to the original author, I do not remember his name, but the credit goes to him :) – this script is fun !!!

Copy this script in SSMS query editor. Select All and run. In the Results pane, click on Spatial tab and see the output :)