<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Ed's Getting Started Blog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/edhickey/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/edhickey/feed.xml</link>
    <description>This is a blog geared towards those of us who are not masters of SQL Server.  I will be learning SQL Server, and this blog will chronicle the journey.</description>
    <lastBuildDate>Wed, 17 Apr 2019 03:20:31 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Time for a change</title>
      <link>https://docs.microsoft.com/archive/blogs/edhickey/time-for-a-change</link>
      <pubDate>Thu, 06 Oct 2011 15:44:07 GMT</pubDate>
      <dc:creator><![CDATA[edhickey]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/edhickey/2011/10/06/time-for-a-change/</guid>
      <description><![CDATA[This will be my last post on this blog, I am leaving Microsoft tomorrow.&nbsp; After 14 years...]]></description>
      <content:encoded><![CDATA[<p>This will be my last post on this blog, I am leaving Microsoft tomorrow.&nbsp; After 14 years working for a great company with great people, I need a change of scenery.&nbsp; I hope the information I have provided here has been of some use to you folks, and I wish you all the best in the future.</p>]]></content:encoded>
    </item>
    <item>
      <title>SQL PASS Community Summit 2011</title>
      <link>https://docs.microsoft.com/archive/blogs/edhickey/sql-pass-community-summit-2011</link>
      <pubDate>Mon, 08 Aug 2011 12:16:00 GMT</pubDate>
      <dc:creator><![CDATA[edhickey]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/edhickey/2011/08/08/sql-pass-community-summit-2011/</guid>
      <description><![CDATA[Hi all,
One of the things I write about in this blog is how toget help from the Community of SQL...]]></description>
      <content:encoded><![CDATA[<p>Hi all,</p>
<p>One of the things I write about in this blog is how to<br />get help from the Community of SQL Server users and experts, and also the<br />importance of conferences and networking. One of the most important conferences<br />of the year for SQL Server professionals is the SQL PASS Community Summit. This<br />year it will be held in Seattle, Washington from October 12th -14th, <a href="https://www.sqlpass.org/summit/2011/">here's a link to the event</a>.</p>
<p>So what if you are not the most social person, or you have<br />never been to a large conference like this?&nbsp;<br />Have no fear, SQL Server MVP Arnie Rowland has a solution for you &ndash; the Big<br />Brothers/Big Sisters program.&nbsp; For those<br />of you who do not know Arnie, he is an incredible guy, has a massive amount of SQL<br />Server knowledge, and gives tirelessly to the SQL Server community.&nbsp; Here&rsquo;s a link to his blog post:</p>
<p><span style="text-decoration: underline;"><a href="https://1568.com/arnie/profdev/remember-your-first-high-school-dance/">https://1568.com/arnie/profdev/remember-your-first-high-school-dance/</a></span></p>
<p>I will be there too, and I&rsquo;m always happy to talk to<br />anyone who wants to learn more about Community in general or SQL Server<br />specifically.&nbsp; If at all possible, you<br />should come to this event for the knowledge transfer alone &ndash; it is an intense<br />week packed with things to do &ndash; top-notch SQL Server content, product booths<br />from vendors of SQL Server tools and services, tons of Microsoft product group<br />folks, MVPs, social gatherings and tons of networking opportunities.&nbsp; I hope to see you there!</p>
<p>Ed</p>
<p></p>]]></content:encoded>
    </item>
    <item>
      <title>Locks Unlocked</title>
      <link>https://docs.microsoft.com/archive/blogs/edhickey/locks-unlocked</link>
      <pubDate>Wed, 27 Jul 2011 13:45:49 GMT</pubDate>
      <dc:creator><![CDATA[edhickey]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/edhickey/2011/07/27/locks-unlocked/</guid>
      <description><![CDATA[I&rsquo;m likely not the first person clever enough to use this title, but as requested, this post...]]></description>
      <content:encoded><![CDATA[<p>I&rsquo;m likely not the first person clever enough to use this title, but as requested, this post will delve into Locks and try and explain them in a simple fashion.</p>
<p>Simply put, you Lock data in a database to keep multiple operations from occurring on the same data at the same time &ndash; for example, if two Update operations are trying to modify the same record in the database, there will be an issue and the data will likely be incorrect when they are done.&nbsp; So, each operation will lock the resource (record, page table, etc.), and release the lock when it is finished with the data.&nbsp; Too many locks on a database will hinder performance, so it is important to only use the type of Lock that is necessary for the operation.&nbsp; The big trade-off here is performance vs. data integrity &ndash; too few locks, and your data may become corrupt, while too many will bog down your servers.&nbsp; You will have to determine what is best for your environment based on a number of factors, including number of concurrent users/applications, hardware resources, necessity of data integrity, etc.</p>
<p>In SQL Server, there are seven types of Locks modes available.&nbsp; I will go over each one briefly, but you should also refer to the Books Online (BOL) documentation for a full discussion of these Lock types if necessary.&nbsp; Here are the 7 types of Lock modes available in SQL Server:</p>
<p><b>Shared:</b>&nbsp; This type of lock is used in Read operations (typically a SELECT statement), the resource only needs to be locked to make sure the data is not modified during the Read.&nbsp; As the data will not be modified by a simple Read operation, nothing further needs to be done.</p>
<p><b>Update:</b>&nbsp; This lock type is used when a resource needs to be updated &ndash; the lock needs to be put on the data before the transaction starts to ensure that another operation is not reading data that is going to be modified before the operation is complete.&nbsp; This Lock will prevent deadlocks from Shared locks simultaneously trying to promote to an Exclusive lock on the same piece of data.</p>
<p><b>Exclusive:</b>&nbsp; This Lock is used when any of the data modification commands are used, such as UPDATE or DELETE.&nbsp; No other lock is allowed on the data while an Exclusive lock is in place.</p>
<p><b>Intent:</b> These locks are basically &ldquo;pre-locks&rdquo; set at table level to signal that another type of Lock will be placed on a resource in that Table.&nbsp; There are three types of these,</p>
<p><b>Schema:</b> These are used by the database engine to make sure no data is updated in a table while adding a column or doing some other operation involving the database structure itself.</p>
<p><b>Bulk Update:</b> Used for doing bulk updates &ndash; this will lock the entire table so that multiple threads can execute the bulk update concurrently and not be interrupted or cause corruption with other operations.</p>
<p><b>Key-range:</b> This type of Lock is placed on an Index, effectively locking off a range of data from Reads and other operations.</p>
<p>I hope this has given you a basic idea of the concept of locking, why it is done, and what the limitations and performance implications are.</p>]]></content:encoded>
    </item>
    <item>
      <title>Where to post your questions in Microsoft Forums</title>
      <link>https://docs.microsoft.com/archive/blogs/edhickey/where-to-post-your-questions-in-microsoft-forums</link>
      <pubDate>Fri, 03 Jun 2011 10:06:45 GMT</pubDate>
      <dc:creator><![CDATA[edhickey]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/edhickey/2011/06/03/where-to-post-your-questions-in-microsoft-forums/</guid>
      <description><![CDATA[Hi all,
As some of you know, I manage about 120 MSDN and TechNet Forums for our division.&nbsp; One...]]></description>
      <content:encoded><![CDATA[<p>Hi all,</p>
<p>As some of you know, I manage about 120 MSDN and TechNet Forums for our division.&nbsp; One thing I see constantly is questions that are asked in the wrong forum, and this never results in a high probability of getting an answer to your question, and getting an answer is what everyone wants!&nbsp; I&rsquo;ve already written a post on &ldquo;<a href="https://blogs.msdn.com/b/edhickey/archive/2010/04/21/how-to-post-effectively-in-forums.aspx#10169490">How to post effectively in Forums</a>&rdquo;, so this is a follow-up to that, with some pointers about how to find the right place to ask your question.&nbsp; You want to find the Forum with the greatest amount of experts in the area you are asking about, right?</p>
<p>Due to the evolution of technology communities at different rates by different groups within Microsoft, we have two major Forum platforms that do not share a common code base.&nbsp; The reasons for this are complex and involve lots of things that happen inside a large corporation, so I won&rsquo;t go into details.&nbsp; What you do need to know, though, is that it is impossible for a Moderator to move posts between these sets of Forums, so it is important that you at least get your post in the correct set of Forums, or your chances of getting a good answer quickly decrease drastically.</p>
<p>ASP.Net, Silverlight and their associated technologies all work on the Telligent platform at <a href="https://www.asp.net/">https://www.asp.net</a>.&nbsp; MSDN, TechNet and Microsoft forums all reside on our own framework at <a href="https://social.msdn.microsoft.com/Forums/en-US/categories">https://social.msdn.microsoft.com/Forums/en-US/categories</a> and <a href="https://social.technet.microsoft.com/Forums/en-US/categories">https://social.technet.microsoft.com/Forums/en-US/categories</a>. &nbsp;MSDN is more geared toward Developer technologies, while TechNet is meant for IT Pro based issues.&nbsp; I have put together the following table to help:</p>
<table width="648" cellpadding="0" cellspacing="0" border="1">
<tbody>
<tr>
<td width="258" valign="top">
<p>ASP.Net and related technologies</p>
</td>
<td width="390" valign="top">
<p><a href="https://forums.asp.net/">https://forums.asp.net</a></p>
</td>
</tr>
<tr>
<td width="258" valign="top">
<p>Silverlight</p>
</td>
<td width="390" valign="top">
<p><a href="https://forums.silverlight.net/">https://forums.silverlight.net</a></p>
</td>
</tr>
<tr>
<td width="258" valign="top">
<p>Microsoft Answers</p>
</td>
<td width="390" valign="top">
<p><a href="https://answers.microsoft.com/en-us">https://answers.microsoft.com/en-us</a> </p>
</td>
</tr>
<tr>
<td width="258" valign="top">
<p>Windows Phone 7 development</p>
</td>
<td width="390" valign="top">
<p><a href="https://forums.create.msdn.com/forums/default.aspx?GroupID=19">https://forums.create.msdn.com/forums/default.aspx?GroupID=19</a> </p>
</td>
</tr>
<tr>
<td width="258" valign="top">
<p>Visual Studio and Developer issues</p>
</td>
<td width="390" valign="top">
<p><a href="https://social.msdn.microsoft.com/Forums/en-US/categories">https://social.msdn.microsoft.com/Forums/en-US/categories</a></p>
</td>
</tr>
<tr>
<td width="258" valign="top">
<p>Windows Server, SQL Server</p>
</td>
<td width="390" valign="top">
<p><a href="https://social.technet.microsoft.com/Forums/en-US/categories">https://social.technet.microsoft.com/Forums/en-US/categories</a> </p>
</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>What gives you trouble when learning SQL Server?</title>
      <link>https://docs.microsoft.com/archive/blogs/edhickey/what-gives-you-trouble-when-learning-sql-server</link>
      <pubDate>Thu, 21 Apr 2011 14:50:52 GMT</pubDate>
      <dc:creator><![CDATA[edhickey]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/edhickey/2011/04/21/what-gives-you-trouble-when-learning-sql-server/</guid>
      <description><![CDATA[I've written a few posts about some of the bigger topics in learning SQL Server.&nbsp; Now I'd like...]]></description>
      <content:encoded><![CDATA[<p>I've written a few posts about some of the bigger topics in learning SQL Server.&nbsp; Now I'd like to hear from you - is there a particular area that you have trouble learning, due to poor documentation, unclear understanding of what the particular technology does, etc.?&nbsp; Please leave a comment letting me know what area(s) you would like clarification about, and I will work with some of the smart folks here to give a different perspective on it.</p>]]></content:encoded>
    </item>
    <item>
      <title>The MVP Summit 2011</title>
      <link>https://docs.microsoft.com/archive/blogs/edhickey/the-mvp-summit-2011</link>
      <pubDate>Fri, 11 Mar 2011 15:00:41 GMT</pubDate>
      <dc:creator><![CDATA[edhickey]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/edhickey/2011/03/11/the-mvp-summit-2011/</guid>
      <description><![CDATA[It has been a while since I posted, and I know I am not supposed to apologize for being absent in my...]]></description>
      <content:encoded><![CDATA[<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-family: Calibri; font-size: small;">It has been a while since I posted, and I know I am not supposed to apologize for being absent in my blogging duties according to The Rules of Blogging.<span style="mso-spacerun: yes;">&nbsp; </span>But, I will tell you what I was doing, and with whom, and that may help you to learn SQL Server a bit better, believe it or not.</span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-family: Calibri; font-size: small;">One of my duties here is to work with the Microsoft MVPs, and it is something I really enjoy doing.<span style="mso-spacerun: yes;">&nbsp; </span>I have been working with them for about 10 years now in various capacities.<span style="mso-spacerun: yes;">&nbsp; </span>For more info on what an MVP is, you can go to </span><a href="https://mvp.support.microsoft.com/gp/aboutmvp"><span style="font-family: Calibri; color: #0000ff; font-size: small;">https://mvp.support.microsoft.com/gp/aboutmvp</span></a><span style="font-family: Calibri; font-size: small;"> and read up more about them.<span style="mso-spacerun: yes;">&nbsp; </span>In general, though, I like to describe the MVP award as a &ldquo;thank-you for what you did in the Community last year&rdquo;.<span style="mso-spacerun: yes;">&nbsp; </span>These folks write blogs, answer Forum posts, speak at conferences and User Groups, write books, etc.<span style="mso-spacerun: yes;">&nbsp; </span>If you have been anywhere in the community, you likely have seen one or more of these folks out there.<span style="mso-spacerun: yes;">&nbsp; </span>The largest group I manage is the SQL Server Expertise.</span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-family: Calibri; font-size: small;">We hold an MVP Summit here on the Redmond campus every year, which is an enormous event (nearly 1700 MVPs came this year), and we put on technical sessions, dinners, parties, meetings with the Product Groups, and all the usual sorts of mayhem that any large conference entails.<span style="mso-spacerun: yes;">&nbsp; </span>All the sessions are under NDA, which allows us to give a lot of insider information, share future plans, and most importantly, hear a LOT of great feedback on what we are working on.<span style="mso-spacerun: yes;">&nbsp; </span>My role in all of this is to organize these events for my group of MVPs, and make sure it all goes smoothly.</span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-family: Calibri; font-size: small;">The upside to this is that I get to spend a few days with all my MVP friends in town, which is great.<span style="mso-spacerun: yes;">&nbsp; </span>The downside is that the event planning takes pretty much all of my time for a few months, so I don&rsquo;t get to do things like post to my blog.<span style="mso-spacerun: yes;">&nbsp; </span>But, in reality I am helping you to learn SQL Server by doing what I do, and to tell you the honest truth, it is better to learn it from the Experts than to learn it from me.<span style="mso-spacerun: yes;">&nbsp; </span>When we let them know what is happening, they can then let you know in their own particular style.<span style="mso-spacerun: yes;">&nbsp; </span>And, they do all of this on their own time &ndash; they do not receive anything from Microsoft for their efforts other than a nifty title and a conference each year.</span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-family: Calibri; font-size: small;">So, the moral of the story is this &ndash; go find an MVP, listen to what they have to say, and chances are, you will learn something valuable from them.</span></p>]]></content:encoded>
    </item>
    <item>
      <title>Acronyms in SQL Server</title>
      <link>https://docs.microsoft.com/archive/blogs/edhickey/acronyms-in-sql-server</link>
      <pubDate>Fri, 19 Nov 2010 15:58:00 GMT</pubDate>
      <dc:creator><![CDATA[edhickey]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/edhickey/2010/11/19/acronyms-in-sql-server/</guid>
      <description><![CDATA[SQL Server can be a dizzying array of acronyms to the uninitiated &ndash; SQL itself, SSIS, SSAS,...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family: Calibri; font-size: small;">
<p class="MsoNormal">SQL Server can be a dizzying array of acronyms to the uninitiated &ndash; SQL itself, SSIS, SSAS, SSRS, SMO, DMO &ndash; the list seems endless.<span style="mso-spacerun: yes;">&nbsp; </span>In this post, I will define some of the acronyms and give a brief description of what each does, so you can decide if you are interested in learning more about them.<span style="mso-spacerun: yes;">&nbsp; </span>There are four main parts of SQL Server, plus a couple of other pieces that are very closely knit into the Server, so we&rsquo;ll take a look at them as well.</p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">First, there is the Database Engine, which is the core functionality of SQL Server.<span style="mso-spacerun: yes;">&nbsp; </span>This is the part of SQL Server that controls the managing of data, accessing it and securing it.<span style="mso-spacerun: yes;">&nbsp; </span>It is also the core part of the product that manages query processing, tables, indexes, the Transaction Log and memory management, among other things.<span style="mso-spacerun: yes;">&nbsp; </span>The Database Engine is one of the four main parts of SQL Server.</p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Another of the &ldquo;Big Four&rdquo; parts of SQL Server is Analysis Services (SSAS).<span style="mso-spacerun: yes;">&nbsp; </span>This is the core of the Business Intelligence (BI) part of SQL Server.<span style="mso-spacerun: yes;">&nbsp; </span>Using BI involves looking at and managing and analyzing very large amounts of data, and this is often done by creating something called an OLAP Cube.<span style="mso-spacerun: yes;">&nbsp; </span>OLAP stands for Online Analytical Processing, and this is a way of defining data so that you can actually make sense out of it at a large scale.<span style="mso-spacerun: yes;">&nbsp; </span>To give you an idea of this scale, I was recently speaking to an MVP who regularly used OLAP Cubes that were 30 Gigabytes in size, so you can see where it becomes very important to have this capability or you will never make sense out of that much data.</p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Next on the list is SSIS, or SQL Server Integration Services.<span style="mso-spacerun: yes;">&nbsp; </span>This piece of SQL Server is used to manage data from diverse sources - for instance say that you need to analyze data from your CRM System, your Order Entry system, and the Customer Database, and these three systems are all non-compatible (in other words, the data is harvested from data stores created by different vendors).<span style="mso-spacerun: yes;">&nbsp; </span>Using Integration Services, you can create a Package of data that can be converted to a single format so that you can then use the rest of the SQL Analysis tool (see SSAS above) to do the analysis on the data.<span style="mso-spacerun: yes;">&nbsp; </span>You can see how this can easily be a very valuable part of your overall data management system, especially in larger organizations.</p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">The last of the four main parts of SQL Server is SSRS, or SQL Server Reporting Services.<span style="mso-spacerun: yes;">&nbsp; </span>This is probably the easiest of the pieces to understand, it is pretty self-explanatory.<span style="mso-spacerun: yes;">&nbsp; </span>This is the tool that you can use to query your data and give you customized reports depending on what you want to see.<span style="mso-spacerun: yes;">&nbsp; </span>The main components are the Report Server, the Report Designer and the Report Builder, by using these you can get a subset of the data that is relevant to what you want to do.</p>
<p class="MsoNormal"><o:p>&nbsp;</o:p><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">These are the main parts, there is, of course, much more, but hopefully this will help you unravel some of the acronyms that you will face when learning SL Server.<span style="mso-spacerun: yes;">&nbsp; </span>If nothing else, you can now tell your friends that you can create an OLAP cube using SSAS in SQL to perform BI for your business, and they will either think you are brilliant, or they will call you a Geek.</p>
<p class="MsoNormal">&nbsp;</p>
</span></p>
<p class="MsoNormal">&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Where to find help on Microsoft products</title>
      <link>https://docs.microsoft.com/archive/blogs/edhickey/where-to-find-help-on-microsoft-products</link>
      <pubDate>Fri, 22 Oct 2010 10:51:07 GMT</pubDate>
      <dc:creator><![CDATA[edhickey]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/edhickey/2010/10/22/where-to-find-help-on-microsoft-products/</guid>
      <description><![CDATA[Hello all,
&nbsp;
I&rsquo;ve had a couple of times this week when I have been contacted by...]]></description>
      <content:encoded><![CDATA[<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Calibri; font-size: small;">Hello all,</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><o:p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></o:p></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Calibri; font-size: small;">I&rsquo;ve had a couple of times this week when I have been contacted by customers, and they have not been happy, as they have had issues trying to get support from Microsoft.<span style="mso-spacerun: yes;">&nbsp; </span>I fully understand the frustration, as most of us seem to have to work with at least one Microsoft product in our daily lives, and we will invariably run into issues at some point or another.<span style="mso-spacerun: yes;">&nbsp; </span>This has nothing to do with technical proficiency, experience with the product or anything like that, it has more to do with the sheer amount of new information that we have to absorb every day.<span style="mso-spacerun: yes;">&nbsp; </span>Think about it &ndash; 5 years ago, there were very few blogs, no such thing as Twitter and Facebook, no Cloud, and a host of other changes that seem to come at an ever-quickening pace.<span style="mso-spacerun: yes;">&nbsp; </span>There are constantly more sites, content, ideas and opinions out there for us to navigate, regardless of where we work.</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><o:p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></o:p></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Calibri; font-size: small;">My hope for this post is to try to make a bit of sense of what is out there in a fairly generic pattern, so whatever field you happen to be in, you will be able to look up helpful sites and be able to get an answer to your question, which is really why most people visit these kinds of sites.<span style="mso-spacerun: yes;">&nbsp; </span>I&rsquo;m not going to go into the more esoteric sites and tools, as there are literally hundreds of these coming out each week.<span style="mso-spacerun: yes;">&nbsp; </span>I just want to describe the more common types of venues, and describe what each one of them is best at giving you as far as information.</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><o:p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></o:p></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Calibri; font-size: small;">First, a good place to start is the Company website, in our case, this is </span><a href="https://www.microsoft.com/"><span style="font-family: Calibri; font-size: small;">www.microsoft.com</span></a><span style="font-family: Calibri; font-size: small;">.<span style="mso-spacerun: yes;">&nbsp; </span>Most companies will have a website, and this is usually a good place to start to see what is offered.<span style="mso-spacerun: yes;">&nbsp; </span>These sites are good for getting product info, such as hardware requirements, cost of the products, if there are sites that host Forums, etc.<span style="mso-spacerun: yes;">&nbsp;&nbsp; </span>These sites are good for finding overview information, but not the best place to find specific information about a problem you may be having.</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><o:p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></o:p></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Calibri; font-size: small;">Search Engines are a great source of both help and frustration.<span style="mso-spacerun: yes;">&nbsp; </span>If you happen to hit the right search phrase, you can find just about anything, but if you don&rsquo;t know what you are searching for you can search forever and have to sift through hundreds of irrelevant pages and still have a great chance of not finding the right piece of information.<span style="mso-spacerun: yes;">&nbsp; </span>There is a great deal of interest these days in Search Engine Optimization (SEO) from a corporate standpoint, as this is how most people will find information for the company&rsquo;s products.<span style="mso-spacerun: yes;">&nbsp; </span>For instance, 80% of the people who visit the MSDN Forums arrive via a search engine, so you can see how knowledge of this is essential to any company these days.<span style="mso-spacerun: yes;">&nbsp; </span>My tips for searching for things are to use the more specific words first, and to try and find the most specific term possible for what you are looking for.<span style="mso-spacerun: yes;">&nbsp; </span>The more you can narrow down the search term to something unique, the better chance you have of not getting 4 million results for your search.<span style="mso-spacerun: yes;">&nbsp; </span>So, if you are looking for a SQL initialization string, for example, simply searching on &ldquo;String&rdquo; will likely not be terribly helpful.<span style="mso-spacerun: yes;">&nbsp; </span>For this phrase, I&rsquo;d use the whole phrase in quotes which will give you results that have all the terms.</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><o:p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></o:p></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Calibri; font-size: small;">Blogs are another good source of information, and they can either be company-sponsored or 3<sup>rd</sup> party.<span style="mso-spacerun: yes;">&nbsp; </span>In<span style="mso-spacerun: yes;">&nbsp; </span>this case, my blog is &ldquo;company sponsored&rdquo;, as it is in a Microsoft site and I work for Microsoft.<span style="mso-spacerun: yes;">&nbsp; </span>3<sup>rd</sup> party blogs would be those authored by MVPs or others who do not work for the parent company and are not hosted on a company website.<span style="mso-spacerun: yes;">&nbsp; </span>Blogs are great sources of information for getting an overview of something, and for finding a more lengthy treatment of a specific problem.<span style="mso-spacerun: yes;">&nbsp; </span>As an example, this post is very general about &ldquo;finding help&rdquo;, but it is not going to solve the specific issue you are having right now with the product you are using.<span style="mso-spacerun: yes;">&nbsp; </span>Blogs are usually easy to find by using a search engine like Bing, as they will contain relevant keywords that you will type in the search box.</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><o:p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></o:p></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Calibri; font-size: small;">Forums are another good place to find help, most places these days have them somewhere on their online properties.<span style="mso-spacerun: yes;">&nbsp; </span>The Microsoft Forums are located at </span><a href="https://social.msdn.microsoft.com/"><span style="font-family: Calibri; font-size: small;">https://social.msdn.microsoft.com</span></a><span style="font-family: Calibri; font-size: small;"> (MSDN, for Developers) and </span><a href="https://social.technet.microsoft.com/"><span style="font-family: Calibri; font-size: small;">https://social.technet.microsoft.com</span></a><span style="font-family: Calibri; font-size: small;"> (TechNet, for IT Pros), and these are an excellent source of answers to specific questions, and the content that has been generated there is all searchable.<span style="mso-spacerun: yes;">&nbsp; </span>See the post earlier in my blog about &ldquo;How to post effectively in Forums&rdquo; to increase your chances of getting an answer to your question.<span style="mso-spacerun: yes;">&nbsp; </span>There are also 3<sup>rd</sup> party Forums on just about everything under the sun, from barbequing to cars to games, and so on.</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><o:p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></o:p></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Calibri; font-size: small;">Videos are an ever-increasing source of information about topics as well, sites like YouTube have literally millions of videos, and not all of them are people doing stupid things or stupid pet tricks.<span style="mso-spacerun: yes;">&nbsp; </span>Use the search functionality on the site you choose to see if there is something appropriate for what you are trying to find, chances are there are.<span style="mso-spacerun: yes;">&nbsp; </span>If I told you there were over 5000 videos that showed up when you search on &ldquo;SQL Server&rdquo;, would you believe me?<span style="mso-spacerun: yes;">&nbsp; </span>You should, because there are.</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><o:p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></o:p></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Calibri; font-size: small;">These are just the basics, there are usually tons of ways to find information, but you need to know where to look, and hopefully I&rsquo;ve given you a few ideas on where to look for things.</span></p>]]></content:encoded>
    </item>
    <item>
      <title>Now that was easy!</title>
      <link>https://docs.microsoft.com/archive/blogs/edhickey/now-that-was-easy</link>
      <pubDate>Fri, 08 Oct 2010 13:29:00 GMT</pubDate>
      <dc:creator><![CDATA[edhickey]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/edhickey/2010/10/08/now-that-was-easy/</guid>
      <description><![CDATA[This is a pretty common scenario, so I thought I would write it up and post it so everyone could see...]]></description>
      <content:encoded><![CDATA[<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-family: Calibri; font-size: small;">This is a pretty common scenario, so I thought I would write it up and post it so everyone could see how to do this.<span style="mso-spacerun: yes;">&nbsp; </span>Here&rsquo;s what happened &ndash; my manager wanted a report from me about participation in the MSDN and TechNet Forums, the exact details are unimportant, but suffice it to say, this is a pretty major piece of data analysis.</span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-family: Calibri; font-size: small;"></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-family: Calibri; font-size: small;"></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-family: Calibri; font-size: small;">I was able to pull a report to a spreadsheet, and I started looking through it, but was soon thwarted by two major factors.<span style="mso-spacerun: yes;">&nbsp; </span>First, the way it was set up in the spreadsheet, there were headers every few lines in the spreadsheet that made Filtering impossible, I would have had to go into each section (several hundred sections in total) and set a Filter on each one, which would have taken a long time.<span style="mso-spacerun: yes;">&nbsp; </span>Second, when I hit Ctrl + End to get to the bottom of the spreadsheet, there were over 35000 rows!<span style="mso-spacerun: yes;">&nbsp; </span>That is certainly too much to be playing with in a spreadsheet, that is a job for a database, and luckily I have one on my machine.</span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: small;"><span style="font-family: Calibri;"></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: small;"><span style="font-family: Calibri;"></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: small;"><span style="font-family: Calibri;">SQL Server to the rescue!<span style="mso-spacerun: yes;">&nbsp; </span>I obviously needed to get all of this data into a table for some much easier handling of a large amount of data, so I fired up our old friend SQL Server Management Studio (SSMS).<span style="mso-spacerun: yes;">&nbsp; </span>From there, it was easy &ndash; right-click on the Databases label, and click &ldquo;New Database&rdquo; and I named it &ldquo;ForumStats&rdquo;.<span style="mso-spacerun: yes;">&nbsp; </span>Then, right-click on the ForumStats label in the treeview to the left, and go to Tasks/Import Data, which starts the SQL Server Import and Export Wizard.<span style="mso-spacerun: yes;">&nbsp; </span>This will walk you through connecting to the Data Source, which is the spreadsheet.<span style="mso-spacerun: yes;">&nbsp; </span>For the Data Source field, I chose Microsoft Excel, then used Browse to point to the spreadsheet itself.<span style="mso-spacerun: yes;">&nbsp; </span>Be sure to tell it what version of Excel you are using in the Version field, and hit Next.<span style="mso-spacerun: yes;">&nbsp; </span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-family: Calibri; font-size: small;"></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-family: Calibri; font-size: small;"></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-family: Calibri; font-size: small;">The next screen will let you pick the destination database from the dropdown, for the rest of it you should be able to use the defaults for the client and server name.<span style="mso-spacerun: yes;">&nbsp; </span>If you have not created a database for this yet, you can also do that from this screen.<span style="mso-spacerun: yes;">&nbsp; </span>The next screen allows you to copy all of the data or to write a query to get just selected data into the new table &ndash; for this exercise, I used &ldquo;Copy data from one or more tables or views&rdquo;.<span style="mso-spacerun: yes;">&nbsp; </span>The next screen asked me what sheet from the workbook I want to import, then we&rsquo;re on to the last screen of the Wizard, which is the one that actually imports the data.</span></p>
<p><span style="line-height: 115%; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"></span></p>
<p><span style="line-height: 115%; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"></span></p>
<p><span style="font-size: small;"><span style="line-height: 115%; font-family: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">Now I have all of my data in a single table, and I can write my own query to get my results, or I can also use the Query Editor, which was discussed in an earlier post.<span style="mso-spacerun: yes;">&nbsp; </span>Start to finish, this took me about 5 minutes, which was a much shorter time that trying to manipulate an enormous spreadsheet, and it kept me much more sane in the process.<span style="mso-spacerun: yes;">&nbsp; </span>There&rsquo;s an old saying about using the right tool for the job, and this is definitely an application of that adage.<span style="mso-spacerun: yes;">&nbsp; </span>My manager was happy with the info I was able to give her as well, which is exactly what we were trying to do in the first place, right?<span style="mso-spacerun: yes;">&nbsp;&nbsp; </span></span><span style="line-height: 115%; font-family: Wingdings; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-char-type: symbol; mso-symbol-font-family: Wingdings;"><span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings;">J</span></span></span></p>]]></content:encoded>
    </item>
    <item>
      <title>Adding data to a SQL Server Database</title>
      <link>https://docs.microsoft.com/archive/blogs/edhickey/adding-data-to-a-sql-server-database</link>
      <pubDate>Fri, 27 Aug 2010 13:42:54 GMT</pubDate>
      <dc:creator><![CDATA[edhickey]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/edhickey/2010/08/27/adding-data-to-a-sql-server-database/</guid>
      <description><![CDATA[I&rsquo;m back from vacation, and it always seems to take an extra week to clear out the inbox,...]]></description>
      <content:encoded><![CDATA[<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: small;"><span style="font-family: Calibri;">I&rsquo;m back from vacation, and it always seems to take an extra week to clear out the inbox, catch up on the meetings you missed, etc.<span style="mso-spacerun: yes;">&nbsp; </span>So, time to dive back in to the blog and actually put some data in the database and the table we created last time.<span style="mso-spacerun: yes;">&nbsp; </span>My goal here over the next few posts is to put some data into the table, then create a very rudimentary web page to view the data, which will be some photos in my case.<span style="mso-spacerun: yes;">&nbsp; </span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-family: Calibri; font-size: small;">There are several ways to so this, of course, including writing code, which I will not go into just yet.<span style="mso-spacerun: yes;">&nbsp; </span>This week we will start with getting the data into the table using SQL Server Management Studio, which is probably the easiest solution, but it is not so good for doing large imports.<span style="mso-spacerun: yes;">&nbsp; </span>In this case, though, I have about 10 photos to add to the Table for demonstration purposes, so SSMS will work just fine.</span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-family: Calibri; font-size: small;">To avoid you having to go back and read previous posts, I have a database named Pictures that I created, then a table named Photos with 5 fields:</span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt;"><span style="font-family: Calibri; font-size: small;">PK &ndash; numeric</span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt;"><span style="font-family: Calibri; font-size: small;">Description &ndash; text</span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt;"><span style="font-family: Calibri; font-size: small;">DateTaken &ndash; date</span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt;"><span style="font-family: Calibri; font-size: small;">Photo &ndash; image</span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt;"><span style="font-family: Calibri; font-size: small;">Subject &ndash; text</span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt;"><o:p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></o:p></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt;"><span style="font-family: Calibri; font-size: small;">So, open up SSMS, navigate to the table, then you can right-click it to bring up the context menu.<span style="mso-spacerun: yes;">&nbsp; </span>We&rsquo;ll want &ldquo;Script Table as&rdquo;, then &ldquo;INSERT to&rdquo; and finally &ldquo;New Query Editor Window&rdquo;, and this will bring up a stub of a query with the fields listed:</span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt;"><o:p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></o:p></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"><span style="font-family: 'Courier New'; color: blue; font-size: 10pt; mso-no-proof: yes;">INSERT</span><span style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"> <span style="color: blue;">INTO</span> [Pictures]<span style="color: gray;">.</span>[dbo]<span style="color: gray;">.</span>[Photos]<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"><span style="font-family: 'Courier New'; color: blue; font-size: 10pt; mso-no-proof: yes;"><span style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="font-family: 'Courier New'; color: gray; font-size: 10pt; mso-no-proof: yes;">(</span><span style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;">[PK]<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"><span style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"><span style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: gray;">,</span>[Description]<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"><span style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"><span style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: gray;">,</span>[DateTaken]<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"><span style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"><span style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: gray;">,</span>[Photo]<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"><span style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"><span style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: gray;">,</span>[Subject]<span style="color: gray;">)<o:p></o:p></span></span></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"><span style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"><span style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: blue;">VALUES<o:p></o:p></span></span></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"><span style="font-family: 'Courier New'; color: blue; font-size: 10pt; mso-no-proof: yes;"><span style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="font-family: 'Courier New'; color: gray; font-size: 10pt; mso-no-proof: yes;">(&lt;</span><span style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;">PK<span style="color: gray;">,</span> <span style="color: blue;">numeric</span><span style="color: gray;">(</span>18<span style="color: gray;">,</span>0<span style="color: gray;">),&gt;<o:p></o:p></span></span></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"><span style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"><span style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: gray;">,&lt;</span><span style="color: blue;">Description</span><span style="color: gray;">,</span> <span style="color: blue;">text</span><span style="color: gray;">,&gt;<o:p></o:p></span></span></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"><span style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"><span style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: gray;">,&lt;</span>DateTaken<span style="color: gray;">,</span> <span style="color: blue;">date</span><span style="color: gray;">,&gt;<o:p></o:p></span></span></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"><span style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"><span style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="mso-spacerun: yes;">&nbsp;</span><span style="color: gray;">,&lt;</span>Photo<span style="color: gray;">,</span> <span style="color: blue;">image</span><span style="color: gray;">,&gt;<o:p></o:p></span></span></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"><span style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"><span style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: gray;">,&lt;</span><span style="color: blue;">Subject</span><span style="color: gray;">,</span> <span style="color: blue;">text</span><span style="color: gray;">,&gt;)<o:p></o:p></span></span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New'; color: blue; font-size: 10pt; mso-no-proof: yes;">GO<o:p></o:p></span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New'; color: blue; font-size: 10pt; mso-no-proof: yes;"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt;"><span style="font-family: Calibri; font-size: small;">The INSERT INTO clause if fine, we don&rsquo;t need to mess with that, but we will want to put our actual values into the VALUES clause, but there&rsquo;s a small gotcha here &ndash; the syntax is not correct, here&rsquo;s what I put in to make it actually work:</span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt;"><o:p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></o:p></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"><span style="font-family: 'Courier New'; color: blue; font-size: 10pt; mso-no-proof: yes;">VALUES<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"><span style="font-family: 'Courier New'; color: blue; font-size: 10pt; mso-no-proof: yes;"><span style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="font-family: 'Courier New'; color: gray; font-size: 10pt; mso-no-proof: yes;">(</span><span style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;">000001<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"><span style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"><span style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: gray;">,</span><span style="color: red;">'Challenger Pic'<o:p></o:p></span></span></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"><span style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"><span style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: gray;">,</span><span style="color: red;">'04/01/2009'<o:p></o:p></span></span></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"><span style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"><span style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: gray;">,</span><span style="color: red;">'c:\EdStuff\Pics\ChallyPic.jpg'<o:p></o:p></span></span></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"><span style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"><span style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: gray;">,</span><span style="color: red;">'Eds new car'</span><span style="color: gray;">)<o:p></o:p></span></span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New'; color: blue; font-size: 10pt; mso-no-proof: yes;">GO<o:p></o:p></span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New'; color: blue; font-size: 10pt; mso-no-proof: yes;"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt;"><span style="font-family: Calibri; font-size: small;">There are a few things to note here &ndash; first off, the angle brackets in the original stub are not needed, and we don&rsquo;t need to explicitly call out the Field names either, as they are called out in the INSERT INTO clause already.<span style="mso-spacerun: yes;">&nbsp; </span>The other thing that threw me for a loop was the fact that any single-quoted field in SSMS shows up by default in a red color, and that, coming from the Dev world, means &ldquo;error&rdquo; to me, but it works perfectly well.<span style="mso-spacerun: yes;">&nbsp; </span>Click Execute and it will tell you that it updated successfully. <span style="mso-spacerun: yes;">&nbsp;</span>Notice I used a path to an image file on my hard drive, the rest of the fields are pretty self explanatory.</span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt;"><o:p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></o:p></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt;"><span style="font-family: Calibri; font-size: small;">To confirm that you actually did get some data into the table, you will again want to right-click the table in SSMS, then select &ldquo;Script Table as&rdquo;, then &ldquo;SELECT to&rdquo; and finally &ldquo;New Query Editor Window&rdquo;.<span style="mso-spacerun: yes;">&nbsp; </span>This will again bring up a new query template:</span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt;"><o:p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></o:p></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"><span style="font-family: 'Courier New'; color: blue; font-size: 10pt; mso-no-proof: yes;">SELECT</span><span style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"> [PK]<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"><span style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"><span style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: gray;">,</span>[Description]<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"><span style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"><span style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: gray;">,</span>[DateTaken]<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"><span style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"><span style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: gray;">,</span>[Photo]<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"><span style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"><span style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: gray;">,</span>[Subject]<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"><span style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"><span style="mso-spacerun: yes;">&nbsp; </span><span style="color: blue;">FROM</span> [Pictures]<span style="color: gray;">.</span>[dbo]<span style="color: gray;">.</span>[Photos]<o:p></o:p></span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New'; color: blue; font-size: 10pt; mso-no-proof: yes;">GO<o:p></o:p></span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt;"><span style="font-family: 'Courier New'; color: blue; font-size: 10pt; mso-no-proof: yes;"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt;"><span style="font-family: Calibri; font-size: small;">This does not need modification, once you hit Execute on this query, it will show you the results in the Results tab below the Query Editor window.</span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt;"><o:p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></o:p></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt;"><span style="font-family: Calibri; font-size: small;">That&rsquo;s it for this week, for next week I plan on using a free download called WebMatrix to build my client for showing the data, I will report on my experiences with that tool then.</span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><o:p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></o:p></p>]]></content:encoded>
    </item>
  </channel>
</rss>