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 -> PLSQL/ UPDATE statement

PLSQL/ UPDATE statement

From: Kevin Burton <pdsinc_at_compuserve.com>
Date: Wed, 12 Jan 2000 08:37:56 -0500
Message-ID: <85i01a$m7o$1@ssauraac-i-1.production.compuserve.com>


In Sybase I have the ability to update columns in a table A by joining to another table B. The syntax is'

UPDATE Table 1

    set table1.col1 = Table2.col1,

          table1.col2 = Table2.col3
 WHERE table1.col3 = Table2.col2;

I can't do that in Oracle. Can I do this without creating a cursor? I want to be able to this in a stored procedure.

Received on Wed Jan 12 2000 - 07:37:56 CST

Original text of this message

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