Re: Stupid Database Tricks

From: --CELKO-- <jcelko212_at_earthlink.net>
Date: 19 Jun 2004 16:04:17 -0700
Message-ID: <18c7b3c2.0406191504.5b0c687e_at_posting.google.com>


This thread is funny in a sad way:)

  1. Never use a VIEW; load the data into temp tables on the fly with updates and inserts. But then forget that the base tables that built that data have changed since the last time you looked at the temp tables.
  2. Find a problem (extra blanks in text, out of range numbers, whatever)during a regular program execution. Fix it in the front end code and don't tell the DBA so he could add a CHECK() constraint or something that would help everyone.
  3. Do not put comments in SQL.
Received on Sun Jun 20 2004 - 01:04:17 CEST

Original text of this message