<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>SQL Server</title>
        <link>http://geekswithblogs.net/Podwysocki/category/4458.aspx</link>
        <description>SQL Server</description>
        <language>en-US</language>
        <copyright>Matthew Podwysocki</copyright>
        <managingEditor>matthew.podwysocki@gmail.com</managingEditor>
        <generator>Subtext Version 0.0.0.0</generator>
        <item>
            <title>Visual Studio 2008, SQL Server 2008 &amp; Windows Server 2008 Launch Event Coming to a City Near You!</title>
            <link>http://geekswithblogs.net/Podwysocki/archive/2008/01/14/118542.aspx</link>
            <description>As noted today, you can now register for the Launch of Visual Studio 2008, SQL Server 2008 and Windows Server 2008.  You can find the closest event to you from &lt;a href="http://www.microsoft.com/heroeshappenhere/register/default.mspx"&gt;here&lt;/a&gt;.  For all you DC folks like me, our event is March 25th and you can find that registration information &lt;a href="https://microsoft.crgevents.com/heroeshappenhere/Register/Login/WashingtonDC.aspx"&gt;here&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Here is the basic information:&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-weight: bold; font-style: italic;"&gt;Take a test drive&lt;/span&gt;&lt;br style="font-style: italic;" /&gt;
&lt;span style="font-style: italic;"&gt;Come to an event and test drive Windows Server® 2008 operating system, Microsoft® SQL Server® 2008, and Microsoft Visual Studio® 2008.&lt;/span&gt;&lt;br style="font-style: italic;" /&gt;
&lt;br style="font-style: italic;" /&gt;
&lt;span style="font-weight: bold; font-style: italic;"&gt;Meet the experts&lt;/span&gt;&lt;br style="font-style: italic;" /&gt;
&lt;span style="font-style: italic;"&gt;Enjoy hands-on labs, face-to-face Q&amp;amp;A sessions with software experts, and other opportunities to interact with development team members.&lt;/span&gt;&lt;br style="font-style: italic;" /&gt;
&lt;br style="font-style: italic;" /&gt;
&lt;span style="font-weight: bold; font-style: italic;"&gt;Bring the products home&lt;/span&gt;&lt;br style="font-style: italic;" /&gt;
&lt;span style="font-style: italic;"&gt;Want more? To say thanks for taking part of this exciting launch, you’ll take home a promotional kit with versions of all three products.&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;I was fortunate to be a part of the Washington DC Vista launch last year, help some of my DP&amp;amp;E give their presentations and even help with "Meet the Experts", so it's a great time.  I was just tired by the end of the day directing people where to register and where lunch was.  The lines were amazing and just outside in the freezing cold.  A good time was had by all!&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=118542"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=118542" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/Podwysocki/aggbug/118542.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Matthew Podwysocki</dc:creator>
            <guid>http://geekswithblogs.net/Podwysocki/archive/2008/01/14/118542.aspx</guid>
            <pubDate>Mon, 14 Jan 2008 23:22:41 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/Podwysocki/comments/118542.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/Podwysocki/archive/2008/01/14/118542.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/Podwysocki/comments/commentRss/118542.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/Podwysocki/services/trackbacks/118542.aspx</trackback:ping>
        </item>
        <item>
            <title>MSDN Webcast: What I Wish Developers Knew About Writing Queries in SQL Server 2005</title>
            <link>http://geekswithblogs.net/Podwysocki/archive/2006/07/12/84867.aspx</link>
            <description>&lt;DIV&gt;Microsoft has released a new MSDN webcast entitled &lt;A href="http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?EventID=1032301638&amp;amp;EventCategory=4&amp;amp;culture=en-US&amp;amp;CountryCode=US"&gt;What I Wish Developers Knew About Writing Queries in SQL Server 2005&lt;/A&gt;.&amp;nbsp; Bill Graziano,&amp;nbsp;a Microsoft SQL Server MVP,&amp;nbsp;from &lt;A href="http://www.cleardata.biz/"&gt;ClearData Consulting&lt;/A&gt; will give his experiences and best practices about SQL 2005.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;The webcast description notes:&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;As a consultant, I visit many companies that are having performance problems with Microsoft SQL Server 2005 database. This webcast describes some of the most common problems I see from clients, and explains how to avoid them. I cover reading query plans, SQL Profiler, indexing, correlated sub-queries, temporary tables, and user-defined functions, and show how you can use them together to improve performance.&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;It's definitely worth checking out if you are looking forbest practices and how to avoid common pitfalls.&lt;/DIV&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=84867"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=84867" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/Podwysocki/aggbug/84867.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Matthew Podwysocki</dc:creator>
            <guid>http://geekswithblogs.net/Podwysocki/archive/2006/07/12/84867.aspx</guid>
            <pubDate>Wed, 12 Jul 2006 12:05:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/Podwysocki/comments/84867.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/Podwysocki/archive/2006/07/12/84867.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/Podwysocki/comments/commentRss/84867.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/Podwysocki/services/trackbacks/84867.aspx</trackback:ping>
        </item>
        <item>
            <title>Looking at SQL Server 2005 Service Broker (SSB)</title>
            <link>http://geekswithblogs.net/Podwysocki/archive/2006/06/20/82502.aspx</link>
            <description>&lt;DIV&gt;During the last &lt;A href="http://groups.msn.com/MICSUG"&gt;MICSUG&lt;/A&gt; meeting, &lt;A href="http://blogs.msdn.com/gsnowman/"&gt;Geoff Snowman&lt;/A&gt; gave a great presentation on "When to Use What" with regards to which remoting and messaging technologies should be used in certain scenarios.&amp;nbsp; The SQL Server 2005 Service Broker (SSB) was mentioned a couple of times in regards to messaging systems and it got me a little intrigued to look at it.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;So What Is SSB?&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;From the &lt;A href="http://msdn2.microsoft.com/en-us/ms166043.aspx"&gt;Microsoft SQL Server Books Online&lt;/A&gt;:&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;Microsoft SQL Server 2005 Service Broker helps developers build scalable, secure database applications. This new technology, a part of the Database Engine, provides a message-based communication platform that enables independent application components to perform as a functioning whole. Service Broker includes infrastructure for asynchronous programming that can be used for applications within a single database or a single instance as well as for distributed applications.&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;&lt;/EM&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;Service Broker reduces application development time by providing much of the infrastructure that is necessary to build a distributed application. Service Broker also makes it easy to scale your application up or down to accommodate the amount of traffic the application receives.&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;So, this got me to thinking, well, what examples are there?&amp;nbsp; On GotDotNet, they have a site set up for &lt;A href="http://www.gotdotnet.com/codegallery/codegallery.aspx?id=9f7ae2af-31aa-44dd-9ee8-6b6b6d3d6319"&gt;SQL Server Broker Community Samples&lt;/A&gt; which has many samples for a brief introduction into the power of the SSB.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;For a detailed walkthrough, the latest Visual Studio Magazine has an article called &lt;A href="http://www.ftponline.com/vsm/2006_06/magazine/features/rjennings/default.aspx"&gt;"Program SQL Server 2005’s Service Broker"&lt;/A&gt; (Registration Required) in which it provides a pretty in depth analysis on what you can do as well as some code examples.&amp;nbsp; I hope to look at this more in the future!&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=82502"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=82502" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/Podwysocki/aggbug/82502.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Matthew Podwysocki</dc:creator>
            <guid>http://geekswithblogs.net/Podwysocki/archive/2006/06/20/82502.aspx</guid>
            <pubDate>Tue, 20 Jun 2006 19:41:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/Podwysocki/comments/82502.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/Podwysocki/archive/2006/06/20/82502.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/Podwysocki/comments/commentRss/82502.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/Podwysocki/services/trackbacks/82502.aspx</trackback:ping>
        </item>
        <item>
            <title>Free Tool - Red-Gate SQLPrompt</title>
            <link>http://geekswithblogs.net/Podwysocki/archive/2006/05/30/80128.aspx</link>
            <description>&lt;DIV&gt;I came across another tool to make my life easier.&amp;nbsp; Red-Gate has released a product called &lt;A href="http://www.red-gate.com/products/SQL_Prompt/index.htm"&gt;SQLPrompt&lt;/A&gt; which provides Intellisense to your SQL.&amp;nbsp; This is a free product (with registration) until September 1st, so hurry while supplies last.&amp;nbsp; Let's go over briefly the features.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;This is a tray application that provides the Intellisenses to most major SQL Editors.&amp;nbsp; It sits in the background and monitors when you have a .sql, .prc or other custom file extensions open.&amp;nbsp; From there, it provides the Intellisense features.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;This product provides Intellisense to most major SQL editors including the following:&lt;/DIV&gt;
