<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>Utilities</title>
        <link>http://weblogs.sqlteam.com/billg/category/203.aspx</link>
        <description>Utilities</description>
        <language>en-US</language>
        <copyright>Bill Graziano</copyright>
        <managingEditor>graz@sqlteam.com</managingEditor>
        <generator>Subtext Version 1.9.4.0</generator>
        <item>
            <title>Scriptio available on CodePlex</title>
            <link>http://weblogs.sqlteam.com/billg/archive/2008/06/05/Scriptio-available-on-CodePlex.aspx</link>
            <description>&lt;p&gt;&lt;a href="http://www.codeplex.com/scriptio"&gt;Scriptio&lt;/a&gt; is a little utility I wrote when I was unhappy with the scripting features in SQL Server 2005.  The biggest problem I faced was that I couldn't script a DROP and CREATE in the same file.  I'm pretty sure that's finally fixed.  The utility gives you all kind of scripting options now.&lt;/p&gt;  &lt;p&gt;The source code was always available on the site but wasn't always easy to find.  And there wasn't a good way for people to submit improvements.  I finally migrated the code base over to CodePlex.  You can download the source code or just the compiled EXE.  It should also make it much easier to submit improvements.&lt;/p&gt;  &lt;p&gt;I'm not sure what the future of this utility is.  I haven't played much with the scripting features in SQL Server 2008.  It is a great example of how to use SMO and the SMO scripting component.&lt;/p&gt;  &lt;p&gt;A great big Thank You to Riccardo Spagni for prompting me to do this.  He also rewrote most of the code so it looks less like something I cooked up in my spare time (which it was) and looks more like an actual application.  Thanks!&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.codeplex.com/scriptio"&gt;Scriptio on CodePlex&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://weblogs.sqlteam.com/billg/aggbug/60615.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Bill Graziano</dc:creator>
            <guid>http://weblogs.sqlteam.com/billg/archive/2008/06/05/Scriptio-available-on-CodePlex.aspx</guid>
            <pubDate>Thu, 05 Jun 2008 14:12:35 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/billg/archive/2008/06/05/Scriptio-available-on-CodePlex.aspx#feedback</comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/billg/comments/commentRss/60615.aspx</wfw:commentRss>
            <trackback:ping>http://weblogs.sqlteam.com/billg/services/trackbacks/60615.aspx</trackback:ping>
        </item>
        <item>
            <title>SQL Server 2005 Best Practices Analyzer Updated (Jan 2008)</title>
            <link>http://weblogs.sqlteam.com/billg/archive/2008/01/19/SQL-Server-2005-Best-Practices-Analyzer-Updated-Jan-2008.aspx</link>
            <description>&lt;p&gt;Microsoft just updated the &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=da0531e4-e94c-4991-82fa-f0e3fbd05e63"&gt;SQL Server 2005 Best Practices Analyzer&lt;/a&gt;.  There are over 60 new rules included in this release.  You can find more information on the &lt;a href="http://blogs.msdn.com/sqlcat/archive/2008/01/18/sql-server-2005-best-practices-analyzer-january-2008-now-available.aspx"&gt;SQLCAT blog&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://weblogs.sqlteam.com/billg/aggbug/60459.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Bill Graziano</dc:creator>
            <guid>http://weblogs.sqlteam.com/billg/archive/2008/01/19/SQL-Server-2005-Best-Practices-Analyzer-Updated-Jan-2008.aspx</guid>
            <pubDate>Sat, 19 Jan 2008 15:40:43 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/billg/archive/2008/01/19/SQL-Server-2005-Best-Practices-Analyzer-Updated-Jan-2008.aspx#feedback</comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/billg/comments/commentRss/60459.aspx</wfw:commentRss>
            <trackback:ping>http://weblogs.sqlteam.com/billg/services/trackbacks/60459.aspx</trackback:ping>
        </item>
        <item>
            <title>Terminals: A Great RDP Client</title>
            <link>http://weblogs.sqlteam.com/billg/archive/2008/01/04/Terminals-A-Great-RDP-Client.aspx</link>
            <description>&lt;p&gt;&lt;a href="http://weblogs.sqlteam.com/images/weblogs_sqlteam_com/billg/WindowsLiveWriter/TerminalsAGreatRDPClient_74F1/image_2.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="220" alt="image" src="http://weblogs.sqlteam.com/images/weblogs_sqlteam_com/billg/WindowsLiveWriter/TerminalsAGreatRDPClient_74F1/image_thumb.png" width="304" align="right" border="0" /&gt;&lt;/a&gt;One of the joys of being a consultant is trying to keep track of remote desktop connection information for a dozen clients.  Each one has multiple servers so the combination of clients, machines, user names and passwords add up quickly.  Recently I've been using &lt;a href="http://www.codeplex.com/Terminals"&gt;Terminals&lt;/a&gt; to manage all my RDP connections.&lt;/p&gt;  &lt;p&gt;This is a small open-source application that provides a wrapper for the RDP client.  It allows me to securely store all my connection information for multiple machines.  Connecting to any machine I work with is as easy as selecting it from the drop down list.  As you can see from the screen shot the tabbed window allows multiple open RDP sessions and the ability to easily switch between them.&lt;/p&gt;  &lt;p&gt;If you regularly use RDP (or remote desktop) I highly recommend this handy little utility.  They are currently working on a 1.6 release but I'm still running the older 1.01.&lt;/p&gt;&lt;img src="http://weblogs.sqlteam.com/billg/aggbug/60447.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Bill Graziano</dc:creator>
            <guid>http://weblogs.sqlteam.com/billg/archive/2008/01/04/Terminals-A-Great-RDP-Client.aspx</guid>
            <pubDate>Fri, 04 Jan 2008 14:23:10 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/billg/archive/2008/01/04/Terminals-A-Great-RDP-Client.aspx#feedback</comments>
            <slash:comments>3</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/billg/comments/commentRss/60447.aspx</wfw:commentRss>
            <trackback:ping>http://weblogs.sqlteam.com/billg/services/trackbacks/60447.aspx</trackback:ping>
        </item>
        <item>
            <title>ReadTrace for SQL Server 2005</title>
            <link>http://weblogs.sqlteam.com/billg/archive/2007/12/19/ReadTrace-for-SQL-Server-2005.aspx</link>
            <description>&lt;p&gt;Microsoft just released an updated Read80Trace that works on SQL Server 2005.  The name is simplified to just ReadTrace.  ReadTrace is a command-line utility that analyzes a SQL Server trace file and summarizes performance.  The new version has a more graphical interface.  The original was one of the most helpful performance tuning utilities I've ever used.  I expect this one will be just as useful.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://weblogs.sqlteam.com/images/weblogs_sqlteam_com/billg/WindowsLiveWriter/ReadTraceforSQLServer2005_11599/image_2.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="484" alt="ReadTrace GUI" src="http://weblogs.sqlteam.com/images/weblogs_sqlteam_com/billg/WindowsLiveWriter/ReadTraceforSQLServer2005_11599/image_thumb.png" width="563" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;I typically use the tool to summarize performance by SQL statement.  ReadTrace will "normalize" the SQL statements by replacing constants with placeholders.  This lets you identify which SQL statements are using the most resources.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://weblogs.sqlteam.com/images/weblogs_sqlteam_com/billg/WindowsLiveWriter/ReadTraceforSQLServer2005_11599/image_4.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="484" alt="image" src="http://weblogs.sqlteam.com/images/weblogs_sqlteam_com/billg/WindowsLiveWriter/ReadTraceforSQLServer2005_11599/image_thumb_1.png" width="512" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;You can read the &lt;a href="http://blogs.msdn.com/psssql/archive/2007/12/18/rml-utilities-for-microsoft-sql-server-released.aspx"&gt;PSS team's blog entry&lt;/a&gt; or just &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=7EDFA95A-A32F-440F-A3A8-5160C8DBE926&amp;amp;displaylang=en"&gt;download the utilities&lt;/a&gt;.  There is some additional functionality for replaying traces.&lt;/p&gt;&lt;img src="http://weblogs.sqlteam.com/billg/aggbug/60439.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Bill Graziano</dc:creator>
            <guid>http://weblogs.sqlteam.com/billg/archive/2007/12/19/ReadTrace-for-SQL-Server-2005.aspx</guid>
            <pubDate>Thu, 20 Dec 2007 01:59:42 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/billg/archive/2007/12/19/ReadTrace-for-SQL-Server-2005.aspx#feedback</comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/billg/comments/commentRss/60439.aspx</wfw:commentRss>
            <trackback:ping>http://weblogs.sqlteam.com/billg/services/trackbacks/60439.aspx</trackback:ping>
        </item>
        <item>
            <title>Read90Trace coming soon!</title>
            <link>http://weblogs.sqlteam.com/billg/archive/2007/09/23/Read90Trace-coming-soon.aspx</link>
            <description>&lt;p&gt;Bob Ward announced in his PASS pre-conference session that Microsoft will be releasing a SQL Server 2005 version of Read80Trace in roughly 30 days.  It's currently going through a security review.  They're planning to call it ReadTrace instead of Read90Trace though.  I don't know what this will do to my plans for more work on ClearTrace.  I'll have to wait and see exactly what they release.&lt;/p&gt;&lt;img src="http://weblogs.sqlteam.com/billg/aggbug/60335.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Bill Graziano</dc:creator>
            <guid>http://weblogs.sqlteam.com/billg/archive/2007/09/23/Read90Trace-coming-soon.aspx</guid>
            <pubDate>Mon, 24 Sep 2007 03:20:49 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/billg/archive/2007/09/23/Read90Trace-coming-soon.aspx#feedback</comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/billg/comments/commentRss/60335.aspx</wfw:commentRss>
            <trackback:ping>http://weblogs.sqlteam.com/billg/services/trackbacks/60335.aspx</trackback:ping>
        </item>
        <item>
            <title>Scriptio 0.5.5 and Source Code</title>
            <link>http://weblogs.sqlteam.com/billg/archive/2006/06/13/10208.aspx</link>
            <description>I've checked in some minor bug fixes and updated the ClickOnce install for Scriptio (only works with IE).  I also uploaded a fresh copy of the Scriptio source code.  I'm not planning to make any additional updates at this time.  I'm spending all my time working on ClearTrace.  I'm certainly open to hosting this on one of the open source sites but someone else will probably have to take over development.&lt;br /&gt;
