Carlos Femmer's Blog

Carlos Femmer lives in Lafayette, LA and builds a few solutions for JCLS and Agency Virtual Tours

Getting Started with SQL Server 2008

March 24, 2008 16:25 by carlos

Here is a quick and dirty tutorial to get your hands wet with the spatial features in SQL Server 2008.  There is an assumption that you have installed the SQL Server 2008 February 2008 CTP.

First - Download a sample database to play with.  You can download the sample database from here.

Second - Extract the two files somewhere on your hard drive.

Third - Attach the mdf to Sql Server 2008.

sql2008AttachDB  sql2008PickMDF  sql2008SpatialDB

Fourth - Right click on the feature (uscounties) and select "Select Top 1000 Rows".

sql2008ExecuteQuery

Fifth - Download the following tool from Morten's Blog to view the data (Download).  This is a very cool utility (Thanks Morten!)

There are 4 steps to follow.  Click on the image to increase the image size.

Sql2008SpatialQueryVisualizer

Cheers,

Carlos


Tags:
Categories: GIS | Sql Server 2008
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

Related posts

Add comment


(Will show your Gravatar icon)  

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

December 5. 2008 04:49