<feed 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="http://www.w3.org/2005/Atom" xml:lang="en-US">
    <title>Ask Paula!</title>
    <link rel="self" type="application/xml" href="http://geekswithblogs.net/AskPaula/Atom.aspx" />
    <subtitle type="html">...bringing you notes from the field...</subtitle>
    <id>http://geekswithblogs.net/AskPaula/Default.aspx</id>
    <author>
        <name>Paula DiTallo</name>
        <uri>http://geekswithblogs.net/AskPaula/Default.aspx</uri>
    </author>
    <generator uri="http://subtextproject.com" version="Subtext Version 0.0.0.0">Subtext</generator>
    <updated>2011-11-11T10:39:04Z</updated>
    <entry>
        <title>How do I fix the error: CS1548: Cryptographic failure while signing assembly ?</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/AskPaula/archive/2011/11/11/147659.aspx" />
        <id>http://geekswithblogs.net/AskPaula/archive/2011/11/11/147659.aspx</id>
        <published>2011-11-11T10:36:14-05:00:00</published>
        <updated>2011-11-11T10:39:04Z</updated>
        <content type="html">&lt;p&gt;The full error in Microsoft Visual Studio on a compile looks like this:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="color: #800000"&gt;&lt;em&gt;error CS1548&lt;/em&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style="color: #800000"&gt;&lt;em&gt;: Cryptographic failure while signing assembly 'C:\Program Files\Microsoft SQL Server\100\Samples\Analysis Services\Programmability\AMO\AMOAdventureWorks\CS\StoredProcedures\obj\Debug\StoredProcedures.dll' &lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;This is likely due to a missing strong key pair value file. The easiest way to solve this problem is to create a new one. Navigate to: &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Microsoft Visual Studio 2010&lt;/strong&gt;&amp;gt;&lt;strong&gt;Visual Studio Tools&lt;/strong&gt;&amp;gt;Visual Studio x64 Win64 Command Prompt (2010)  [if you aren't on an x64 box, pick another command prompt option that fits]&lt;/p&gt;
&lt;p&gt;Once the MS-Dos window displays, type in this statement:&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: larger"&gt;&lt;strong&gt;sn -k c:\SampleKey.snk&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Then copy the output *.snk file to project directory, or the &lt;strong&gt;*referenced directory&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Remove the old reference to the *.snk file from the project.&lt;/p&gt;
&lt;p&gt;Add the paired key back to the project as an existing item.&lt;/p&gt;
&lt;p&gt;When you add back the *.snk file to the project, you will see that the *.snk file is no longer missing.&lt;br /&gt;
 &lt;/p&gt;
&lt;p&gt;Our work is done!  &lt;img alt="" src="http://geekswithblogs.net/Providers/BlogEntryEditor/FCKeditor/editor/images/smiley/msn/shades_smile.gif" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;*referenced directory&lt;/strong&gt;: Pay attention to the original error message on compile. The *.snk file that is referenced may be in a directory path you aren't expecting--so you will still get the error unless you change the directory path or write the file to the directory the program is expecting to find the *.snk file.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;img src="http://geekswithblogs.net/AskPaula/aggbug/147659.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/AskPaula/comments/147659.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/AskPaula/comments/commentRss/147659.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/AskPaula/services/trackbacks/147659.aspx</trackback:ping>
    </entry>
    <entry>
        <title>How do I run (execute) a .bin file in Linux (Ubuntu) ?</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/AskPaula/archive/2011/11/10/147653.aspx" />
        <id>http://geekswithblogs.net/AskPaula/archive/2011/11/10/147653.aspx</id>
        <published>2011-11-10T20:31:10-05:00:00</published>
        <updated>2011-11-10T20:31:10Z</updated>
        <content type="html">&lt;p&gt;If you are on a desktop version of Ubuntu, you can right-click on the file icon, click the permissions tab and click on "allow execution". If you are on a server copy without the desktop bells and whistles (or you would rather work with a command line in a terminal window), then do the following:&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: larger"&gt;&lt;strong&gt;sudo chmod +x myProgram.bin&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;after you enter your password and get the prompt back type:&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: larger"&gt;&lt;strong&gt;./myProgram.bin&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;img src="http://geekswithblogs.net/AskPaula/aggbug/147653.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/AskPaula/comments/147653.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/AskPaula/comments/commentRss/147653.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/AskPaula/services/trackbacks/147653.aspx</trackback:ping>
    </entry>
    <entry>
        <title>How do I remove a named instance of sql server 2008 on the same mssql server?</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/AskPaula/archive/2011/11/03/147533.aspx" />
        <id>http://geekswithblogs.net/AskPaula/archive/2011/11/03/147533.aspx</id>
        <published>2011-11-03T02:28:31-04:00:00</published>
        <updated>2011-11-03T02:43:03Z</updated>
        <content type="html">&lt;p&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
&lt;o:OfficeDocumentSettings&gt;
&lt;o:AllowPNG /&gt;
&lt;/o:OfficeDocumentSettings&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
&lt;w:WordDocument&gt;
&lt;w:View&gt;Normal&lt;/w:View&gt;
&lt;w:Zoom&gt;0&lt;/w:Zoom&gt;
&lt;w:TrackMoves /&gt;
&lt;w:TrackFormatting /&gt;
&lt;w:PunctuationKerning /&gt;
&lt;w:ValidateAgainstSchemas /&gt;
&lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
&lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
&lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
&lt;w:DoNotPromoteQF /&gt;
&lt;w:LidThemeOther&gt;EN-US&lt;/w:LidThemeOther&gt;
&lt;w:LidThemeAsian&gt;X-NONE&lt;/w:LidThemeAsian&gt;
&lt;w:LidThemeComplexScript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;
&lt;w:Compatibility&gt;
&lt;w:BreakWrappedTables /&gt;
&lt;w:SnapToGridInCell /&gt;
&lt;w:WrapTextWithPunct /&gt;
&lt;w:UseAsianBreakRules /&gt;
&lt;w:DontGrowAutofit /&gt;
&lt;w:SplitPgBreakAndParaMark /&gt;
&lt;w:EnableOpenTypeKerning /&gt;
&lt;w:DontFlipMirrorIndents /&gt;
&lt;w:OverrideTableStyleHps /&gt;
&lt;/w:Compatibility&gt;
&lt;m:mathPr&gt;
&lt;m:mathFont m:val="Cambria Math" /&gt;
&lt;m:brkBin m:val="before" /&gt;
&lt;m:brkBinSub m:val="&amp;#45;-" /&gt;
&lt;m:smallFrac m:val="off" /&gt;
&lt;m:dispDef /&gt;
&lt;m:lMargin m:val="0" /&gt;
&lt;m:rMargin m:val="0" /&gt;
&lt;m:defJc m:val="centerGroup" /&gt;
&lt;m:wrapIndent m:val="1440" /&gt;
&lt;m:intLim m:val="subSup" /&gt;
&lt;m:naryLim m:val="undOvr" /&gt;
&lt;/m:mathPr&gt;&lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
&lt;w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
DefSemiHidden="true" DefQFormat="false" DefPriority="99"
LatentStyleCount="267"&gt;
&lt;w:LsdException Locked="false" Priority="0" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Normal" /&gt;
&lt;w:LsdException Locked="false" Priority="9" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="heading 1" /&gt;
&lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2" /&gt;
&lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3" /&gt;
&lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4" /&gt;
&lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5" /&gt;
&lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6" /&gt;
&lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7" /&gt;
&lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8" /&gt;
&lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9" /&gt;
&lt;w:LsdException Locked="false" Priority="39" Name="toc 1" /&gt;
&lt;w:LsdException Locked="false" Priority="39" Name="toc 2" /&gt;
&lt;w:LsdException Locked="false" Priority="39" Name="toc 3" /&gt;
&lt;w:LsdException Locked="false" Priority="39" Name="toc 4" /&gt;
&lt;w:LsdException Locked="false" Priority="39" Name="toc 5" /&gt;
&lt;w:LsdException Locked="false" Priority="39" Name="toc 6" /&gt;
&lt;w:LsdException Locked="false" Priority="39" Name="toc 7" /&gt;
&lt;w:LsdException Locked="false" Priority="39" Name="toc 8" /&gt;
&lt;w:LsdException Locked="false" Priority="39" Name="toc 9" /&gt;
&lt;w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption" /&gt;
&lt;w:LsdException Locked="false" Priority="10" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Title" /&gt;
&lt;w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font" /&gt;
&lt;w:LsdException Locked="false" Priority="11" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtitle" /&gt;
&lt;w:LsdException Locked="false" Priority="22" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Strong" /&gt;
&lt;w:LsdException Locked="false" Priority="20" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Emphasis" /&gt;
&lt;w:LsdException Locked="false" Priority="59" SemiHidden="false"
UnhideWhenUsed="false" Name="Table Grid" /&gt;
&lt;w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text" /&gt;
&lt;w:LsdException Locked="false" Priority="1" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="No Spacing" /&gt;
&lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading" /&gt;
&lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List" /&gt;
&lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid" /&gt;
&lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1" /&gt;
&lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2" /&gt;
&lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1" /&gt;
&lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2" /&gt;
&lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1" /&gt;
&lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2" /&gt;
&lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3" /&gt;
&lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List" /&gt;
&lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading" /&gt;
&lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List" /&gt;
&lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid" /&gt;
&lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 1" /&gt;
&lt;w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision" /&gt;
&lt;w:LsdException Locked="false" Priority="34" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="List Paragraph" /&gt;
&lt;w:LsdException Locked="false" Priority="29" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Quote" /&gt;
&lt;w:LsdException Locked="false" Priority="30" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Quote" /&gt;
&lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="19" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis" /&gt;
&lt;w:LsdException Locked="false" Priority="21" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis" /&gt;
&lt;w:LsdException Locked="false" Priority="31" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference" /&gt;
&lt;w:LsdException Locked="false" Priority="32" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Reference" /&gt;
&lt;w:LsdException Locked="false" Priority="33" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Book Title" /&gt;
&lt;w:LsdException Locked="false" Priority="37" Name="Bibliography" /&gt;
&lt;w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading" /&gt;
&lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin-top:0in;
mso-para-margin-right:0in;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0in;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
&lt;/style&gt;
&lt;![endif]--&gt;&lt;/p&gt;
&lt;p style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;&amp;#xD;&amp;#xA;line-height:normal" class="MsoNormal"&gt;&lt;span style="mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;&amp;#xD;&amp;#xA;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin"&gt;I recently needed to work with SSIS on my laptop with an existing SQL Server 2008 Express instance. I did not setup the service accounts correctly on the SQL Server 2008 Development install--so needed to remove the corrupt install. &lt;/span&gt;&lt;/p&gt;
&lt;p style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;&amp;#xD;&amp;#xA;line-height:normal" class="MsoNormal"&gt;&lt;span style="mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;&amp;#xD;&amp;#xA;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin"&gt;There doesn't appear to be much documentation on this—well, if there is, then I didn't key in the best search criteria! Anyway, the removal of a named 2008 instance is an easy set of steps, although nervous-making--since you'll be uninstalling Microsoft SQL Server 2008 without any initial guidance.&lt;/span&gt;&lt;/p&gt;
&lt;p style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;&amp;#xD;&amp;#xA;line-height:normal" class="MsoNormal"&gt;&lt;span style="mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;&amp;#xD;&amp;#xA;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin"&gt;Here are the steps you will need to take:&lt;/span&gt;&lt;/p&gt;
&lt;p style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;&amp;#xD;&amp;#xA;line-height:normal" class="MsoNormal"&gt;&lt;i style="mso-bidi-font-style:normal"&gt;&lt;span style="mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:Calibri;&amp;#xD;&amp;#xA;mso-bidi-theme-font:minor-latin;color:#E46C0A;mso-themecolor:accent6;&amp;#xD;&amp;#xA;mso-themeshade:191;mso-style-textfill-fill-color:#E46C0A;mso-style-textfill-fill-themecolor:&amp;#xD;&amp;#xA;accent6;mso-style-textfill-fill-alpha:100.0%;mso-style-textfill-fill-colortransforms:&amp;#xD;&amp;#xA;lumm=75000"&gt;1. Navigate to Control Panel-&amp;gt;Add/Remove Programs&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;
&lt;p style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;&amp;#xD;&amp;#xA;line-height:normal" class="MsoNormal"&gt;&lt;i style="mso-bidi-font-style:normal"&gt;&lt;span style="mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:Calibri;&amp;#xD;&amp;#xA;mso-bidi-theme-font:minor-latin;color:#E46C0A;mso-themecolor:accent6;&amp;#xD;&amp;#xA;mso-themeshade:191;mso-style-textfill-fill-color:#E46C0A;mso-style-textfill-fill-themecolor:&amp;#xD;&amp;#xA;accent6;mso-style-textfill-fill-alpha:100.0%;mso-style-textfill-fill-colortransforms:&amp;#xD;&amp;#xA;lumm=75000"&gt;2. Select Microsoft SQL Server 2008&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;
&lt;p style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;&amp;#xD;&amp;#xA;line-height:normal" class="MsoNormal"&gt;&lt;i style="mso-bidi-font-style:normal"&gt;&lt;span style="mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:Calibri;&amp;#xD;&amp;#xA;mso-bidi-theme-font:minor-latin;color:#E46C0A;mso-themecolor:accent6;&amp;#xD;&amp;#xA;mso-themeshade:191;mso-style-textfill-fill-color:#E46C0A;mso-style-textfill-fill-themecolor:&amp;#xD;&amp;#xA;accent6;mso-style-textfill-fill-alpha:100.0%;mso-style-textfill-fill-colortransforms:&amp;#xD;&amp;#xA;lumm=75000"&gt;3. Select Change/Remove&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;
&lt;p style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;&amp;#xD;&amp;#xA;line-height:normal" class="MsoNormal"&gt;&lt;i style="mso-bidi-font-style:normal"&gt;&lt;span style="mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:Calibri;&amp;#xD;&amp;#xA;mso-bidi-theme-font:minor-latin;color:#E46C0A;mso-themecolor:accent6;&amp;#xD;&amp;#xA;mso-themeshade:191;mso-style-textfill-fill-color:#E46C0A;mso-style-textfill-fill-themecolor:&amp;#xD;&amp;#xA;accent6;mso-style-textfill-fill-alpha:100.0%;mso-style-textfill-fill-colortransforms:&amp;#xD;&amp;#xA;lumm=75000"&gt;4. Select Remove &lt;/span&gt;&lt;/i&gt;&lt;/p&gt;
&lt;p style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;&amp;#xD;&amp;#xA;line-height:normal" class="MsoNormal"&gt;&lt;span style="mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;&amp;#xD;&amp;#xA;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin"&gt;You will be asked for a specific instance. This is where you type in the name of the instance you want to remove. &lt;b style="mso-bidi-font-weight:normal"&gt;DON'T&lt;/b&gt; get click happy on what to de-install. Click &lt;b style="mso-bidi-font-weight:normal"&gt;ONLY&lt;/b&gt; on the items that specify your named instance. &lt;/span&gt;&lt;span style="font-size:&amp;#xD;&amp;#xA;14.0pt;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:Calibri;&amp;#xD;&amp;#xA;mso-bidi-theme-font:minor-latin"&gt;LEAVE all the SHARED features&lt;/span&gt;&lt;span style="mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:Calibri;&amp;#xD;&amp;#xA;mso-bidi-theme-font:minor-latin"&gt;. If you delete them, you'll corrupt your other installations on that server.&lt;/span&gt;&lt;/p&gt;&lt;img src="http://geekswithblogs.net/AskPaula/aggbug/147533.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/AskPaula/comments/147533.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/AskPaula/comments/commentRss/147533.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/AskPaula/services/trackbacks/147533.aspx</trackback:ping>
    </entry>
    <entry>
        <title>How do I create and access another sql server db using linked server in SQL Server?</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/AskPaula/archive/2011/10/31/147504.aspx" />
        <id>http://geekswithblogs.net/AskPaula/archive/2011/10/31/147504.aspx</id>
        <published>2011-10-31T14:42:08-04:00:00</published>
        <updated>2011-10-31T14:50:26Z</updated>
        <content type="html">&lt;p&gt;For a full explanation and step-by-step guide to setup a linked server through Sql Management Studio (SMS), check out this reference:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.databasejournal.com/features/mssql/article.php/3691721/Setting-up-a-Linked-Server-for-a-Remote-SQL-Server-Instance.htm"&gt;http://www.databasejournal.com/features/mssql/article.php/3691721/Setting-up-a-Linked-Server-for-a-Remote-SQL-Server-Instance.htm&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Here it is in a nutshell:  If you are setting up a linked server for another sql server 2005/2008 box, just remember to (1) name the Linked server the same name as its network name, (2) select and provide under the security option ,"&lt;strong&gt;Be made using this security context&lt;/strong&gt;" , the remote login/password combo (usually a service account living in active directory) and (3) set the server options rpc,rpdc out,data access, remote collation to &lt;strong&gt;True&lt;/strong&gt;. That's it! &lt;img src="http://geekswithblogs.net/Providers/BlogEntryEditor/FCKeditor/editor/images/smiley/msn/wink_smile.gif" alt="" /&gt;  No need to worry about provider, connection strings,etc.&lt;/p&gt;
&lt;p&gt;Here's an example on how to retrieve data from a table using the linked server reference once it is established from an interactive query window in SMS:&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;&lt;em&gt;&lt;strong&gt;select * from [MYSQLSERVERHOSTNAME].[DBInstanceName].[SchemaName].[TableName]&lt;/strong&gt;&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;img src="http://geekswithblogs.net/AskPaula/aggbug/147504.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/AskPaula/comments/147504.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/AskPaula/comments/commentRss/147504.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/AskPaula/services/trackbacks/147504.aspx</trackback:ping>
    </entry>
    <entry>
        <title>How do I know what version of Ubuntu I am running?</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/AskPaula/archive/2011/10/26/147467.aspx" />
        <id>http://geekswithblogs.net/AskPaula/archive/2011/10/26/147467.aspx</id>
        <published>2011-10-26T16:47:12-04:00:00</published>
        <updated>2011-10-26T16:47:12Z</updated>
        <content type="html">&lt;p&gt;From the terminal type:&lt;/p&gt;
&lt;pre class="bash geshifilter-bash" jquery1319661737035="7" style="font-family: monospace"&gt;&lt;span style="font-size: larger"&gt;&lt;strong&gt;&lt;span style="color: #993300"&gt;lsb_release &lt;span jquery1319661737035="8"&gt;-a&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/pre&gt;&lt;img src="http://geekswithblogs.net/AskPaula/aggbug/147467.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/AskPaula/comments/147467.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/AskPaula/comments/commentRss/147467.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/AskPaula/services/trackbacks/147467.aspx</trackback:ping>
    </entry>
    <entry>
        <title>How do I get a listing of all DB instances and table names where a column name occurs in MS SQL Server?</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/AskPaula/archive/2011/10/26/147464.aspx" />
        <id>http://geekswithblogs.net/AskPaula/archive/2011/10/26/147464.aspx</id>
        <published>2011-10-26T15:46:25-04:00:00</published>
        <updated>2011-10-26T15:47:58Z</updated>
        <content type="html">&lt;p&gt;I've been there! You are at a client site and you know you need certain data elements but aren't certain how many databases on a given server ...or ... which tables the data elements you are interested in might appear.&lt;/p&gt;
&lt;p&gt;Here's a single statement when executed from any SMS query connection that will get you there:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span style="color: #800000"&gt;EXEC sp_msforeachdb '&lt;br /&gt;
DECLARE @pattern nvarchar(100)&lt;br /&gt;
SET @pattern = ''%elementName%''&lt;br /&gt;
IF EXISTS(SELECT 1 FROM [?].information_schema.columns WHERE column_name LIKE @pattern)&lt;br /&gt;
BEGIN&lt;br /&gt;
    SELECT ''?''&lt;br /&gt;
    SELECT table_catalog,table_name, column_name&lt;br /&gt;
    FROM [?].information_schema.columns &lt;br /&gt;
    WHERE column_name LIKE @pattern&lt;br /&gt;
END ' &lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;img src="http://geekswithblogs.net/AskPaula/aggbug/147464.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/AskPaula/comments/147464.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/AskPaula/comments/commentRss/147464.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/AskPaula/services/trackbacks/147464.aspx</trackback:ping>
    </entry>
    <entry>
        <title>How do I get access to DB2 from my .NET applications?</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/AskPaula/archive/2011/09/13/146857.aspx" />
        <id>http://geekswithblogs.net/AskPaula/archive/2011/09/13/146857.aspx</id>
        <published>2011-09-13T14:08:05-04:00:00</published>
        <updated>2011-09-13T14:08:05Z</updated>
        <content type="html">&lt;p&gt; &lt;/p&gt;
&lt;p&gt;You have at least 2 choices:&lt;/p&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;Source 1: SQL Server 2008 Feature Pack&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;a href="http://www.microsoft.com/download/en/details.aspx?id=3522"&gt;http://www.microsoft.com/download/en/details.aspx?id=3522&lt;/a&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt; &lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;... this includes Microsoft OLEDB Provider for DB2&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt; &lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;Source 2: Available from IBM, is the IBM I Access pack&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;a href="http://www-03.ibm.com/systems/i/software/access/cafaq.html"&gt;http://www-03.ibm.com/systems/i/software/access/cafaq.html&lt;/a&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt; &lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;Remember, whichever one you use, you will need to specifiy which libraries under the detail/advance settings in ODBC.&lt;/div&gt;&lt;img src="http://geekswithblogs.net/AskPaula/aggbug/146857.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/AskPaula/comments/146857.aspx</wfw:comment>
        <slash:comments>2</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/AskPaula/comments/commentRss/146857.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/AskPaula/services/trackbacks/146857.aspx</trackback:ping>
    </entry>
    <entry>
        <title>Why Won't the Relationship Lines in Visio 2010 Connect to Anything?</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/AskPaula/archive/2011/09/13/146853.aspx" />
        <id>http://geekswithblogs.net/AskPaula/archive/2011/09/13/146853.aspx</id>
        <published>2011-09-13T13:14:33-04:00:00</published>
        <updated>2011-09-13T13:14:33Z</updated>
        <content type="html">&lt;p&gt;That is a very good question..to which only Microsoft has the answer!:-) In the meantime, suffice it to say that every once in awhile, Visio loses track of your &lt;strong&gt;Glue/SnapTo&lt;/strong&gt; settings which you'll need to restore. Here's what to do:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;1. In Visio, navigate to "Home", open "View", expand "Visual Aids"&lt;br /&gt;