&lt;br /&gt;
Update: The ClickOnce installation is out of date and the &lt;a href="http://www.codeplex.com/scriptio"&gt;Scriptio source code and executable&lt;/a&gt; are now available on CodePlex.&lt;img src="http://weblogs.sqlteam.com/billg/aggbug/10208.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Bill Graziano</dc:creator>
            <guid>http://weblogs.sqlteam.com/billg/archive/2006/06/13/10208.aspx</guid>
            <pubDate>Wed, 14 Jun 2006 04:02:00 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/billg/archive/2006/06/13/10208.aspx#feedback</comments>
            <slash:comments>9</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/billg/comments/commentRss/10208.aspx</wfw:commentRss>
            <trackback:ping>http://weblogs.sqlteam.com/billg/services/trackbacks/10208.aspx</trackback:ping>
        </item>
        <item>
            <title>Using Read80Trace in a batch file</title>
            <link>http://weblogs.sqlteam.com/billg/archive/2006/02/22/9093.aspx</link>
            <description>It's 4:40AM in Barcelona and I can't sleep.  I never seem to figure out jet lag.  I'm sure I'll be sleeping just fine by the time I leave to come home on Saturday.

&lt;p&gt;Every year at the PASS Conference I find one idea that pays for the cost of the conference.  One tip or shortcut that saves me so much time it justifies attending the conference.  I think this year that idea is going to be automating &lt;a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;887057"&gt;Read80Trace&lt;/a&gt;.  It is a fantastic little tool that aggregates and summarizes performance data on your SQL Server.  

