Task scheduling http://demo.sqlmag.com/taxonomy/term/7631/more en Move Database Files Without Taking the Database Offline http://demo.sqlmag.com/t-sql/move-database-files-without-taking-database-offline <div class="field-byline"> Dejan Nakarada-Kordic </div> <div class="field-deck"> <p>The ALTER DATABASE and DBCC SHRINKFILE commands make it possible</p> </div> <div class="node-body article-body">If you move database files using one the methods prescribed in the SQL Server documentation, you have to take your databases offline. You can avoid this situation by using the ALTER DATABASE and DBCC SHRINKFILE commands.</div> <div class="og_rss_groups"></div><p><a href="http://demo.sqlmag.com/t-sql/move-database-files-without-taking-database-offline" target="_blank">read more</a></p> http://demo.sqlmag.com/t-sql/move-database-files-without-taking-database-offline#comments T-SQL Database Development Storage SQL Server Database Administration Data Management Database Administration Development Migration Scripting Scripting languages SQL Server Storage T-SQL Task scheduling Fri, 19 Feb 2010 05:00:00 +0000 6992 at http://demo.sqlmag.com Use SSIS to Access WMI Data on Multiple Servers http://demo.sqlmag.com/sql-server-2005/use-ssis-access-wmi-data-multiple-servers <div class="field-byline"> Gabriela Nanau </div> <div class="field-deck"> The WMI Data Reader task makes it possible </div> <div class="node-body article-body">Using SSIS's WMI Data Reader task, you can collect a lot of useful information about the hardware and software installed on your servers.</div> <div class="og_rss_groups"></div><p><a href="http://demo.sqlmag.com/sql-server-2005/use-ssis-access-wmi-data-multiple-servers" target="_blank">read more</a></p> http://demo.sqlmag.com/sql-server-2005/use-ssis-access-wmi-data-multiple-servers#comments Database Development SQL Server 2005 SQL Server Business Intelligence Business Intelligence Business Intelligence Development Studio (BIDS) Development Scripting SQL Server SQL Server 2005 Task scheduling Thu, 10 Sep 2009 03:00:00 +0000 8192 at http://demo.sqlmag.com Using a Variable to Store the WMI Data Reader Task's Output http://demo.sqlmag.com/sql-server-2005/using-variable-store-wmi-data-reader-tasks-output <div class="field-byline"> Gabriela Nanau </div> <div class="node-body article-body">In an SSIS package, you can use a WMI Data Reader task to obtain WMI data from servers. Here's what you need to do to store the task's output in a variable.</div> <div class="og_rss_groups"></div><p><a href="http://demo.sqlmag.com/sql-server-2005/using-variable-store-wmi-data-reader-tasks-output" target="_blank">read more</a></p> http://demo.sqlmag.com/sql-server-2005/using-variable-store-wmi-data-reader-tasks-output#comments Database Development SQL Server 2005 SQL Server Business Intelligence Business Intelligence Business Intelligence Development Studio (BIDS) Development Scripting SQL Server SQL Server 2005 Task scheduling Thu, 10 Sep 2009 03:00:00 +0000 5031 at http://demo.sqlmag.com Find Strings in Database Code, SQL Server Agent Jobs, and SSIS Packages http://demo.sqlmag.com/sql-server-2005/find-strings-database-code-sql-server-agent-jobs-and-ssis-packages <div class="field-byline"> Bill Lescher </div> <div class="field-deck"> T-SQL stored procedure is functional and flexible </div> <div class="node-body article-body">After discovering a useful T-SQL stored procedure, a reader and his coworkers adapt it so it can perform more types of searches and more refined searches when needed.</div> <div class="og_rss_groups"></div><p><a href="http://demo.sqlmag.com/sql-server-2005/find-strings-database-code-sql-server-agent-jobs-and-ssis-packages" target="_blank">read more</a></p> http://demo.sqlmag.com/sql-server-2005/find-strings-database-code-sql-server-agent-jobs-and-ssis-packages#comments Database Development SQL Server 2005 SQL Server Database Administration Administration Tools Database Administration Development Fundamental Home Technology Home Theater Scripting SQL Server SQL Server 2005 Stored Procedures Task scheduling Tips Mon, 11 May 2009 03:00:00 +0000 5246 at http://demo.sqlmag.com Quickly Identify Columns with Mismatched Data Types http://demo.sqlmag.com/t-sql/quickly-identify-columns-mismatched-data-types <div class="field-byline"> Readers </div> <div class="field-deck"> T-SQL utility finds mismatched columns so you can correct them </div> <div class="node-body article-body">Here's a utility that you can use to quickly find which columns have mismatched data types across tables in a SQL Server 2008 or SQL Server 2005 database. Correcting these columns can improve performance and data integrity.</div> <div class="og_rss_groups"></div><p><a href="http://demo.sqlmag.com/t-sql/quickly-identify-columns-mismatched-data-types" target="_blank">read more</a></p> http://demo.sqlmag.com/t-sql/quickly-identify-columns-mismatched-data-types#comments T-SQL Database Development SQL Server 2005 SQL Server Database Administration Database Administration Development Scripting Scripting languages SQL Server SQL Server 2005 T-SQL Task scheduling Thu, 22 Jan 2009 04:00:00 +0000 5593 at http://demo.sqlmag.com Change Many Server Configuration Options in One Fell Swoop http://demo.sqlmag.com/t-sql/change-many-server-configuration-options-one-fell-swoop <div class="field-byline"> Eli Leiba </div> <div class="field-deck"> Automate changes by using a T-SQL stored procedure and a .config file </div> <div class="node-body article-body">You can change many configuration options in SQL Server 2005 and SQL Server 2000 simultaneously by using a.config file and a T-SQL stored procedure that automates the use of the sp_configure system stored procedure.</div> <div class="og_rss_groups"></div><p><a href="http://demo.sqlmag.com/t-sql/change-many-server-configuration-options-one-fell-swoop" target="_blank">read more</a></p> http://demo.sqlmag.com/t-sql/change-many-server-configuration-options-one-fell-swoop#comments T-SQL Database Development SQL Server 2005 Storage SQL Server Database Administration Administration Tools Configuration Data Management Database Administration Development Scripting Scripting languages SQL Server SQL Server 2000 SQL Server 2005 Storage Stored Procedures T-SQL Task scheduling Tue, 23 Dec 2008 04:00:00 +0000 4614 at http://demo.sqlmag.com Modify Words (and Not Strings) in Tables http://demo.sqlmag.com/t-sql/modify-words-and-not-strings-tables <div class="field-byline"> Christian Mercure </div> <div class="field-deck"> <p>UDF changes only what it's supposed to</p> </div> <div class="node-body article-body">Need to change the word "Bikes" to "Trucks" without modifying "SuperBikes" to "SuperTrucks" or perform another word-replacement operation? This user-defined function (UDF) will do the trick.</div> <div class="og_rss_groups"></div><p><a href="http://demo.sqlmag.com/t-sql/modify-words-and-not-strings-tables" target="_blank">read more</a></p> http://demo.sqlmag.com/t-sql/modify-words-and-not-strings-tables#comments T-SQL Database Development SQL Server Database Administration Database Administration Development Intermediate Scripting Scripting languages Scripting techniques SQL Server T-SQL Task scheduling User defined function (UDF) Thu, 30 Oct 2008 04:00:00 +0000 7327 at http://demo.sqlmag.com Three-In-One Database Maintenance Solution http://demo.sqlmag.com/t-sql/three-one-database-maintenance-solution <div class="field-byline"> Ola Hallengren </div> <div class="field-deck"> Back up databases, check their integrity, and optimize indexes </div> <div class="node-body article-body">MaintenanceSolution.sql lets you easily back up databases, check their integrity, and optimize indexes. This script is set up so that you can perform each task independently on the databases you specify.</div> <div class="og_rss_groups"></div><p><a href="http://demo.sqlmag.com/t-sql/three-one-database-maintenance-solution" target="_blank">read more</a></p> http://demo.sqlmag.com/t-sql/three-one-database-maintenance-solution#comments Database Backup and Recovery T-SQL Database Development SQL Server 2005 SQL Server Database Administration Administration Tools Backup & Recovery Database Administration Development Fundamental Scripting Scripting languages SQL Server SQL Server 2005 Stored Procedures T-SQL Task scheduling Thu, 30 Oct 2008 03:00:00 +0000 9971 at http://demo.sqlmag.com Quickly Find Your Worst-Performing T-SQL Statements http://demo.sqlmag.com/t-sql/quickly-find-your-worst-performing-t-sql-statements <div class="field-byline"> Greg A. Larsen </div> <div class="field-deck"> Stored procedure lets you avoid the hassles associated with writing DMV and DMF queries on the fly </div> <div class="node-body article-body">Here's a stored procedure that lets you quickly and easily produce customized reports showing the poorest-performing T-SQL statements that were run against your SQL Server 2008 and SQL Server 2005 databases.</div> <div class="og_rss_groups"></div><p><a href="http://demo.sqlmag.com/t-sql/quickly-find-your-worst-performing-t-sql-statements" target="_blank">read more</a></p> http://demo.sqlmag.com/t-sql/quickly-find-your-worst-performing-t-sql-statements#comments T-SQL Database Development SQL Server 2005 SQL Server Database Administration Administration Tools Database Administration Development Fundamental Scripting Scripting languages SQL Server SQL Server 2005 Stored Procedures T-SQL Task scheduling Thu, 30 Oct 2008 03:00:00 +0000 8731 at http://demo.sqlmag.com Track Database Disk-Space Usage on a Granular Level http://demo.sqlmag.com/t-sql/track-database-disk-space-usage-granular-level <div class="field-byline"> Shaunt Khaldtiance </div> <div class="field-deck"> Find out how much space is being used by tables and their indexes </div> <div class="node-body article-body">The SpaceUsedAnalyzer stored procedure provides detailed information on how much space is being used by tables and their indexes so that you can manage disk space more efficiently.</div> <div class="og_rss_groups"></div><p><a href="http://demo.sqlmag.com/t-sql/track-database-disk-space-usage-granular-level" target="_blank">read more</a></p> http://demo.sqlmag.com/t-sql/track-database-disk-space-usage-granular-level#comments T-SQL Database Development SQL Server 2005 SQL Server Database Administration Administration Tools Database Administration Development Fundamental Scripting Scripting languages SQL Server SQL Server 2005 Stored Procedures T-SQL Task scheduling Thu, 30 Oct 2008 03:00:00 +0000 6492 at http://demo.sqlmag.com