2. Once in "Visual Aids", Check or Re-Check the "Glue"box. &lt;br /&gt;
3. Under the "Snap To" category, be sure shape intersections, shape handles, shape vertices, &lt;br /&gt;
   and connection points are all &lt;strong&gt;checked&lt;/strong&gt;. &lt;br /&gt;
4. Under the "Glue To" category, make sure the shape handles, shape vertices, &lt;br /&gt;
   and connection points are all &lt;strong&gt;checked&lt;/strong&gt;.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;That's it!    &lt;img alt="" src="http://geekswithblogs.net/Providers/BlogEntryEditor/FCKeditor/editor/images/smiley/msn/thumbs_up.gif" /&gt;&lt;/p&gt;&lt;img src="http://geekswithblogs.net/AskPaula/aggbug/146853.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/AskPaula/comments/146853.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/AskPaula/comments/commentRss/146853.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/AskPaula/services/trackbacks/146853.aspx</trackback:ping>
    </entry>
    <entry>
        <title>SQL Server: UPDATE Statement Basics</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/AskPaula/archive/2011/08/29/146697.aspx" />
        <id>http://geekswithblogs.net/AskPaula/archive/2011/08/29/146697.aspx</id>
        <published>2011-08-29T15:30:19-04:00:00</published>
        <updated>2011-08-29T15:30:19Z</updated>
        <content type="html">&lt;p&gt;The last thing anyone wants to do is mess up an UPDATE statement! Here's a quick refresher for those of you using SQL Server:&lt;/p&gt;