&lt;DIV&gt;*&amp;nbsp; Visual Studio 2003&lt;/DIV&gt;
&lt;DIV&gt;*&amp;nbsp; Visual Studio 2005&lt;/DIV&gt;
&lt;DIV&gt;*&amp;nbsp; Query Analyzer&lt;/DIV&gt;
&lt;DIV&gt;*&amp;nbsp; Enterprise Manager&lt;/DIV&gt;
&lt;DIV&gt;*&amp;nbsp; SQL Server Management Studio&lt;/DIV&gt;
&lt;DIV&gt;*&amp;nbsp; UltraEdit&lt;/DIV&gt;
&lt;DIV&gt;*&amp;nbsp; EditPlus 2&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;This application can also remember code snippets that you may have as well as a lot of other features such as specifying trigger words, formatting among other things.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I will show a brief demo of how this is used.&amp;nbsp; First, I will launch Visual Studio 2005 and create a Database project.&amp;nbsp; From there, I will specify my connections and various other data needed.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I will then create a stored procedure.&amp;nbsp; The first time the SQLPrompt is used, it will prompt you for connection credentials for the Intellisense features including database.&amp;nbsp; I will do a simple pubs database query.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Once I start typing, the Intellisense will automatically populate the objects in the appropriate fashion.&amp;nbsp; Here is a simple select from pubs authors.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;IMG src="http://tk.files.storage.msn.com/x1p8HtBCMd0ISzOD5o9fQ0VDu6ClThvz7CLE7UC-pJUHqpvjGaiaSaZxLiZ0Ai9KayTvkMx_hrtfO-Z4XNiTZ7RKQGlCqd5e9MyAbsndcAjfxHf0dCVdaUl9GaDQ5ieSV-7csavIesa9YZiHP4EKXzTEA"&gt; 
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;The above says which tables I have available to me as well as the basic table definitions.&amp;nbsp; Let's go a little further and put an inner join on the table.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;IMG src="http://tk.files.storage.msn.com/x1p8HtBCMd0ISzOD5o9fQ0VDu6ClThvz7CLE7UC-pJUHqoWxfnE3wF2y1c0l8uNaG15fdSGvUDPfxE7HtVARAm-dM_4VXjV8Pl7r3Gc3zFy5RIEHQ27fpZ8bE1V5N_sNCEY4n1I9LkPX3v7o-dydO7qfA"&gt; 
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;This automatically picks up the table it is already linked with for joining purposes.&amp;nbsp; Now that we have this, we must set the ON keyword.&amp;nbsp; SQLPrompt will take care of that as well.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;IMG src="http://tk.files.storage.msn.com/x1p8HtBCMd0ISzOD5o9fQ0VDu6ClThvz7CLE7UC-pJUHqoqLJA6Yd8O-PpvQ9Ln9AdhXr3UL_hMKtcAdewKGLVbsxElUzpI0RNd6MERHlVa-xRhMmVrqJyR-kL9IpnXpDpEa_M2-3Zi6xcIwsSsaqmOsA"&gt; 
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;So, as you can see from this brief little demo how powerful this tool can be.&amp;nbsp; This is definitely one to add to the arsenal.&lt;/DIV&gt;
&lt;a href="http://www.dotnetkicks.com/kick/?url=http://geekswithblogs.net/podwysocki/archive/2006/05/30/80128.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http://geekswithblogs.net/podwysocki/archive/2006/05/30/80128.aspx" border="0" /&gt;&lt;/a&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=80128"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=80128" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/Podwysocki/aggbug/80128.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Matthew Podwysocki</dc:creator>
            <guid>http://geekswithblogs.net/Podwysocki/archive/2006/05/30/80128.aspx</guid>
            <pubDate>Tue, 30 May 2006 18:30:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/Podwysocki/comments/80128.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/Podwysocki/archive/2006/05/30/80128.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/Podwysocki/comments/commentRss/80128.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/Podwysocki/services/trackbacks/80128.aspx</trackback:ping>
        </item>
        <item>
            <title>OLE DB Provider for Directory Services</title>
            <link>http://geekswithblogs.net/Podwysocki/archive/2006/05/03/77166.aspx</link>
            <description>&lt;DIV&gt;When I was helping out a coworker with an issue for data mining for a logging and auditing ISAPI tool that we created (don't worry I'll get to the basic concepts of what we did), we realized we needed an easy way to pull information from AD easily during our data loads.&amp;nbsp; &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;SQL Server makes this easy of course with the OLE DB Provider for Directory Services.&amp;nbsp; Information about this can be found here:&amp;nbsp; &lt;A href="http://msdn2.microsoft.com/en-US/library/ms190803.aspx"&gt;http://msdn2.microsoft.com/en-US/library/ms190803.aspx&lt;/A&gt;&amp;nbsp;for SQL Server 2005.&amp;nbsp; The reference from ADO 2.8 also makes note of this technology here:&amp;nbsp; &lt;A href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ado270/htm/mdrefadsprovspec.asp"&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ado270/htm/mdrefadsprovspec.asp&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;This gives you the ability to use user names and passwords through SQL Server logins, although I would definitely recommand against such a procedure for security purposes and maintenance.&amp;nbsp; You can accomplish this however the sp_addlinkedsrvlogin system stored procedure.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Querying the AD object model is very simple from this example:&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#0000ff&gt;CREATE VIEW&lt;/FONT&gt; viewADEmails&lt;BR&gt;&lt;FONT color=#0000ff&gt;AS&lt;BR&gt;SELECT&lt;/FONT&gt; [Name], SN [Last Name], email&lt;BR&gt;&lt;FONT color=#0000ff&gt;FROM OPENQUERY&lt;/FONT&gt;( ADSI, &lt;BR&gt;&amp;nbsp;&amp;nbsp; &lt;FONT color=#ff0000&gt;'SELECT Name, SN, email&lt;BR&gt;&amp;nbsp;&amp;nbsp; FROM ''LDAP://DC=microsoft,DC=com''&lt;BR&gt;&amp;nbsp;&amp;nbsp; WHERE objectClass=''user'' AND objectCategory=''Person'''&lt;/FONT&gt;)&lt;BR&gt;GO&lt;BR&gt;&lt;FONT color=#0000ff&gt;SELECT &lt;/FONT&gt;* &lt;FONT color=#0000ff&gt;FROM&lt;/FONT&gt; viewADEmails&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=77166"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=77166" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/Podwysocki/aggbug/77166.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Matthew Podwysocki</dc:creator>
            <guid>http://geekswithblogs.net/Podwysocki/archive/2006/05/03/77166.aspx</guid>
            <pubDate>Thu, 04 May 2006 00:56:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/Podwysocki/comments/77166.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/Podwysocki/archive/2006/05/03/77166.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/Podwysocki/comments/commentRss/77166.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/Podwysocki/services/trackbacks/77166.aspx</trackback:ping>
        </item>
    </channel>
</rss>