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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Insert into 2 tables at one time

Re: Insert into 2 tables at one time

From: Martic Zoran <zoran_martic_at_yahoo.com>
Date: Fri, 18 Mar 2005 03:03:44 -0800 (PST)
Message-ID: <20050318110345.7694.qmail@web52601.mail.yahoo.com>


Just simple example:

insert into emp values (seq1.nextval, ....) returning empid into :somebind;
insert into dept values (..,:somebind, ...);

Regards,
Zoran


Do you Yahoo!?
Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/
--
http://www.freelists.org/webpage/oracle-l
Received on Fri Mar 18 2005 - 06:07:23 CST

Original text of this message

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