&lt;p&gt;Simplest case (a single row, in a single table with a single known value in a column):&lt;/p&gt;
&lt;p&gt;&lt;em&gt;UPDATE YourTableName&lt;br /&gt;
SET Column1 = ‘NewValue’&lt;br /&gt;
WHERE SameOrOtherColumn = ‘OldValue’&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Most common case (multiple rows, using another table as the source data with multiple columns):&lt;/p&gt;
&lt;p&gt;&lt;em&gt;UPDATE YourTableName&lt;br /&gt;
SET ColumnX = OtherTable.Column1,&lt;br /&gt;
         ColumnY = OtherTable.Column2&lt;br /&gt;
FROM OtherTable&lt;br /&gt;
WHERE YourTableName.Column1 = OtherTable.Column1&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Advanced case (multiple rows, multiple tables reliant on a subquery)&lt;/p&gt;
&lt;p&gt;&lt;em&gt;  UPDATE Target_Table &lt;br /&gt;
   SET col2 = z.colB, &lt;br /&gt;
       col3 = z.colC,&lt;br /&gt;
       col4 = z.colD,&lt;br /&gt;
       col5 = z.colE&lt;br /&gt;
     FROM &lt;br /&gt;
       (select x.col_a,&lt;br /&gt;
               x.col_b,&lt;br /&gt;
               y.col_b,&lt;br /&gt;
               y.col_b&lt;br /&gt;
            from tbl_1 x, tbl_2 y&lt;br /&gt;
           where x.col_c = y.col_c&lt;br /&gt;
        ) z&lt;br /&gt;
     WHERE Target_Table.col1 = z..colA&lt;br /&gt;
&lt;/em&gt;  &lt;/p&gt;
&lt;p&gt;Think relational algebra for this implementation--basically, what you are doing in the subselect is gathering the data you need from the necessary tables, then redefining the results as 'z'. Once you've done that, you are assigning the target columns the values retrieved back from your subquery.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;img src="http://geekswithblogs.net/AskPaula/aggbug/146697.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/AskPaula/comments/146697.aspx</wfw:comment>
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/AskPaula/comments/commentRss/146697.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/AskPaula/services/trackbacks/146697.aspx</trackback:ping>
    </entry>
    <entry>
        <title>SQL Server: How Can I search for a specific text value in all the stored procedures?</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/AskPaula/archive/2011/08/29/146696.aspx" />
        <id>http://geekswithblogs.net/AskPaula/archive/2011/08/29/146696.aspx</id>
        <published>2011-08-29T15:01:45-04:00:00</published>
        <updated>2011-08-29T15:04:11Z</updated>
        <content type="html">&lt;p&gt;To quickly look through your stored procedure objects for a text value in a database instance, do the following:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;use [Metro]&lt;br /&gt;
