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 error...!

Update error...!

From: pal <jayadevpaleri_at_gmail.com>
Date: Mon, 19 Nov 2007 02:10:32 -0800 (PST)
Message-ID: <882764cf-82dd-4c11-a24b-6297fa016dee@a39g2000pre.googlegroups.com>


UPDATE paywork
SET ot1_hrs = 0,

	 ot1_amount = 0,
	 ot2_hrs = 0,
	ot2_amount= 0,
	 ot3_hrs= 0,
FROM paywork,
	  emp_master
WHERE ( paywork.emp_code = emp_master.emp_code ) AND
	   ( emp_master.loc_cd like :is_loc_cd  ) ;


this code is giving me error..

Whether i can use "From" in an update query? cos SQL plus is giving an error message on that,

if i'm not using the from i cant check the condition on where clause.

Can any one tell me what i can do for this Received on Mon Nov 19 2007 - 04:10:32 CST

Original text of this message

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