<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Simple Talk RSS Feed</title><link>http://www.simple-talk.com/</link><item><title>Automated Script-generation with Powershell and SMO</title><pubDate>Fri, 03 Feb 2012 00:00:00 GMT</pubDate><category>Database Administration</category><author>Phil Factor</author><description><![CDATA[In the first of a series of articles on automating the process of building, modifying and copying SQL Server databases, Phil Factor demonstrates how one can generate TSQL  scripts for databases, selected database objects, or table contents from PowerShell and SMO.]]></description><link>http://www.simple-talk.com/sql/database-administration/automated-script-generation-with-powershell-and-smo/</link><content:encoded><![CDATA[In the first of a series of articles on automating the process of building, modifying and copying SQL Server databases, Phil Factor demonstrates how one can generate TSQL  scripts for databases, selected database objects, or table contents from PowerShell and SMO.<p><img src="http://www.simple-talk.com/images/placeholders/0.jpg" /></p>]]></content:encoded></item><item><title>Using SQL Test Database Unit Testing with TeamCity Continuous Integration</title><pubDate>Thu, 02 Feb 2012 00:00:00 GMT</pubDate><category>SQL Tools</category><author>Dave Green</author><description><![CDATA[With database applications, the process of  test and integration can be frustratingly slow because so much of it is based on manual processes. Everyone seems to agree that automation of the process provides the answer to accomodating shorter development cycles, but how, exactly? Dave Green describes a successful process that integrates third-party tools.]]></description><link>http://www.simple-talk.com/sql/sql-tools/using-sql-test-database-unit-testing-with-teamcity-continuous-integration/</link><content:encoded><![CDATA[With database applications, the process of  test and integration can be frustratingly slow because so much of it is based on manual processes. Everyone seems to agree that automation of the process provides the answer to accomodating shorter development cycles, but how, exactly? Dave Green describes a successful process that integrates third-party tools.<p><img src="http://www.simple-talk.com/content/file.ashx?file=6491" /></p>]]></content:encoded></item><item><title>Converting String Data to XML and XML to String Data</title><pubDate>Wed, 01 Feb 2012 00:00:00 GMT</pubDate><category>Database Administration</category><author>Robert Sheldon</author><description><![CDATA[We all appreciate that, in general, XML documents or fragments are held in strings as text markup. In SQL Server, XML variables and columns are instead tokenised to allow rapid access to the data within. This is fine, but can cause some odd problems, auch as 'entitization'. What, also, do you do if you need to preserve the formatting? As usual Rob Sheldon comes to our aid.]]></description><link>http://www.simple-talk.com/sql/database-administration/converting-string-data-to-xml-and-xml-to-string-data/</link><content:encoded><![CDATA[We all appreciate that, in general, XML documents or fragments are held in strings as text markup. In SQL Server, XML variables and columns are instead tokenised to allow rapid access to the data within. This is fine, but can cause some odd problems, auch as 'entitization'. What, also, do you do if you need to preserve the formatting? As usual Rob Sheldon comes to our aid.<p><img src="http://www.simple-talk.com/images/placeholders/1.jpg" /></p>]]></content:encoded></item><item><title>How to Document and Configure SQL Server Instance Settings</title><pubDate>Mon, 30 Jan 2012 00:00:00 GMT</pubDate><category>SQL Training</category><author>Brad McGehee</author><description><![CDATA[Occasionally, when you install identical databases on two different SQL Server instances, they will behave in surprisingly different ways. Why? Most likely, it is down to different configuration settings. There are around seventy of these settings and the DBA needs to be aware of the effect that  many of them have. Brad McGehee explains them all in enough detail to help with most common configuration problems, and suggests some best practices.]]></description><link>http://www.simple-talk.com/sql/sql-training/how-to-document-and-configure-sql-server-instance-settings/</link><content:encoded><![CDATA[Occasionally, when you install identical databases on two different SQL Server instances, they will behave in surprisingly different ways. Why? Most likely, it is down to different configuration settings. There are around seventy of these settings and the DBA needs to be aware of the effect that  many of them have. Brad McGehee explains them all in enough detail to help with most common configuration problems, and suggests some best practices.<p><img src="http://www.simple-talk.com/content/file.ashx?file=6463" /></p>]]></content:encoded></item><item><title>What's the Point of Using VARCHAR(n) Anymore?</title><pubDate>Mon, 30 Jan 2012 00:00:00 GMT</pubDate><category>Database Administration</category><author>Rob Garrison</author><description><![CDATA[The arrival of the (MAX) data types in SQL Server 2005 were one of the most popular feature for  the database developer. At the time, there was a lot of discussion as to whether this freedom from having to specify string length came at a cost. Rob attempts to give a final answer as to any down-side.]]></description><link>http://www.simple-talk.com/sql/database-administration/whats-the-point-of-using-varchar(n)-anymore/</link><content:encoded><![CDATA[The arrival of the (MAX) data types in SQL Server 2005 were one of the most popular feature for  the database developer. At the time, there was a lot of discussion as to whether this freedom from having to specify string length came at a cost. Rob attempts to give a final answer as to any down-side.<p><img src="http://www.simple-talk.com/content/file.ashx?file=6467" /></p>]]></content:encoded></item><item><title>Confessions of a DBA: My worst mistake</title><pubDate>Mon, 23 Jan 2012 00:00:00 GMT</pubDate><category>Database Administration</category><author>Phil Factor</author><description><![CDATA[Over the next few months, we'll be asking various well-known DBAs to describe their worst disaster caused by a mistake they made.  To kick off the series, we asked Phil Factor to confess. He came up with a classic: The mistaken belief that a backup WITH CHECKSUM guaranteed a good backup that could be restored, and the ensuing disaster.]]></description><link>http://www.simple-talk.com/sql/database-administration/confessions-of-a-dba-my-worst-mistake/</link><content:encoded><![CDATA[Over the next few months, we'll be asking various well-known DBAs to describe their worst disaster caused by a mistake they made.  To kick off the series, we asked Phil Factor to confess. He came up with a classic: The mistaken belief that a backup WITH CHECKSUM guaranteed a good backup that could be restored, and the ensuing disaster.<p><img src="http://www.simple-talk.com/images/placeholders/2.jpg" /></p>]]></content:encoded></item><item><title>SQL Cop Review</title><pubDate>Thu, 19 Jan 2012 00:00:00 GMT</pubDate><category>SQL Tools</category><author>Grant Fritchey</author><description><![CDATA[Static code analysis is used a lot by application programmers, but there have been surprisingly few tools for SQL development that perform a function analogous to Resharper,  dotTest, or CodeRush. Wouldn't it be great to have something that can indicate where there are code-smells, lapses from best practice and so on, in your Database code? Now there is.  ]]></description><link>http://www.simple-talk.com/sql/sql-tools/sql-cop-review/</link><content:encoded><![CDATA[Static code analysis is used a lot by application programmers, but there have been surprisingly few tools for SQL development that perform a function analogous to Resharper,  dotTest, or CodeRush. Wouldn't it be great to have something that can indicate where there are code-smells, lapses from best practice and so on, in your Database code? Now there is.  <p><img src="http://www.simple-talk.com/content/file.ashx?file=6448" /></p>]]></content:encoded></item><item><title>Great SQL Server Debates: Buffer Cache Hit Ratio</title><pubDate>Wed, 18 Jan 2012 00:00:00 GMT</pubDate><category>Database Administration</category><author>Jonathan Kehayias</author><description><![CDATA[One of the more popular counters used by DBAs to monitor the performance, the Buffer Cache Hit Ratio, is useless as a predictor of imminent performance problems. Worse, it can be misleading. Jonathan Kehayias demonstrates this convincingly with some simple tests. ]]></description><link>http://www.simple-talk.com/sql/database-administration/great-sql-server-debates-buffer-cache-hit-ratio/</link><content:encoded><![CDATA[One of the more popular counters used by DBAs to monitor the performance, the Buffer Cache Hit Ratio, is useless as a predictor of imminent performance problems. Worse, it can be misleading. Jonathan Kehayias demonstrates this convincingly with some simple tests. <p><img src="http://www.simple-talk.com/content/file.ashx?file=6422" /></p>]]></content:encoded></item><item><title>Buck Woody's Cloud Howlers</title><pubDate>Tue, 17 Jan 2012 00:00:00 GMT</pubDate><category>Database Administration</category><author>Buck Woody</author><description><![CDATA[We asked Buck Woody to come up with his favourite 'Cloud' Howlers. After 'Howler' monkeys, we are faced with Howler letters. Buck dreams of sending Howler letters to the folks who dreamed up the marketing hype around 'cloud' services, who misunderstand services, who don't prepares applications for distributed environments and so on. ]]></description><link>http://www.simple-talk.com/sql/database-administration/buck-woodys-cloud-howlers/</link><content:encoded><![CDATA[We asked Buck Woody to come up with his favourite 'Cloud' Howlers. After 'Howler' monkeys, we are faced with Howler letters. Buck dreams of sending Howler letters to the folks who dreamed up the marketing hype around 'cloud' services, who misunderstand services, who don't prepares applications for distributed environments and so on. <p><img src="http://www.simple-talk.com/content/file.ashx?file=6418" /></p>]]></content:encoded></item><item><title>Relational Databases and Solid State Memory: An Opportunity Squandered?</title><pubDate>Tue, 17 Jan 2012 00:00:00 GMT</pubDate><category>Database Administration</category><author>Robert Young</author><description><![CDATA[The relational model was devised long before computer hardware was able to deliver an RDBMS that could deliver a fully normalized database with no performance deficit. Now, with reliable SSDs falling in price, we can reap the benefits, instead of getting distracted by NOSQL with its doubtful compromise of 'eventual consistency'.]]></description><link>http://www.simple-talk.com/sql/database-administration/relational-databases-and-solid-state-memory-an-opportunity-squandered/</link><content:encoded><![CDATA[The relational model was devised long before computer hardware was able to deliver an RDBMS that could deliver a fully normalized database with no performance deficit. Now, with reliable SSDs falling in price, we can reap the benefits, instead of getting distracted by NOSQL with its doubtful compromise of 'eventual consistency'.<p><img src="http://www.simple-talk.com/content/file.ashx?file=6417" /></p>]]></content:encoded></item><item><title>Close Those Loopholes: Lessons learned from Unit Testing T-SQL</title><pubDate>Mon, 09 Jan 2012 00:00:00 GMT</pubDate><category>Database Administration</category><author>Alex Kuznetsov</author><description><![CDATA[Alex has done some pioneering work on the testing of stored procedures over four years, and has learned a great deal in the process. In this article, he spells out the lessons learned from a wealth of experience in Unit Testing T-SQL.]]></description><link>http://www.simple-talk.com/sql/database-administration/close-those-loopholes-lessons-learned-from-unit-testing-t-sql/</link><content:encoded><![CDATA[Alex has done some pioneering work on the testing of stored procedures over four years, and has learned a great deal in the process. In this article, he spells out the lessons learned from a wealth of experience in Unit Testing T-SQL.<p><img src="http://www.simple-talk.com/content/file.ashx?file=6402" /></p>]]></content:encoded></item><item><title>Tom LaRock's SQL Server Howlers</title><pubDate>Thu, 05 Jan 2012 00:00:00 GMT</pubDate><category>Learn SQL Server</category><author>Thomas LaRock</author><description><![CDATA[In this next article in our series where well-known SQL Server people write about their favorite SQL Server Howlers, we asked Tom Larock for his top five common misunderstandings about how SQL Server works that end in tears, and plaintive forum questions.]]></description><link>http://www.simple-talk.com/sql/learn-sql-server/tom-larocks-sql-server-howlers/</link><content:encoded><![CDATA[In this next article in our series where well-known SQL Server people write about their favorite SQL Server Howlers, we asked Tom Larock for his top five common misunderstandings about how SQL Server works that end in tears, and plaintive forum questions.<p><img src="http://www.simple-talk.com/content/file.ashx?file=6399" /></p>]]></content:encoded></item><item><title>Incorporating XML into your Database Objects</title><pubDate>Wed, 04 Jan 2012 00:00:00 GMT</pubDate><category>Learn SQL Server</category><author>Robert Sheldon</author><description><![CDATA[XML data can become a full participant in a SQL Server Database, and can be used in views, functions, check constraints, computed columns and defaults. Views and table-valued functions can be used to provide a tabular view of XML data that can be used in SQL Expressions.  Robert Sheldon explains how. ]]></description><link>http://www.simple-talk.com/sql/learn-sql-server/incorporating-xml-into-your-database-objects/</link><content:encoded><![CDATA[XML data can become a full participant in a SQL Server Database, and can be used in views, functions, check constraints, computed columns and defaults. Views and table-valued functions can be used to provide a tabular view of XML data that can be used in SQL Expressions.  Robert Sheldon explains how. <p><img src="http://www.simple-talk.com/images/placeholders/3.jpg" /></p>]]></content:encoded></item><item><title>Window Functions in SQL Server: Part 3: Questions of Performance</title><pubDate>Wed, 04 Jan 2012 00:00:00 GMT</pubDate><category>Learn SQL Server</category><author>Fabiano Amorim</author><description><![CDATA[A SQL expression may look elegant on the page but it is only valuable if its performance is good. Do window functions run quicker than their conventional equivalent code? Fabiano gives a definitive answer.]]></description><link>http://www.simple-talk.com/sql/learn-sql-server/window-functions-in-sql-server-part-3-questions-of-performance/</link><content:encoded><![CDATA[A SQL expression may look elegant on the page but it is only valuable if its performance is good. Do window functions run quicker than their conventional equivalent code? Fabiano gives a definitive answer.<p><img src="http://www.simple-talk.com/content/file.ashx?file=6326" /></p>]]></content:encoded></item><item><title>Constraints and the Test-Driven Database</title><pubDate>Wed, 14 Dec 2011 00:00:00 GMT</pubDate><category>Database Administration</category><author>Sam Bendayan</author><description><![CDATA[Bad data always seems to appear when, and where, one least expects it. Sam explains the great value of a defensive approach based on constraints to any team that is developing an application in which the data has to be exactly right, and where bad data could cause consequential severe financial damage. It is perhaps better seen as creating a test-driven database.

]]></description><link>http://www.simple-talk.com/sql/database-administration/constraints-and-the-test-driven-database/</link><content:encoded><![CDATA[Bad data always seems to appear when, and where, one least expects it. Sam explains the great value of a defensive approach based on constraints to any team that is developing an application in which the data has to be exactly right, and where bad data could cause consequential severe financial damage. It is perhaps better seen as creating a test-driven database.