go&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
&lt;em&gt;SELECT ROUTINE_NAME&lt;br /&gt;
  FROM INFORMATION_SCHEMA.ROUTINES &lt;br /&gt;
   WHERE ROUTINE_DEFINITION LIKE '%whatyouarelookingfor%' &lt;br /&gt;
     AND ROUTINE_TYPE = 'PROCEDURE' &lt;br /&gt;
&lt;/em&gt; &lt;/p&gt;
&lt;p&gt;Now, this is no replacement for a configuration management repository, but it will do in a pinch. BTW, remember this sql statement does NOT transcend all databases on the server, just a single db instance.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;img src="http://geekswithblogs.net/AskPaula/aggbug/146696.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/AskPaula/comments/146696.aspx</wfw:comment>
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/AskPaula/comments/commentRss/146696.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/AskPaula/services/trackbacks/146696.aspx</trackback:ping>
    </entry>
    <entry>
        <title>How do I restore a SQL Server database from a backup *.bak file?</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/AskPaula/archive/2011/07/11/146167.aspx" />
        <id>http://geekswithblogs.net/AskPaula/archive/2011/07/11/146167.aspx</id>
        <published>2011-07-11T19:34:01-04:00:00</published>
        <updated>2011-07-12T16:36:29Z</updated>
        <content type="html">&lt;p&gt;If you aren't sure what is actually in the backup file, or even if you think you are sure--execute this statement from a fresh query window:&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(255, 0, 255);"&gt;&lt;strong&gt;RESTORE FILELISTONLY&lt;br /&gt;
FROM DISK = 'X:\MDD\Clients\Lg\H4\H4L.bak'&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; The information about the mdf/ldf files will show up looking like this:&lt;/p&gt;
&lt;p&gt; &lt;img height="337" border="1" width="684" src="/images/geekswithblogs_net/AskPaula/12884/o_RestoreFromBakFile.JPG" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;In this example, I was restoring a client's database to one of my servers--so I had to 'MOVE' the location paths to represent the drives I had available. If I were restoring to the same location, I would NOT have needed the 'MOVE' condition.&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(255, 0, 255);"&gt;&lt;strong&gt;RESTORE DATABASE HumRes4&lt;br /&gt;
FROM DISK = 'X:\MDD\Clients\Lg\H4\H4.bak'&lt;br /&gt;
WITH REPLACE, MOVE 'Final_LM_Data' TO 'F:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\HumRes4.MDF',&lt;br /&gt;
MOVE 'Final_LM_Log' TO 'G:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\HumRes4_Log.LDF'&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;img src="http://geekswithblogs.net/AskPaula/aggbug/146167.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/AskPaula/comments/146167.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/AskPaula/comments/commentRss/146167.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/AskPaula/services/trackbacks/146167.aspx</trackback:ping>
    </entry>
    <entry>
        <title>Why does Eclipse say Another Transaction is Already in Progress when I Deploy my Google Application?</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/AskPaula/archive/2011/07/02/146058.aspx" />
        <id>http://geekswithblogs.net/AskPaula/archive/2011/07/02/146058.aspx</id>
        <published>2011-07-02T21:32:21-04:00:00</published>
        <updated>2011-07-02T21:55:23Z</updated>
        <content type="html">&lt;p&gt;The message may also say something line:&lt;/p&gt;
&lt;p&gt;Unable to update app: Error posting to URL: &lt;a href="https://appengine.google.com/api/appversion/create?app_id=metro-stockwatch&amp;amp;version=1"&gt;https://appengine.google.com/api/appversion/create?app_id=metro-stockwatch&amp;amp;version=1&lt;/a&gt;&amp;amp;&lt;br /&gt;
409 Conflict&lt;/p&gt;
&lt;p&gt;Another transaction by user Your.Name is already in progress for app: your-appName, version: x. That user can undo the transaction with "appcfg rollback".&lt;/p&gt;
&lt;p&gt;Basically this means that in the midst of your previous deployment of the application, the process was interrupted. The Google SDK interprets this as a deployment that must be rolled back. There is no resolution to this without locating where your&lt;strong&gt; \bin&lt;/strong&gt; directory containing the &lt;strong&gt;appcfg.sh&lt;/strong&gt; or &lt;strong&gt;appcfg.cmd&lt;/strong&gt; file exists in order to rollback the corrupt deployment.&lt;/p&gt;
&lt;p&gt;Since I am working on a windows box when this happened to me, here is where I found the &lt;strong&gt;appcfg.cmd&lt;/strong&gt; file:&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #993300"&gt;&lt;strong&gt;&lt;em&gt;C:\Program Files\Eclipse\eclipse\plugins\com.google.appengine.eclipse.sdkbundle.1.3.8_1.3.8.v201010161055\appengine-java-sdk-1.3.8\bin\&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #993300"&gt;&lt;font color="#000000"&gt;Look for your application--more specfically, look for a directory called &lt;strong&gt;WEB-INF&lt;/strong&gt;. In my app, WEB-INF resides under the \war directory. Here it is as an example:&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span style="color: #993300"&gt;&lt;strong&gt;C:\Documents and Settings\Administrator\workspace\StockWatcher\war&lt;/strong&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #993300"&gt;&lt;font color="#000000"&gt;Open up a windows command window or execute cmd from Run (&lt;strong&gt;Start&amp;gt;All Programs&lt;/strong&gt;; &lt;em&gt;Run&lt;/em&gt;; type:&lt;em&gt; cmd&lt;/em&gt;).  Execute the command:  &lt;span style="font-size: small"&gt;&lt;span style="color: #993300"&gt;&lt;strong&gt;appcfg rollback your-appName&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium"&gt;&lt;span style="color: #993300"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;by wrapping the location of where the appcfg.cmd file exists, and wrapping the location of root of where you found the WEB-INF directory. This should correct your  previously corrupt deployment. See the screenshot below as an example of the command line and of the expected message displays. BTW, if you don't work with dos windows much, remember to include the quotation marks "" as you see them. Windows needs the quote to deal with "Documents and Settings" and "Program Files". If you forget the quotation marks, you may see an error message that indicates a file or directory is not found.&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;img alt="Eclipse Google App SDK deployment" width="1200" height="1377" src="/images/geekswithblogs_net/AskPaula/appcfgRollBackcommandline.JPG" /&gt; &lt;/p&gt;&lt;img src="http://geekswithblogs.net/AskPaula/aggbug/146058.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/AskPaula/comments/146058.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/AskPaula/comments/commentRss/146058.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/AskPaula/services/trackbacks/146058.aspx</trackback:ping>
    </entry>
    <entry>
        <title>Why does my browser take me to Scour.com? (redirect virus)</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/AskPaula/archive/2011/06/29/146023.aspx" />
        <id>http://geekswithblogs.net/AskPaula/archive/2011/06/29/146023.aspx</id>
        <published>2011-06-29T19:58:10-04:00:00</published>
        <updated>2011-06-29T20:06:00Z</updated>
        <content type="html">&lt;p&gt;The "scour" or Rootkit.Win32.TDSS virus has a long history which can be found here: &lt;a href="http://en.wikipedia.org/wiki/Scour"&gt;http://en.wikipedia.org/wiki/Scour &lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Here is the primary symptom&lt;/strong&gt;: &lt;em&gt;after searching for something in your web browser using google, one of the results that you click on redirects you to scour.com.&lt;/em&gt; &lt;img alt="" src="http://geekswithblogs.net/Providers/BlogEntryEditor/FCKeditor/editor/images/smiley/msn/angry_smile.gif" /&gt;&lt;/p&gt;
