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

Home -> Community -> Usenet -> c.d.o.misc -> Re: move a row from table t1 to t2

Re: move a row from table t1 to t2

From: DA Morgan <damorgan_at_psoug.org>
Date: Thu, 01 Feb 2007 08:49:34 -0800
Message-ID: <1170348569.630544@bubbleator.drizzle.com>


Prasath wrote:
> Hi,
>
> I have a requirement, where I frequently move a row from table t1 to
> t2. The tables have an identical structure.
>
> I accomplish this task in two steps.
>
> 1. INSERT into t2.
> 2. DELETE from t1.
>
> Is there an efficient way of doing this? Can this be accomplished in
> one step?
>
> Thanks,
> Prasath.

I can't think of one.

-- 
Daniel A. Morgan
University of Washington
damorgan_at_x.washington.edu
(replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org
Received on Thu Feb 01 2007 - 10:49:34 CST

Original text of this message

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