Re: selecting rows with empty fields?
From: John L. Laine <jllaine_at_raytheon.com>
Date: Fri, 05 Jan 2001 07:28:48 -0500
Message-ID: <3A55BE00.A28FBD8B_at_raytheon.com>
Date: Fri, 05 Jan 2001 07:28:48 -0500
Message-ID: <3A55BE00.A28FBD8B_at_raytheon.com>
You are 99% there already
Fraser wrote:
> I'm trying to insert data from one table to another, but I want the
insert into TABLEA (COL_1, COL_2, COL_3)
select COL_1, COL_2, COL_3
from TABLEB where COL_3 IS NOT NULL;
> insert statement to skip all rows where a specific field is empty.
> For example:
> insert into TABLEA (COL_1, COL_2, COL_3)
> select COL1, COL_2, COL_3
> from TABLEB where COL_3 = NOT NULL;
Received on Fri Jan 05 2001 - 13:28:48 CET