&lt;p&gt;If you've executed &lt;strong&gt;ClamWin&lt;/strong&gt;, &lt;strong&gt;Malwarebytes&lt;/strong&gt;, &lt;strong&gt;McAfee&lt;/strong&gt;, &lt;strong&gt;Norton&lt;/strong&gt;, etc. to find and isolate the virus without any luck--this isn't really a surprise, since this virus attaches to existing system drivers.&lt;img alt="" src="http://geekswithblogs.net/Providers/BlogEntryEditor/FCKeditor/editor/images/smiley/msn/confused_smile.gif" /&gt;&lt;/p&gt;
&lt;p&gt;I only know of one reliable package that will remove this without ill effects--like adding new spyware. This package is called &lt;strong&gt;TDSSKiller&lt;/strong&gt;. I have seen multiple websites that claim to have this software available, but the one that I know is reliable is located here:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://support.kaspersky.com/viruses/solutions?qid=208280684" target="_blank"&gt;http://support.kaspersky.c&lt;wbr&gt;&lt;/wbr&gt;om/viruses&lt;wbr&gt;&lt;/wbr&gt;/solutions&lt;wbr&gt;&lt;/wbr&gt;?qid=20828&lt;wbr&gt;&lt;/wbr&gt;0684&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Once you go to Kaspersky's tech support site, the TDSSKiller zip file is available for downloading. &lt;img alt="" src="http://geekswithblogs.net/Providers/BlogEntryEditor/FCKeditor/editor/images/smiley/msn/heart.gif" /&gt;&lt;/p&gt;
&lt;p&gt;When you execute this software, you will be able to "cure" or repair the infected driver. Remember to jot down the name of the driver for future reference--should you need to reinstall the driver from a "same-as" working computer, or your install disk if the repair is ineffective. The driver that happened to get infected on my computer was the &lt;strong&gt;tcpip.sys&lt;/strong&gt; driver. This caused my win sockets to loose their ip addresses. In most other instances, less critical drivers such as &lt;strong&gt;HDAudBus.sys &lt;/strong&gt;are infected. In my case, I was not through correcting my computer problems until I corrected the broken &lt;strong&gt;WinSock&lt;/strong&gt; issue and loaded an earlier version of the tcpip.sys driver from: &lt;strong&gt;C:\WINDOWS\ServicePackFiles\i386&lt;/strong&gt; which I placed in: &lt;strong&gt;C:\WINDOWS\system32\drivers&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: larger;"&gt;&lt;span style="color: rgb(153, 51, 0);"&gt;&lt;strong&gt;Don't forget to reboot your computer after your repair!&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Once you download TDSSKiller and cure/repair your infected driver(s), the redirect on google searches should disappear . &lt;img alt="" src="http://geekswithblogs.net/Providers/BlogEntryEditor/FCKeditor/editor/images/smiley/msn/shades_smile.gif" /&gt;&lt;/p&gt;&lt;img src="http://geekswithblogs.net/AskPaula/aggbug/146023.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/AskPaula/comments/146023.aspx</wfw:comment>
        <slash:comments>3</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/AskPaula/comments/commentRss/146023.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/AskPaula/services/trackbacks/146023.aspx</trackback:ping>
    </entry>
    <entry>
        <title>What happened to my Entity Framework (edmx) File?</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/AskPaula/archive/2011/06/14/145860.aspx" />
        <id>http://geekswithblogs.net/AskPaula/archive/2011/06/14/145860.aspx</id>
        <published>2011-06-14T18:33:24-04:00:00</published>
        <updated>2011-06-14T18:39:35Z</updated>
        <content type="html">&lt;p&gt;&lt;span style="font-size: large;"&gt;If you're like me, you've probably clicked/clacked, docked/undocked the window with the &lt;span style="color: rgb(128, 128, 0);"&gt;&lt;strong&gt;edmx&lt;/strong&gt;&lt;/span&gt; file while you were working on it in visual studio without intending to--and now, the entity diagram is gone and you are unable to open the file again from the solution window! &lt;/span&gt;&lt;img src="http://geekswithblogs.net/Providers/BlogEntryEditor/FCKeditor/editor/images/smiley/msn/cry_smile.gif" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: large;"&gt;Luckily, the &lt;span style="color: rgb(128, 128, 0);"&gt;&lt;strong&gt;edmx&lt;/strong&gt;&lt;/span&gt; file is just another visually displayed xml file. From the solution window, &lt;strong&gt;right click&lt;/strong&gt; on the &lt;span style="color: rgb(128, 128, 0);"&gt;&lt;strong&gt;edmx&lt;/strong&gt;&lt;/span&gt; file  -- select &lt;strong&gt;"Open with..." &lt;/strong&gt; -- choose &lt;strong&gt;Xml&lt;/strong&gt; . Once you see the xml for the &lt;span style="color: rgb(128, 128, 0);"&gt;&lt;strong&gt;edmx&lt;/strong&gt;&lt;/span&gt; file close it. Go back to the solution window, then &lt;strong&gt;double click&lt;/strong&gt; on the &lt;span style="color: rgb(128, 128, 0);"&gt;edmx&lt;/span&gt; file. It should now come up presenting the default ER diagram. &lt;img src="http://geekswithblogs.net/Providers/BlogEntryEditor/FCKeditor/editor/images/smiley/msn/thumbs_up.gif" alt="" /&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;img src="http://geekswithblogs.net/AskPaula/aggbug/145860.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/AskPaula/comments/145860.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/AskPaula/comments/commentRss/145860.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/AskPaula/services/trackbacks/145860.aspx</trackback:ping>
    </entry>
    <entry>
        <title>Why do I get the error: Specified Named Connection is either not found in the configuration for the EntityClient Provider?</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/AskPaula/archive/2011/06/14/145859.aspx" />
        <id>http://geekswithblogs.net/AskPaula/archive/2011/06/14/145859.aspx</id>
        <published>2011-06-14T16:22:39-04:00:00</published>
        <updated>2011-06-14T18:22:17Z</updated>
        <content type="html">&lt;p&gt;&lt;span style="font-size: larger;"&gt;The chances are pretty high that you are creating a multi-tiered application with a solution that may be calling several different projects, one of which is the ADO.NET Entity Framework DAO-layer. In order for the entity frame work to work outside the immediate project that its been created under, you'll have to import the connection string built by the EF wizard at create time to your other project's application or web config file.&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="color: rgb(51, 153, 102);"&gt;&lt;span style="font-size: larger;"&gt;Here's an example&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-size: larger;"&gt;.  I have two projects under a single solution, 1 project is a test driver console app called &lt;strong&gt;RetroCar.Test.EF&lt;/strong&gt;.  This project depends on a data access layer project called: &lt;strong&gt;&lt;em&gt;RetroCarEntityFramework&lt;/em&gt;&lt;/strong&gt;.  Even though &lt;em&gt;&lt;strong&gt;RetroCar.Test.EF&lt;/strong&gt;&lt;/em&gt; is just a simple unit test console app without an obvious need for a config file, I still need to import the connection string used in &lt;em&gt;&lt;strong&gt;RetroCarEntityFramewor&lt;/strong&gt;&lt;/em&gt;k in order for the test driver application not to bomb out.&lt;/span&gt;  The best way to do this &lt;span style="font-size: larger;"&gt;is just go to the project&lt;/span&gt; &lt;em&gt;&lt;strong&gt;&lt;span style="font-size: larger;"&gt;RetroCar.Test.EF&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;&lt;span style="font-size: larger;"&gt; and add a new application config file item, then cut and paste the connection string from&lt;em&gt;&lt;strong&gt; RetroCarEntityFramework&lt;/strong&gt;&lt;/em&gt; into that. Recompile. This should fix the trouble. &lt;img src="http://geekswithblogs.net/Providers/BlogEntryEditor/FCKeditor/editor/images/smiley/msn/wink_smile.gif" alt="" /&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: larger;"&gt;If your woes drill down in the trenches of EF further, check out this thread on the topic: &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://social.msdn.microsoft.com/Forums/en/adodotnetentityframework/thread/f5904b4d-b2f8-421e-90de-339f93959533"&gt;http://social.msdn.microsoft.com/Forums/en/adodotnetentityframework/thread/f5904b4d-b2f8-421e-90de-339f93959533&lt;/a&gt;&lt;/p&gt;&lt;img src="http://geekswithblogs.net/AskPaula/aggbug/145859.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/AskPaula/comments/145859.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/AskPaula/comments/commentRss/145859.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/AskPaula/services/trackbacks/145859.aspx</trackback:ping>
    </entry>
    <entry>
        <title>System.Data.OracleClient is missing or has been depricated. How do I fix this?</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/AskPaula/archive/2011/06/07/145758.aspx" />
        <id>http://geekswithblogs.net/AskPaula/archive/2011/06/07/145758.aspx</id>
        <published>2011-06-07T17:26:26-04:00:00</published>
        <updated>2011-06-14T18:22:29Z</updated>
        <content type="html">&lt;p&gt;Yes, Microsoft is getting quite a reputation for abandoning or deprecating it's data access products/libraries. One thing you can do is download a 3rd party product called dotConnect by DevArt. The express edition is free.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.devart.com/dotconnect/oracle/download.html"&gt;http://www.devart.com/dotconnect/oracle/download.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;... however, if you are working in a shop that doesn't like its development team to use not well known  third party tools, there's an alternative--but it still requires that you go to a non-microsoft source. Use Oracle.DataAccess.dll with the Oracle Data Provider .NET (ODP.NET) client installed. This can be found on Oracle's website:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.oracle.com/technetwork/topics/dotnet/index-085163.html"&gt;http://www.oracle.com/technetwork/topics/dotnet/index-085163.html&lt;/a&gt;&lt;/p&gt;
&lt;div&gt;
&lt;p&gt;For now, System.Data.OracleClient still works, however Microsoft's deprecation message on compile is a warning to you that the feature will eventually be phased out completely--and although works, may not actually be supported.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://geekswithblogs.net/Providers/BlogEntryEditor/FCKeditor/editor/images/smiley/msn/wink_smile.gif" alt="" /&gt;&lt;/p&gt;
&lt;/div&gt;&lt;img src="http://geekswithblogs.net/AskPaula/aggbug/145758.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/AskPaula/comments/145758.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/AskPaula/comments/commentRss/145758.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/AskPaula/services/trackbacks/145758.aspx</trackback:ping>
    </entry>
    <entry>
        <title>Why is Vista  so Slow when Browsing (Surfing) the Web?</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/AskPaula/archive/2011/06/04/145710.aspx" />
        <id>http://geekswithblogs.net/AskPaula/archive/2011/06/04/145710.aspx</id>
        <published>2011-06-04T00:44:40-04:00:00</published>
        <updated>2011-06-04T00:53:04Z</updated>
        <content type="html">&lt;p&gt;&lt;span name="intellitxt" id="intellitxt"&gt;
