Articles: SQL

Articles about SQL

Other articles

The Distance Between Two Points - 13 Mar 2014

What can mathematics do for your programming? That's an interesting question to explore, even more so when answered with an example.

SQL

Working with Subqueries in SQL Server 2008 Best Practices - 14 Nov 2010

When working with subqueries and common table expressions, you should consider the following best practices: Use subqueries to break down complex queries Consider the performance of subqueries, compared to other methods for retrieving data Use...

SQL

Joining Data from Multiple Tables Best Practices - 06 Nov 2010

Consider the following when you join data from multiple tables: Join tables on primary and foreign keys because it improves performance Limit the number of tables in a join Limit the number of tables in a join query because too many joins can s...

SQL

Data Grouping and Summarising Best Practices - 06 Nov 2010

When you use clauses and operators to summarize data, consider the following: Index frequently aggregated columns to improve performance Avoid using aggregate functions on columns that contain NULL values Use the ORDER BY clause to guarantee t...

SQL

T-SQL Recommended Practices - 06 Nov 2010

The following recommended practices should help you work with T-SQL, effectively and efficiently.

SQL

Covering Indices - 06 Nov 2010

If you create an index containing all the columns (or more) that you need for a query, then this is referred to as a covering index.

SQL

Monitoring and Controlling Resources Best Practices in SQL Server 2008 - 06 Nov 2010

The best practices for monitoring and controlling resources in SQL Server 2008 are: Establish a performance baseline over a period of time that reflects the differing utilization of SQL Server 2008 over the business cycle Choose an appropriate ...

SQL

Backup Best Practices for SQL Server 2008 - 27 Oct 2010

Follow the guidelines given below when planning and implementing an appropriate backup strategy: Perform backups on a regular basis.

SQL

Indexing Best Practices in SQL Server 2008 - 26 Oct 2010

For best results, adhere to the following best practices when creating and optimizing indices in SQL Server 2008 (caveats apply): Create indices on columns that join tables, including primary and foreign keys to improve query performance Place ...

SQL

Find the Length of a Text Field in SQL - 28 Sep 2010

Normally you can use the LEN function to find the length of a string field, however this does not work on a text field.

SQL


 

Copyright © 2024 carlbelle.com