Re: SQL Experts Only

From: Craig Anglemier <Canglemi_at_CableHealth.com>
Date: 1996/08/07
Message-ID: <4ua74a$3f4_004_at_TOASTER.CHC1>#1/1


In article <MPLANET.3207f769kennedy989685_at_news.enteract.com>, kennedy_at_enteract.com (Ken Kennedy) wrote:

Try

insert into table_b (identifier_id, fk_table_a_id)

        select identifier_id, identifier_id
        from table table_a
        where ......

first row references field names in table_b the select stmnt ref. col. names in table_a. table_a must have unique or primary key on identifier_id for fk to be inforced.

Good luck,
Craig Received on Wed Aug 07 1996 - 00:00:00 CEST

Original text of this message