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 -> Update by rownum

Update by rownum

From: daniellopez21 <daniellopez21_at_gmail.com>
Date: 18 Oct 2005 04:34:00 -0700
Message-ID: <1129635240.033116.38060@z14g2000cwz.googlegroups.com>


Hello, I have a 2 tables (SGI_AC_ABONADOS_CMT_GUIA, MY_TEMP). The 2 tables have 5.580rows.

I don't have a column for join 2 tables.

żI can update a table, by rownum?

For Example:
UPDATE SGI_AC_ABONADOS_CMT_GUIA a
SET a.conmodif = (SELECT b.codmodif FROM MY_TEMP WHERE b.rownum = a.rownum)

But the example is bad. :S Received on Tue Oct 18 2005 - 06:34:00 CDT

Original text of this message

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