Quantcast
Channel: Rick Schott - _DOT_NET_STUFF and more... » SQL
Viewing all articles
Browse latest Browse all 4

Ten Common SQL Programming Mistakes

$
0
0

Full article here.

It is not always easy to spot “antipatterns” in your SQL, especially in more complex queries. In this article, Plamen demonstrates some of the most common SQL coding errors that he encounters, explains their root cause, and illustrates potential solutions

  1. NULLs and the NOT IN predicate
  2. Functions on indexed columns in predicates
  3. Incorrect subquery column
  4. Data type mismatch in predicates
  5. Predicate evaluation order
  6. Outer joins and placement of predicates
  7. Subqueries that return more than one value
  8. Use of SELECT *
  9. Scalar user-defined functions
  10. Overuse of cursors


Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images