Last updated February 7, 2011. Created on August 25, 2009.
Edited by jefdk, LeeHunter, Damien Tournoud, grub3. Log in to edit this page.

These guidelines provide some tips for writing efficient SQL code.

Guidelines apply to MySQL and PostgreSQL.

Note that in Drupal 7 there is a Database API that provides a standard, vendor-agnostic abstraction layer for accessing database servers.

Looking for support? Visit the Drupal.org forums, or join #drupal-support in IRC.