Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: SELECT statement efficiency question

Re: SELECT statement efficiency question

From: Mladen Gogala <mgogala.SPAM_ME.NOT_at_verizon.net>
Date: Sun, 08 Apr 2007 05:02:53 GMT
Message-Id: <pan.2007.04.08.05.02.53@verizon.net>


On Sun, 08 Apr 2007 00:30:14 -0500, Dereck L. Dietz wrote:

> This is a data warehouse load. The input source has some rows with
> "DATA" and "CORRECTION" in the name fields which indicate there needs to
> be a data correction and also that those rows are NOT to be loaded into
> the tables.

May be a flag column defined like this:

should_load char(1) default 'Y' check (col1 in ('Y','N'))

would serve you better then the convention with names that you currently use?

-- 
http://www.mladen-gogala.com
Received on Sun Apr 08 2007 - 00:02:53 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US