<p><img src="http://www.simple-talk.com/images/placeholders/4.jpg" /></p>]]></content:encoded></item><item><title>Centralized management: Tips for Managing Backups on Multiple Servers</title><pubDate>Tue, 13 Dec 2011 00:00:00 GMT</pubDate><category>Backup and Recovery</category><author>Grant Fritchey</author><description><![CDATA[Managing backups on a handful of servers should be a relatively straightforward process, but what about DBAs that need to automate to stay on top of large numbers of servers? What options are available, and how do they compare? Grant Fritchey looks at what's out there.]]></description><link>http://www.simple-talk.com/sql/backup-and-recovery/centralized-management-tips-for-managing-backups-on-multiple-servers/</link><content:encoded><![CDATA[Managing backups on a handful of servers should be a relatively straightforward process, but what about DBAs that need to automate to stay on top of large numbers of servers? What options are available, and how do they compare? Grant Fritchey looks at what's out there.<p><img src="http://www.simple-talk.com/content/file.ashx?file=6364" /></p>]]></content:encoded></item><item><title>SQL Test: Seeing Red Change to Green</title><pubDate>Tue, 13 Dec 2011 00:00:00 GMT</pubDate><category>SQL Tools</category><author>Rob Sullivan</author><description><![CDATA[Now that we have some very good test frameworks for SQL Server, particularly tSQLt, all that was missing was a way of running your unit tests from within SQL Server Management Studio, and 'seeing red change to green'. Now the wait is over, with the arrival of SQL Test in preview. Rob Sullivan is one of those users who are helping shape the way that SQL Test develops, and explains what is going on, and why.]]></description><link>http://www.simple-talk.com/sql/sql-tools/sql-test-seeing-red-change-to-green/</link><content:encoded><![CDATA[Now that we have some very good test frameworks for SQL Server, particularly tSQLt, all that was missing was a way of running your unit tests from within SQL Server Management Studio, and 'seeing red change to green'. Now the wait is over, with the arrival of SQL Test in preview. Rob Sullivan is one of those users who are helping shape the way that SQL Test develops, and explains what is going on, and why.<p><img src="http://www.simple-talk.com/content/file.ashx?file=6377" /></p>]]></content:encoded></item><item><title>Administrating SQL Server Integration Services - Planning, Documenting and Troubleshooting</title><pubDate>Mon, 12 Dec 2011 00:00:00 GMT</pubDate><category>Database Administration</category><author>Feodor Georgiev</author><description><![CDATA[SQL Server Integration Services is an essential component of SQL Server, and designed to perform a variety of routine and occasional tasks. It majors on ETL tasks and for administrative jobs across servers. The DBA needs also to be aware of their role in optimising SSIS by planning, trouble-shooting, optimising performance, and in documenting installations.  ]]></description><link>http://www.simple-talk.com/sql/database-administration/administrating-sql-server-integration-services---planning,-documenting-and-troubleshooting/</link><content:encoded><![CDATA[SQL Server Integration Services is an essential component of SQL Server, and designed to perform a variety of routine and occasional tasks. It majors on ETL tasks and for administrative jobs across servers. The DBA needs also to be aware of their role in optimising SSIS by planning, trouble-shooting, optimising performance, and in documenting installations.  <p><img src="http://www.simple-talk.com/images/placeholders/0.jpg" /></p>]]></content:encoded></item><item><title>Great SQL Server Debates: Lock Pages in Memory</title><pubDate>Mon, 12 Dec 2011 00:00:00 GMT</pubDate><category>Database Administration</category><author>Jonathan Kehayias</author><description><![CDATA[There has been much debate over the need for the Lock Pages in Memory privilege, on 64-bit versions of SQL Server. Jonathan Kehayias presents a "warts and all" account of its history, the confusions surrounding its use, and why he believes it's still a good default configuration for 64-bit SQL Server instances, even when running Windows Server 2008 and Windows Server 2008R2.]]></description><link>http://www.simple-talk.com/sql/database-administration/great-sql-server-debates-lock-pages-in-memory/</link><content:encoded><![CDATA[There has been much debate over the need for the Lock Pages in Memory privilege, on 64-bit versions of SQL Server. Jonathan Kehayias presents a "warts and all" account of its history, the confusions surrounding its use, and why he believes it's still a good default configuration for 64-bit SQL Server instances, even when running Windows Server 2008 and Windows Server 2008R2.<p><img src="http://www.simple-talk.com/images/placeholders/1.jpg" /></p>]]></content:encoded></item><item><title>The XML Methods in SQL Server</title><pubDate>Thu, 08 Dec 2011 00:00:00 GMT</pubDate><category>Learn SQL Server</category><author>Robert Sheldon</author><description><![CDATA[The XML Data type has definite uses, but the way of interrogating, retrieving, and manipulating the values of properties and attributes within XML have been so foreign to the SQL language as to be somewhat of a barrier to their use. Fortunately, Robert Sheldon has once more managed to make the subject accessible to those of us who just need to get the job done.]]></description><link>http://www.simple-talk.com/sql/learn-sql-server/the-xml-methods-in-sql-server/</link><content:encoded><![CDATA[The XML Data type has definite uses, but the way of interrogating, retrieving, and manipulating the values of properties and attributes within XML have been so foreign to the SQL language as to be somewhat of a barrier to their use. Fortunately, Robert Sheldon has once more managed to make the subject accessible to those of us who just need to get the job done.<p><img src="http://www.simple-talk.com/images/placeholders/2.jpg" /></p>]]></content:encoded></item></channel></rss>
