Querying http://sqlmag.com/taxonomy/term/7875/more en Improve the Performance of Data Warehouse Queries with Columnstore Indexes http://sqlmag.com/sql-server-2012/improve-performance-data-warehouse-queries-columnstore-indexes <div class="field-byline"> Benjamin Nevarez </div> <div class="field-deck"> What you need to know to get started using these new indexes </div> <div class="node-body article-body">If you write queries against a data warehouse, you'll want to explore the new columnstore indexes in SQL Server 2012. Here's what you need to know to get started using them.</div> <p><a href="http://sqlmag.com/sql-server-2012/improve-performance-data-warehouse-queries-columnstore-indexes" target="_blank">read more</a></p> http://sqlmag.com/sql-server-2012/improve-performance-data-warehouse-queries-columnstore-indexes#comments Microsoft SQL Server Administration Tools columnstore index technology Database Administration Databases Microsoft Microsoft SQL Server Querying SQL SQL Server SQL Server Analysis Services SQL Server Denali Sat, 25 Feb 2012 01:33:00 +0000 4631 at http://sqlmag.com Do You Need a SQL Server Query Hint? http://sqlmag.com/database-development/do-you-need-sql-server-query-hint <div class="field-byline"> Kalen Delaney </div> <div class="node-body article-body">Find out how query hints can benefit you in certain situations and how the hints affect SQL Server's built-in query optimizer.</div> <p><a href="http://sqlmag.com/database-development/do-you-need-sql-server-query-hint" target="_blank">read more</a></p> http://sqlmag.com/database-development/do-you-need-sql-server-query-hint#comments Software Development Microsoft SQL Server Administration Tools Commentary Database Administration Database Administrator Database Developer Querying SQL Server SQL Server 2000 SQL Server 2005 SQL Server 2008 SQL Server 2008 R2 SQL Server 7.0 Thu, 17 Mar 2011 13:00:00 +0000 4891 at http://sqlmag.com Parallelism in SQL Server Query Tuning http://sqlmag.com/sql-server/parallelism-sql-server-query-tuning <div class="field-byline"> Itzik Ben-Gan </div> <div class="field-deck"> Two tools to use at your own risk </div> <div class="node-body article-body">SQL Server's choices of whether or not to use parallelism, the degree of parallelism (DOP), and CPU costing aspects of iterators depend on the number of CPUs available in the machine. Itzik presents two tools that make it easy to work on parallelism aspects of queries when you don't have access to the target system.</div> <p><a href="http://sqlmag.com/sql-server/parallelism-sql-server-query-tuning" target="_blank">read more</a></p> http://sqlmag.com/sql-server/parallelism-sql-server-query-tuning#comments Software Development Microsoft SQL Server Administration Tools Database Administration Database Development Database management systems Development Microsoft SQL Server Querying SQL Server T-SQL Mon, 14 Mar 2011 18:51:00 +0000 7588 at http://sqlmag.com New Products: Hedgehog Enterprise 4.1, SQL Complete, DB PowerStudio, and More http://sqlmag.com/sql-server/new-products-hedgehog-enterprise-41-sql-complete-db-powerstudio-and-more <div class="field-byline"> Brian Reinholz </div> <div class="node-body article-body">Check out the latest products from Devart, Embarcadero, Quest Software, Red-Gate Software, and Sentrigo.</div> <p><a href="http://sqlmag.com/sql-server/new-products-hedgehog-enterprise-41-sql-complete-db-powerstudio-and-more" target="_blank">read more</a></p> http://sqlmag.com/sql-server/new-products-hedgehog-enterprise-41-sql-complete-db-powerstudio-and-more#comments Business Intelligence Software Development Microsoft SQL Server Administration Tools Business Decision Maker Database Administration Database Administrator Database Developer Database Development Database security Development Monitoring and Analysis News Performance Query Analyser Query Editor Querying SQL Server T-SQL Vendor Fri, 28 Jan 2011 14:05:00 +0000 5295 at http://sqlmag.com Execute a Stored Procedure Within a Query http://sqlmag.com/database-administration/execute-stored-procedure-within-query <div class="field-byline"> Eli Leiba </div> <div class="node-body article-body">Stored procedures are typically executed with an EXEC statement. However, you can execute a stored procedure implicitly from within a SELECT statement, provided that the stored procedure returns a result set. The OPENROWSET function is key to this technique.</div> <p><a href="http://sqlmag.com/database-administration/execute-stored-procedure-within-query" target="_blank">read more</a></p> http://sqlmag.com/database-administration/execute-stored-procedure-within-query#comments Software Development Microsoft SQL Server Administration Tools Community Database Administration Development Querying Reader-submitted articles Reader-submitted code Reusable code Scripting Scripting languages Scripting techniques SQL Server SQL Server 2005 SQL Server 2008 Store procedures T-SQL Fri, 17 Sep 2010 03:01:00 +0000 4924 at http://sqlmag.com T-SQL Deep Dives: Create Efficient Queries http://sqlmag.com/database-administration/t-sql-deep-dives-create-efficient-queries <div class="field-byline"> Itzik Ben-Gan </div> <div class="field-deck"> Tips and techniques for common querying tasks </div> <div class="node-body article-body">Coming up with a T-SQL query that not only works but also performs well can be challenging. Here are some tips and techniques on how to efficiently perform some common querying tasks.</div> <p><a href="http://sqlmag.com/database-administration/t-sql-deep-dives-create-efficient-queries" target="_blank">read more</a></p> http://sqlmag.com/database-administration/t-sql-deep-dives-create-efficient-queries#comments Software Development Microsoft SQL Server Administration Tools Database Administration Development Performance tuning Querying Scripting Scripting languages Scripting techniques Searching and querying SQL Server T-SQL Thu, 08 Jul 2010 03:01:00 +0000 6277 at http://sqlmag.com Reporting on Non-Existent Data http://sqlmag.com/database-administration/reporting-non-existent-data <div class="field-byline"> Gennadiy Chornenkyy </div> <div class="node-body article-body">Writing queries that report on data that doesn't exist is tricky. Here's how you can avoid some of the problems that can occur.</div> <p><a href="http://sqlmag.com/database-administration/reporting-non-existent-data" target="_blank">read more</a></p> http://sqlmag.com/database-administration/reporting-non-existent-data#comments Microsoft SQL Server Administration Tools Database Administration Performance Querying Reader to Reader SQL Server SQL Server 2005 SQL Server 2008 Wed, 19 May 2010 03:01:00 +0000 4736 at http://sqlmag.com Improving the Performance of Distributed Queries http://sqlmag.com/database-performance-tuning/improving-performance-distributed-queries <div class="field-byline"> Will Alber </div> <div class="node-body article-body">Writing a distributed query is easy—so easy, in fact, that you might not even consider them any different from a run-of-the-mill local query—but there are many potential pitfalls waiting for the unsuspecting DBA to fall into. </div> <p><a href="http://sqlmag.com/database-performance-tuning/improving-performance-distributed-queries" target="_blank">read more</a></p> http://sqlmag.com/database-performance-tuning/improving-performance-distributed-queries#comments Software Development Microsoft SQL Server Administration Tools Database Administration Development Performance Querying Scripting Scripting languages SQL Server SQL Server 2008 T-SQL Fri, 09 Apr 2010 23:01:00 +0000 8290 at http://sqlmag.com Do You Have Hidden Cache Problems? http://sqlmag.com/database-performance-tuning/do-you-have-hidden-cache-problems <div class="field-byline"> Andrew J. Kelly </div> <div class="field-deck"> Discover how ad hoc queries can adversely affect your SQL Server 2005 system </div> <div class="node-body article-body">Most people know that proper plan reuse is essential to good performance but there is another aspect that everyone should explore to ensure peak performance.</div> <p><a href="http://sqlmag.com/database-performance-tuning/do-you-have-hidden-cache-problems" target="_blank">read more</a></p> http://sqlmag.com/database-performance-tuning/do-you-have-hidden-cache-problems#comments Microsoft SQL Server Administration Tools Database Administration Performance Querying SQL Server SQL Server 2005 Stored Procedures Tue, 23 Feb 2010 04:00:00 +0000 7849 at http://sqlmag.com Querying Active Directory Records http://sqlmag.com/t-sql/querying-active-directory-records <div class="field-byline"> Jameel Ahmed </div> <div class="field-deck"> A look at three methods and their results </div> <div class="node-body article-body">Three common methods for querying AD are using a linked server, using an SSIS ADO.NET connection manager, and using an SSIS Script component. But these three methods aren't equal. Learn how they work and why their results differ.</div> <p><a href="http://sqlmag.com/t-sql/querying-active-directory-records" target="_blank">read more</a></p> http://sqlmag.com/t-sql/querying-active-directory-records#comments Business Intelligence Microsoft Visual Studio Software Development Microsoft SQL Server .NET Framework Active Directory Administration Tools Business Intelligence Development Studio (BIDS) Database Administration Development Querying Scripting Scripting languages SQL Server SQL Server 2005 T-SQL Wed, 12 Aug 2009 03:00:00 +0000 6849 at http://sqlmag.com