&lt;p&gt;The tool reads in a trace file (or files) and stores the data in SQL Server.  It also "normalizes" the SQL statements that it finds.  Normalizing standardizes the SQL to eliminate formatting and specific parameter values.  This lets you summarize the performance of a statement when it's run with various different parameters.  After it runs it pops up a web page with the resulting data.  If you're doing any performance tuning at all this is definitely a tool you need to investigate.

&lt;p&gt;The downside of this is that it pops up a web page when it runs.  It's a command line utility so I had hopes of automating it.  I was discussing the tool with Ken Henderson during a break in the pre-conference session and told me about trace flag 18.  I was able to use this command line:

&lt;p&gt;read80trace -It1.trc -SL30 -E -T18

&lt;p&gt;to run Read80Trace without an Explorer window appearing.  The magic is in the -T18 flag.  Now I can automate the capturing of performance data at night.  Woo hoo!&lt;img src="http://weblogs.sqlteam.com/billg/aggbug/9093.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Bill Graziano</dc:creator>
            <guid>http://weblogs.sqlteam.com/billg/archive/2006/02/22/9093.aspx</guid>
            <pubDate>Thu, 23 Feb 2006 03:45:00 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/billg/archive/2006/02/22/9093.aspx#feedback</comments>
            <slash:comments>3</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/billg/comments/commentRss/9093.aspx</wfw:commentRss>
            <trackback:ping>http://weblogs.sqlteam.com/billg/services/trackbacks/9093.aspx</trackback:ping>
        </item>
        <item>
            <title>Scriptio Update - Actually uses the SQL Server account</title>
            <link>http://weblogs.sqlteam.com/billg/archive/2006/02/17/9063.aspx</link>
            <description>&lt;P&gt;Well that was a little embarressing. When you told Scriptio to use a SQL Server account it used it to get the list of objects but not to do the actual scripting. That's fixed (0.5.4). &lt;A href="http://www.sqlteam.com/publish/scriptio/"&gt;Scriptio Install Page&lt;/A&gt; And on a lighter note I'm writing this from Rome. I came over a few days early to visit a friend. Of course, he had travel issues and couldn't make it back from Milan. Grrrr. I very much dislike the weather some days.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Update&lt;/STRONG&gt;: Most recent install and source code:&amp;nbsp; &lt;A href="http://weblogs.sqlteam.com/billg/archive/2006/06/13/10208.aspx"&gt;http://weblogs.sqlteam.com/billg/archive/2006/06/13/10208.aspx&lt;/A&gt;&lt;/P&gt;&lt;img src="http://weblogs.sqlteam.com/billg/aggbug/9063.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Bill Graziano</dc:creator>
            <guid>http://weblogs.sqlteam.com/billg/archive/2006/02/17/9063.aspx</guid>
            <pubDate>Fri, 17 Feb 2006 19:23:00 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/billg/archive/2006/02/17/9063.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/billg/comments/commentRss/9063.aspx</wfw:commentRss>
            <trackback:ping>http://weblogs.sqlteam.com/billg/services/trackbacks/9063.aspx</trackback:ping>
        </item>
        <item>
            <title>Scriptio Updated - Assemblies and Permissions</title>
            <link>http://weblogs.sqlteam.com/billg/archive/2006/02/12/9019.aspx</link>
            <description>&lt;P&gt;Scriptio is updated to allow the scripting of assemblies and permissions on the objects it scripts. &lt;A href="http://www.sqlteam.com/publish/scriptio/"&gt;Scriptio Install Page&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Update&lt;/STRONG&gt;: Most recent install and source code:&amp;nbsp; &lt;A href="http://weblogs.sqlteam.com/billg/archive/2006/06/13/10208.aspx"&gt;http://weblogs.sqlteam.com/billg/archive/2006/06/13/10208.aspx&lt;/A&gt;&lt;/P&gt;&lt;img src="http://weblogs.sqlteam.com/billg/aggbug/9019.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Bill Graziano</dc:creator>
            <guid>http://weblogs.sqlteam.com/billg/archive/2006/02/12/9019.aspx</guid>
            <pubDate>Sun, 12 Feb 2006 23:30:00 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/billg/archive/2006/02/12/9019.aspx#feedback</comments>
            <slash:comments>3</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/billg/comments/commentRss/9019.aspx</wfw:commentRss>
            <trackback:ping>http://weblogs.sqlteam.com/billg/services/trackbacks/9019.aspx</trackback:ping>
        </item>
        <item>
            <title>Scriptio Updated - Better server and database support</title>
            <link>http://weblogs.sqlteam.com/billg/archive/2006/01/03/8671.aspx</link>
            <description>&lt;P&gt;&lt;A href="http://www.sqlteam.com/publish/scriptio/"&gt;Scriptio&lt;/A&gt; is updated to 0.5.2. This version offers better support when switching servers. It also provides a friendly error message if you choose a SQL Server 2000 server.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Update&lt;/STRONG&gt;: Most recent install and source code:&amp;nbsp; &lt;A href="http://weblogs.sqlteam.com/billg/archive/2006/06/13/10208.aspx"&gt;http://weblogs.sqlteam.com/billg/archive/2006/06/13/10208.aspx&lt;/A&gt;&lt;/P&gt;&lt;img src="http://weblogs.sqlteam.com/billg/aggbug/8671.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Bill Graziano</dc:creator>
            <guid>http://weblogs.sqlteam.com/billg/archive/2006/01/03/8671.aspx</guid>
            <pubDate>Tue, 03 Jan 2006 20:39:00 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/billg/archive/2006/01/03/8671.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/billg/comments/commentRss/8671.aspx</wfw:commentRss>
            <trackback:ping>http://weblogs.sqlteam.com/billg/services/trackbacks/8671.aspx</trackback:ping>
        </item>
    </channel>
</rss>