George, a good friend of mine created a blog post showing how you can do a SQL Server Zipcode Latitude/Longitude proximity distance search without using the geography data type. I searched the internet to see if anyone had something similar with the geography data type available in 2008 and could not find anything that showed some useful stuff. Yes there is a lot available with geometry and polygons but nothing I was looking for. George challenged me and I did the 2008 version.

 There is nothing really complicated. if you run this

DECLARE @g geography;
DECLARE @h geography;
SET @h = geography::STGeomFromText('POINT(-77.36750 38.98390)', 4326);
SET @g = geography::STGeomFromText('POINT(-77.36160 38.85570)', 4326);
SELECT @g.STDistance(@h)/1609.344;
 
You will see that the distance in miles between those two points is 8.8490611480890067
 
In the end the code runs between 15 and 60 millisecond to get all the zipcodes within 20 miles of zipcode 10028, pretty impressive if you ask me 
 
All the code including sample data for all the zip codes in the US can be found here
 
The reason I did not post it here is because George created the 2000 version so it would be weird if the 2008 version was somewhere else, but no worries I will have a post here tomorrow about "what do you wish you knew when you were starting?"  Michelle Ufford (aka SQLFool) tagged me so look forward to that

 

 


Posted by Denis Gobo, filed under Uncategorized. Date: February 11, 2009, 9:28 pm | No Comments »

Read-only domain controllers (RODCs) are a new feature in Windows Server 2008 allowing domain controllers to be deployed in locations where security might otherwise be a concern (e.g. branch offices). In this video Mark Wilson takes a look at the password replication policies that are used to control credentials stored on RODCs.

Posted by TechNet How-to Videos, filed under Uncategorized. Date: February 11, 2009, 8:57 pm | No Comments »

Best Practices Analyzer (BPA) is a server management tool included with Windows Server® 2008 R2. BPA can help administrators reduce best practice violations by scanning one or more roles that are installed on Windows Server 2008 R2, and reporting best practice violations to the administrator.  Roles that support BPA scans in Windows Server 2008 R2 Beta include the following:

  • Active Directory Certificate Services
  • Active Directory Domain Services
  • DNS Server
  • Web Server (IIS)
  • Remote Desktop Services

When scans find aspects of a role that are not compliant with best practices, you can open the noncompliant scan results, read more about what’s not compliant, and click links to open step-by-step guidance on the Web that helps you bring your role into compliance.

The step-by-step guidance for resolving all available BPA rules is now available on the Windows Server 2008 R2 TechCenter. Take a look at some of the best practices for which BPA can scan your roles, or install Windows Server 2008 R2 Beta, scan BPA-supported roles, and access the online resolution content for over 80 best practice violations from within scan results.

Like any topic available on the TechCenter, you can provide feedback and ratings on BPA resolution topics, at the top right side of every topic, on the Library tab. Detailed feedback about what you like and don’t like about the topics helps Microsoft to improve them. You can also discuss your experiences with BPA and the best practice resolution content in the Windows Server Management forum.

Posted by WindowsServer, filed under Uncategorized. Date: February 11, 2009, 2:25 pm | No Comments »

Have you already downloaded and started kicking the tires on Windows Server 2008 R2 Beta? What, you’re waiting for an engraved invitation?

Here’s your chance to read prerelease documentation about how to configure and use technologies available with Windows Server 2008 R2. Some highlights:

Posted by WindowsServer, filed under Uncategorized. Date: February 11, 2009, 2:19 pm | No Comments »

Remote Server Administration Tools for Windows 7 Beta is now available on the Microsoft Download Center.  Remote Server Administration Tools for Windows 7 enables IT pros to manage roles and features that are installed on remote computers that are running Windows Server 2008 R2 (and, for some roles and features, Windows Server 2008 or Windows Server 2003) from a remote computer that is running Windows 7. It includes support for remote management of computers that are running either the Server Core or full installation options of Windows Server 2008 R2, and for some roles and features, Windows Server 2008. Some roles and features on Windows Server 2003 can be managed remotely by using Remote Server Administration Tools for Windows 7, although the Server Core installation option is not available with the Windows Server 2003 operating system.

This is the next generation of the Admin Pack, aka Windows Server 2003 Administrative Tools Pack and Remote Server Administration Tools for Windows Vista with Service Pack 1 (SP1).

Don’t forget, you’ll have to take all the old Admin Tools packs off your computer before you unleash Remote Server Administration Tools for Windows 7 on it. And please, don’t try to run multiple copies of Remote Server Administration Tools on your computer, even if the copies are in different languages.

What’s included in this release? Read on, gentle user…

Server Administration Tools:

  • Server Manager (thaaaat’s right! You can use Server Manager to manage Windows Server 2008 R2 computers from a computer that’s running Windows 7. You’re welcome.)

Role Administration Tools:

  • Active Directory Certificate Services (AD CS) Tools
  • Active Directory Domain Services (AD DS) Tools
  • Active Directory Lightweight Directory Services (AD LDS) Tools
  • DHCP Server Tools
  • DNS Server Tools
  • File Services Tools
  • Hyper-V Tools
  • Remote Desktop Services Tools

Feature Administration Tools:

  • BitLocker AD Password Recovery Viewer
  • Failover Clustering Tools
  • Group Policy Management Tools
  • Network Load Balancing Tools
  • SMTP Server Tools
  • Storage Explorer Tools
  • Storage Manager for SANs Tools
  • Windows System Resource Manager Tools

Posted by WindowsServer, filed under Uncategorized. Date: February 11, 2009, 1:36 pm | No Comments »


Search Engine Optimization and SEO Tools