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: UPDATE SQL

Re: UPDATE SQL

From: Niall Litchfield <niall.litchfield_at_gmail.com>
Date: Wed, 13 Oct 2004 12:52:24 +0100
Message-ID: <7765c8970410130452a845433@mail.gmail.com>


depending on your table structure you should be able to use one of

update (select statement) set col1=newval

or
update profile customers set sp_type_cd=( select statement)
where exists(
select statement);

--

Niall Litchfield
Oracle DBA
http://www.niall.litchfield.dial.pipex.com
--

http://www.freelists.org/webpage/oracle-l Received on Wed Oct 13 2004 - 06:48:01 CDT

Original text of this message

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