dcsimg
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
 

Tip: 3 Hints for Achieving Faster SQL Queries

Follow these three tips to help increase the performance of your SQL queries.


advertisement

WEBINAR:

On-Demand

Building the Right Environment to Support AI, Machine Learning and Deep Learning


For faster SQL queries, follow these hints.

  1. Know your data:
    When you know your data, or the structure of where your data is coming from, you will know how to formulate queries to get the needed information in the quickest possible way.
  2. Leave the Clipboard Alone:
    People tend to reuse code from other developers because the code already exists and time is saved. The problem, however, is that the code copied may result in slow queries, and thus could have been improved upon by not trying to save time to copy.
  3. Table-valued Functions:
    Make use of table-valued functions instead of scalar function whenever possible. This increases performance and reduces time spent on executing the function.

Visit the DevX Tip Bank

 





   
Thanks for your registration, follow us on our social networks to keep up-to-date