&lt;p&gt;&lt;span style="font-size: large;"&gt;Vista has an auto tuning feature which is hit and miss, depending on what network appliances/cards/devices you've got hooked up.  Try this:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: large;"&gt;1. Navigate to&lt;/span&gt;  &lt;span style="color: rgb(51, 153, 102);"&gt;&lt;span style="font-size: large;"&gt;&lt;strong&gt;Start&amp;gt;Programs&amp;gt;Accessories&amp;gt;MS Command&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: x-large;"&gt;2. Type: &lt;span style="color: rgb(128, 0, 0);"&gt; &lt;strong&gt;&lt;span name="intellitxt" id="intellitxt"&gt;&lt;code&gt;netsh interface tcp show global&lt;/code&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: medium;"&gt;&lt;span name="intellitxt" id="intellitxt"&gt;3. Look the line for &lt;strong&gt;receive window auto tuning&lt;/strong&gt;.  If it says &lt;strong&gt;highlyrestricted&lt;/strong&gt; type this command (all on one line):&lt;/span&gt;&lt;/span&gt;&lt;span name="intellitxt" id="intellitxt"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: large;"&gt;&lt;strong&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;&lt;span name="intellitxt" id="intellitxt"&gt;&lt;code&gt;netsh interface tcp set global autotuning=restricted&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: medium;"&gt;&lt;span name="intellitxt" id="intellitxt"&gt;&lt;span name="intellitxt" id="intellitxt"&gt;4. Try browsing, if it isn't any better, enter the same command like, just change restricted to&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span name="intellitxt" id="intellitxt"&gt;&lt;span name="intellitxt" id="intellitxt"&gt;&lt;span style="font-size: x-large;"&gt; &lt;span style="font-family: Comic Sans MS;"&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;&lt;strong&gt;disabled&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;. T&lt;span style="font-size: medium;"&gt;ry browsing again, if there is still no improvement,   change disabled to &lt;/span&gt;&lt;span style="font-size: x-large;"&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;&lt;strong&gt;&lt;span style="font-family: Comic Sans MS;"&gt;normal&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;.&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: medium;"&gt;For those of you interested in the techie details, check out this blog:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://technet.microsoft.com/en-us/magazine/2007.01.cableguy.aspx"&gt;&lt;span style="font-size: x-large;"&gt;TechNet CableGuy&lt;/span&gt;&lt;br /&gt;
&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;&lt;img src="http://geekswithblogs.net/AskPaula/aggbug/145710.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/AskPaula/comments/145710.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/AskPaula/comments/commentRss/145710.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/AskPaula/services/trackbacks/145710.aspx</trackback:ping>
    </entry>
    <entry>
        <title>How Do I Change a Database Instance Name in SQL Server?</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/AskPaula/archive/2011/05/27/145616.aspx" />
        <id>http://geekswithblogs.net/AskPaula/archive/2011/05/27/145616.aspx</id>
        <published>2011-05-27T16:38:26-04:00:00</published>
        <updated>2011-05-27T16:41:01Z</updated>
        <content type="html">&lt;p&gt;Ten minutes ago I created a scratch db instance with a name I mistyped. Not good! &lt;img alt="" src="http://geekswithblogs.net/Providers/BlogEntryEditor/FCKeditor/editor/images/smiley/msn/confused_smile.gif" /&gt;  Fortunately, I have admin privileges so I can change it in my lab environment.  If you're an admin AND no other users are accessing the DB instance, here's what you can do:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;USE master&lt;br /&gt;
go&lt;br /&gt;
EXEC sp_renamedb 'MetroWrongName', 'MetroRightName'&lt;br /&gt;
GO&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small"&gt;&lt;span id="1306538707732S" style="display: none"&gt; &lt;/span&gt;If someone is using the instance, there is a workaround. Do this:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span style="font-size: larger"&gt;&lt;strong&gt;USE master&lt;br /&gt;
go&lt;/strong&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: larger"&gt;&lt;strong&gt;-- flag the instance for single user only&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span style="font-size: larger"&gt;&lt;strong&gt;EXEC sp_dboption 'MetroWrongName','Single User', True&lt;br /&gt;
GO&lt;/strong&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: larger"&gt;&lt;strong&gt;-- make the name change with the rename sproc&lt;br /&gt;
&lt;/strong&gt;&lt;em&gt;&lt;strong&gt;EXEC sp_renamedb 'MetroWrongName', 'MetroRightName'&lt;br /&gt;
GO&lt;/strong&gt;&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: larger"&gt;&lt;strong&gt;-- flag the newly named instance back to mulitusers&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span style="font-size: larger"&gt;&lt;strong&gt;EXEC sp_dboption 'MetroRightName','Single User', False&lt;br /&gt;
GO&lt;/strong&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;img src="http://geekswithblogs.net/AskPaula/aggbug/145616.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/AskPaula/comments/145616.aspx</wfw:comment>
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/AskPaula/comments/commentRss/145616.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/AskPaula/services/trackbacks/145616.aspx</trackback:ping>
    </entry>
    <entry>
        <title>How do I Disable FireFox's Browser Cache COMPLETELY?</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/AskPaula/archive/2011/05/19/145440.aspx" />
        <id>http://geekswithblogs.net/AskPaula/archive/2011/05/19/145440.aspx</id>
        <published>2011-05-19T13:43:55-04:00:00</published>
        <updated>2011-05-19T13:52:39Z</updated>
        <content type="html">&lt;p&gt;The worst part about web application development is the phase in the unit testing where we developers swear we've fixed something,  but still when we test the change, the fix isn't there. After awhile, we remember to clear the browser cache and we discover the fix worked!  In some cases, we really haven't fixed what we thought we fixed--and in other cases, we haven't really cleared the cache.  &lt;img src="http://geekswithblogs.net/Providers/BlogEntryEditor/FCKeditor/editor/images/smiley/msn/sad_smile.gif" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;I was working in FireFox recently and realized I hadn't really cleared the cache when I added a new button on a form that didn't show. I decided at that point, that I must not have truly cleared out the cache. To confirm my theory, I downloaded Google Chrome and ran the web app again. There was my new button! This sent me on a quest to clear the cache in in FireFox.&lt;/p&gt;
&lt;p&gt;After some fiddling with FireFox, here are the steps I used to clear the cache:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;   1. Opened up the FireFox browser&lt;br /&gt;
   2. Typed &lt;strong&gt;about:config&lt;/strong&gt; in the address bar&lt;br /&gt;
   3. Typed ‘&lt;strong&gt;cache&lt;/strong&gt;’ in the search bar, and looked for: &lt;strong&gt;network.http.use-cache&lt;/strong&gt;. &lt;br /&gt;
   4. Double clicked  &lt;strong&gt;network.http.use-cache&lt;/strong&gt; in order to set it to false. (BTW, Double clicking it again will set it to true and re-enable the cache)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
This should finally eliminate old files while your testing. &lt;img src="http://geekswithblogs.net/Providers/BlogEntryEditor/FCKeditor/editor/images/smiley/msn/shades_smile.gif" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
&lt;strong&gt;Tip&lt;/strong&gt;: If you don't want to turn of the cache in FF to forcibly reload a page and all its dependencies, direct from source, ignoring local and proxy caches-- hold the shift key and hit reload.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;img src="http://geekswithblogs.net/AskPaula/aggbug/145440.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/AskPaula/comments/145440.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/AskPaula/comments/commentRss/145440.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/AskPaula/services/trackbacks/145440.aspx</trackback:ping>
    </entry>
    <entry>
        <title>How do I read the SQL for a View in T-SQL?</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/AskPaula/archive/2011/05/04/145170.aspx" />
        <id>http://geekswithblogs.net/AskPaula/archive/2011/05/04/145170.aspx</id>
        <published>2011-05-04T12:41:17-04:00:00</published>
        <updated>2011-06-29T18:23:27Z</updated>
        <content type="html">&lt;p&gt; The easiest way in MS SQL 2005 and up is to use the SQL Management Studio,  go to Views, highlight the name of the view you are interested in, right click, select Script View  as/Create to/Clipboard.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;open up notepad or your prefered editor and paste the contents of your clipboard. The SQL used to create the view should show up in your editor.&lt;/p&gt;
&lt;p&gt;If this doesn't work, or if you are working with older  versions of SQL Server, look at the system objects as follows:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;use [YouDatabseInstanceName]&lt;br /&gt;
go&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;select * from sys.objects&lt;br /&gt;
where type = 'V'&lt;br /&gt;
and name = 'YourViewName'&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;&lt;span style="color: #339966"&gt;-- capture the object id and schema&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;&lt;span style="color: #339966"&gt;&lt;strong&gt;_id to examine later&lt;br /&gt;
-- object_id = 436921992&lt;br /&gt;
-- schema_id = 1&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #339966"&gt;&lt;strong&gt;-- this should show you whether or not there is anything set in the definition coloumn&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;select * from sys.sql_modules&lt;br /&gt;
where object_id = 436921992&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
&lt;span style="color: #339966"&gt;&lt;strong&gt;-- use to examine which schema name the view is in&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
&lt;em&gt;&lt;strong&gt;select * from sys.schemas&lt;br /&gt;
where schema_id = 1&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="color: #339966"&gt;&lt;strong&gt;-- Use this to capture all the views by the schema name&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
&lt;em&gt;&lt;strong&gt;select o.name&lt;br /&gt;
      ,o.object_id&lt;br /&gt;
  into #views&lt;br /&gt;
  from sys.objects o&lt;br /&gt;
  join sys.schemas s&lt;br /&gt;
    on s.schema_id = o.schema_id&lt;br /&gt;
 where o.type in  ('V')&lt;br /&gt;
   and s.name = 'dbo'&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;select * from #views&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #339966"&gt;&lt;strong&gt;-- use this to examine the definition of all views&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;select definition + char(10) + 'go' + char(10)&lt;br /&gt;
  from sys.sql_modules c&lt;br /&gt;
  join sys.objects o&lt;br /&gt;
    on c.object_id = o.object_id&lt;br /&gt;
  join #views o2&lt;br /&gt;
    on o.object_id = o2.object_id&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&lt;img src="http://geekswithblogs.net/AskPaula/aggbug/145170.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/AskPaula/comments/145170.aspx</wfw:comment>
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/AskPaula/comments/commentRss/145170.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/AskPaula/services/trackbacks/145170.aspx</trackback:ping>
    </entry>
    <entry>
        <title>How do I Delete a View? How do I Create a View?</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/AskPaula/archive/2011/02/22/144063.aspx" />
        <id>http://geekswithblogs.net/AskPaula/archive/2011/02/22/144063.aspx</id>
        <published>2011-02-22T17:01:26-05:00:00</published>
        <updated>2011-02-22T17:10:58Z</updated>
        <content type="html">&lt;p&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;span style="font-size: medium;"&gt;&lt;code&gt;&lt;strong&gt;Before I create views, I generally work out what I want to retrieve &lt;br /&gt;
in my SELECT statement ahead of time so I'll just  have to cut and  paste the query. The example below is done  in T-SQL/Sybase format, however for Oracle and MySQL, just  place a semi-colon ';' at the end of your statement and remove the  'GO' command.&lt;/strong&gt;&lt;/code&gt;&lt;/span&gt;&lt;span style="font-size: large;"&gt;&lt;code&gt;&lt;strong&gt; &lt;/strong&gt; &lt;span style="color: rgb(255, 0, 0);"&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;&lt;strong&gt;         &lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: large;"&gt;&lt;code&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;&lt;strong&gt;To drop (delete) an existing view&lt;/strong&gt;:&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;code&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;&lt;br /&gt;
&lt;br /&gt;
DROP VIEW vw_rpt_metroBestCustomers&lt;br /&gt;
GO&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: x-large;"&gt;&lt;strong&gt;To create a view&lt;/strong&gt;:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
CREATE VIEW vw_rpt_metroBestCustomers&lt;br /&gt;
( CustomerName,&lt;br /&gt;
   OfficeNum,&lt;br /&gt;
   City,&lt;br /&gt;
   StateOrProv,&lt;br /&gt;
   Country,&lt;br /&gt;
   ZipCode&lt;br /&gt;
  )&lt;br /&gt;
AS&lt;br /&gt;
SELECT a.FirstName + ', ' + a.LastName,&lt;br /&gt;
          b.OfficePhoneNum,&lt;br /&gt;
          c.City,&lt;br /&gt;
          c.StateOrProvAbbr,&lt;br /&gt;
          c.Country,&lt;br /&gt;
          c.PostalCode&lt;br /&gt;
    FROM Customer a,&lt;br /&gt;
         CustLocAssoc x,&lt;br /&gt;
         CustContactAssoc y,&lt;br /&gt;
         Location c,&lt;br /&gt;
         Contact b&lt;br /&gt;
    WHERE a.CustID = x.CustID&lt;br /&gt;
      AND a.CustID = y.CustID&lt;br /&gt;
      AND y.ContactID = b.ContactID&lt;br /&gt;
      AND x.LocID = c.LocID&lt;br /&gt;
      AND a.LoyaltyMedian &amp;gt; 85.5&lt;br /&gt;
&lt;br /&gt;
GO&lt;br /&gt;
       &lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;pre&gt;&lt;font size="2"&gt;&lt;p&gt;&lt;span style="font-size: medium;"&gt;&lt;code&gt;&lt;strong&gt;I frequently rename columns when developing views to make&lt;br /&gt;it easier for simple, text-based reporting--however, renaming&lt;br /&gt;the columns isn't necessary.&lt;br /&gt;&lt;br /&gt;The create view statement above could have been written&lt;br /&gt;as follows:&lt;/strong&gt;&lt;/code&gt;&lt;/span&gt;&lt;span style="font-size: large;"&gt;&lt;code&gt;&lt;strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&lt;font&gt;&lt;font size="2"&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;CREATE VIEW vw_rpt_metroBestCustomers&lt;br /&gt;AS&lt;br /&gt; (SELECT a.FirstName + ', ' + a.LastName,&lt;br /&gt;          b.OfficePhoneNum,&lt;br /&gt;          c.City,&lt;br /&gt;          c.StateOrProvAbbr,&lt;br /&gt;          c.Country,&lt;br /&gt;          c.PostalCode&lt;br /&gt;    FROM Customer a,&lt;br /&gt;         CustLocAssoc x,&lt;br /&gt;         CustContactAssoc y,&lt;br /&gt;         Location c,&lt;br /&gt;         Contact b&lt;br /&gt;    WHERE a.CustID = x.CustID&lt;br /&gt;      AND a.CustID = y.CustID&lt;br /&gt;      AND y.ContactID = b.ContactID&lt;br /&gt;      AND x.LocID = c.LocID&lt;br /&gt;      AND a.LoyaltyMedian &amp;gt; 85.5&lt;br /&gt; )&lt;br /&gt;GO&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/font&gt;&lt;/font&gt;&lt;/pre&gt;
&lt;/font&gt;&lt;/pre&gt;
&lt;p&gt;&lt;code&gt; &lt;/code&gt;&lt;/p&gt;
&lt;/font&gt;&lt;/p&gt;&lt;img src="http://geekswithblogs.net/AskPaula/aggbug/144063.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/AskPaula/comments/144063.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/AskPaula/comments/commentRss/144063.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/AskPaula/services/trackbacks/144063.aspx</trackback:ping>
    </entry>
    <entry>
        <title>How do I route my SMTP outgoing mail through gmail (Google Mail) ?</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/AskPaula/archive/2011/02/19/144018.aspx" />
        <id>http://geekswithblogs.net/AskPaula/archive/2011/02/19/144018.aspx</id>
        <published>2011-02-19T01:57:12-05:00:00</published>
        <updated>2011-02-19T01:57:12Z</updated>
        <content type="html">&lt;p&gt;Here is the quick answer:&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt; Go into your client e software (e.g. Outlook, Thunderbird, etc.) for the account you are working on (usually default). Set the SMTP server to smtp.gmail.com&lt;/li&gt;
    &lt;li&gt;Set the username as your gmail account user name (e.g. myname@gmail.com). Gmail will need the username and password you use for that account, so if your default is set to some other email, be sure to set the username and password to that value, or click on the checkbox for username/password.&lt;/li&gt;
    &lt;li&gt;Check TLS as the secure connection.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;If you are looking for more in-depth info, check out &lt;span class="pm_byline"&gt;&lt;a class="pm_link author noHrefOverride" title="Click here to read posts written by Gina Trapani" href="http://lifehacker.com/people/Gina/"&gt;Gina Trapani&lt;/a&gt; 's block on the topic. &lt;img src="http://geekswithblogs.net/Providers/BlogEntryEditor/FCKeditor/editor/images/smiley/msn/shades_smile.gif" alt="" /&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;img src="http://geekswithblogs.net/AskPaula/aggbug/144018.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/AskPaula/comments/144018.aspx</wfw:comment>
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/AskPaula/comments/commentRss/144018.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/AskPaula/services/trackbacks/144018.aspx</trackback:ping>
    </entry>
    <entry>
        <title>In SQL Server, How Do I List all the Constraints by Table or by Column Name?</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/AskPaula/archive/2010/11/05/142608.aspx" />
        <id>http://geekswithblogs.net/AskPaula/archive/2010/11/05/142608.aspx</id>
        <published>2010-11-05T11:36:44-04:00:00</published>
        <updated>2011-01-17T18:21:32Z</updated>
        <content type="html">&lt;p&gt;&lt;strong&gt;&lt;span style="font-size: larger;"&gt;This one will order the contraints by table:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(153, 51, 0);"&gt;&lt;em&gt;Select SysObjects.[Name] As [Contraint Name] ,Tab.[Name] as [Table Name],Col.[Name] As [Column Name]&lt;br /&gt;
 From SysObjects Inner Join (Select [Name],[ID] From SysObjects Where XType = 'U') As Tab&lt;br /&gt;
On Tab.[ID] = Sysobjects.[Parent_Obj] &lt;br /&gt;
Inner Join sysconstraints On sysconstraints.Constid = Sysobjects.[ID] &lt;br /&gt;
Inner Join SysColumns Col On Col.[ColID] = sysconstraints.[ColID] And Col.[ID] = Tab.[ID]&lt;br /&gt;
&lt;/em&gt;&lt;strong&gt;&lt;em&gt;order by Tab.[Name]&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: larger;"&gt;&lt;strong&gt;This one will order the contraints by column:&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(153, 51, 0);"&gt;&lt;em&gt;Select SysObjects.[Name] As [Contraint Name] ,Tab.[Name] as [Table Name],Col.[Name] As [Column Name]&lt;br /&gt;
 From SysObjects Inner Join (Select [Name],[ID] From SysObjects Where XType = 'U') As Tab&lt;br /&gt;
On Tab.[ID] = Sysobjects.[Parent_Obj] &lt;br /&gt;
Inner Join sysconstraints On sysconstraints.Constid = Sysobjects.[ID] &lt;br /&gt;
Inner Join SysColumns Col On Col.[ColID] = sysconstraints.[ColID] And Col.[ID] = Tab.[ID]&lt;br /&gt;
&lt;/em&gt;&lt;strong&gt;&lt;em&gt;order by Col.[Name]&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;img src="http://geekswithblogs.net/AskPaula/aggbug/142608.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/AskPaula/comments/142608.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/AskPaula/comments/commentRss/142608.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/AskPaula/services/trackbacks/142608.aspx</trackback:ping>
    </entry>
    <entry>
        <title>How do I know what version of IIS I am running?</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/AskPaula/archive/2010/10/17/142320.aspx" />
        <id>http://geekswithblogs.net/AskPaula/archive/2010/10/17/142320.aspx</id>
        <published>2010-10-17T18:04:06-04:00:00</published>
        <updated>2010-10-17T18:12:33Z</updated>
        <content type="html">&lt;p&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;strong&gt;&lt;big&gt;I've encountered a LOT of posts on this--some of them represent a LOT of unnecessary&lt;/big&gt;&lt;/strong&gt;&lt;/span&gt;&lt;big&gt; &lt;/big&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="color: rgb(153, 51, 0);"&gt;&lt;strong&gt;&lt;big&gt;work&lt;/big&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;. &lt;img alt="" src="http://geekswithblogs.net/Providers/BlogEntryEditor/FCKeditor/editor/images/smiley/msn/sad_smile.gif" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Here's the simple way:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;tt&gt;1. Navigate to&lt;/tt&gt;&lt;/span&gt;&lt;tt&gt; &lt;strong&gt;Administrative Tools&lt;/strong&gt;.&lt;/tt&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;tt&gt;2. Go to&lt;/tt&gt;&lt;/span&gt;&lt;tt&gt; &lt;strong&gt;Internet Information Services&lt;/strong&gt; &lt;strong&gt;&lt;span style="color: rgb(153, 51, 0);"&gt;(IIS)&lt;/span&gt;&lt;/strong&gt;&lt;/tt&gt;&lt;/p&gt;
&lt;p&gt;&lt;tt&gt;3. If you last looked at something, Navigate to &lt;strong&gt;ABOVE&lt;/strong&gt; your server name -- where it says "Internet Information Services"&lt;/tt&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;tt&gt;4. &lt;strong&gt;Look to the&lt;/strong&gt;&lt;/tt&gt;&lt;/span&gt;&lt;tt&gt;&lt;strong&gt; &lt;/strong&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="color: rgb(153, 51, 0);"&gt;&lt;strong&gt;right&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;. &lt;/tt&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;tt&gt;You should see something that looks like this:&lt;/tt&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;strong&gt;&lt;tt&gt;computer                         local              version&lt;/tt&gt;&lt;/strong&gt;&lt;/span&gt;&lt;tt&gt;&lt;br /&gt;
--------------------------       -------            -------------&lt;br /&gt;
&lt;/tt&gt;&lt;span style="color: rgb(153, 51, 0);"&gt;&lt;strong&gt;&lt;tt&gt;YourComputerName                 yes                IIS V6.0&lt;/tt&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(153, 51, 0);"&gt;&lt;strong&gt;&lt;tt&gt;You're DONE! &lt;img src="http://geekswithblogs.net/Providers/BlogEntryEditor/FCKeditor/editor/images/smiley/msn/wink_smile.gif" alt="" /&gt;&lt;/tt&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;img src="http://geekswithblogs.net/AskPaula/aggbug/142320.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/AskPaula/comments/142320.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/AskPaula/comments/commentRss/142320.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/AskPaula/services/trackbacks/142320.aspx</trackback:ping>
    </entry>
    <entry>
        <title>How do I list every table and every column in the table in SQL Server?</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/AskPaula/archive/2010/10/10/142224.aspx" />
        <id>http://geekswithblogs.net/AskPaula/archive/2010/10/10/142224.aspx</id>
        <published>2010-10-10T22:32:49-04:00:00</published>
        <updated>2010-10-10T22:32:49Z</updated>
        <content type="html">&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: larger"&gt;The sys.tables and sys.columns objects will return this information for you. The following SQL statement will bring bring back all the colunns in all the tables ordered by the table name then the column name.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;
&lt;p&gt;SELECT&lt;/p&gt;
&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt; tbl&lt;/font&gt;&lt;font color="#808080" size="2"&gt;&lt;font color="#808080" size="2"&gt;.&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;name &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;AS&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; table_name&lt;/font&gt;&lt;font color="#808080" size="2"&gt;&lt;font color="#808080" size="2"&gt;,&lt;/font&gt;&lt;/font&gt;&lt;font color="#ff00ff" size="2"&gt;&lt;font color="#ff00ff" size="2"&gt;
&lt;p&gt;SCHEMA_NAME&lt;/p&gt;
&lt;/font&gt;&lt;/font&gt;&lt;font color="#808080" size="2"&gt;&lt;font color="#808080" size="2"&gt;(&lt;/font&gt;&lt;/font&gt;&lt;font color="#ff00ff" size="2"&gt;&lt;font color="#ff00ff" size="2"&gt;schema_id&lt;/font&gt;&lt;/font&gt;&lt;font color="#808080" size="2"&gt;&lt;font color="#808080" size="2"&gt;)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;AS&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff00ff" size="2"&gt;&lt;font color="#ff00ff" size="2"&gt;schema_name&lt;/font&gt;&lt;/font&gt;&lt;font color="#808080" size="2"&gt;&lt;font color="#808080" size="2"&gt;,&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;col&lt;/p&gt;
&lt;/font&gt;&lt;font color="#808080" size="2"&gt;&lt;font color="#808080" size="2"&gt;.&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;name &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;AS&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; column_name&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;
&lt;p&gt;FROM&lt;/p&gt;
&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt;sys.tables&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;AS&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; tbl&lt;/font&gt;&lt;font color="#808080" size="2"&gt;&lt;font color="#808080" size="2"&gt;
&lt;p&gt;INNER&lt;/p&gt;
&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#808080" size="2"&gt;&lt;font color="#808080" size="2"&gt;JOIN&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt;sys.columns&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; col &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;ON&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; tbl&lt;/font&gt;&lt;font color="#808080" size="2"&gt;&lt;font color="#808080" size="2"&gt;.&lt;/font&gt;&lt;/font&gt;&lt;font color="#ff00ff" size="2"&gt;&lt;font color="#ff00ff" size="2"&gt;OBJECT_ID&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#808080" size="2"&gt;&lt;font color="#808080" size="2"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; col&lt;/font&gt;&lt;font color="#808080" size="2"&gt;&lt;font color="#808080" size="2"&gt;.&lt;/font&gt;&lt;/font&gt;&lt;font color="#ff00ff" size="2"&gt;&lt;font color="#ff00ff" size="2"&gt;OBJECT_ID&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;
&lt;p&gt;ORDER&lt;/p&gt;
&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;BY&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff00ff" size="2"&gt;&lt;font color="#ff00ff" size="2"&gt;schema_name&lt;/font&gt;&lt;/font&gt;&lt;font color="#808080" size="2"&gt;&lt;font color="#808080" size="2"&gt;,&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; table_name&lt;/font&gt;&lt;font color="#808080" size="2"&gt;&lt;font color="#808080" size="2"&gt;;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;
&lt;/p&gt;&lt;p&gt; &lt;/p&gt;
&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;
&lt;p&gt;&lt;span id="1286764213996S" style="display: none"&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;/font&gt;&lt;/font&gt;&lt;img src="http://geekswithblogs.net/AskPaula/aggbug/142224.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/AskPaula/comments/142224.aspx</wfw:comment>
        <slash:comments>2</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/AskPaula/comments/commentRss/142224.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/AskPaula/services/trackbacks/142224.aspx</trackback:ping>
    </entry>
</feed>
