×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
http://archive.midrange.com/rpg400-l/200702/msg00415.html
Celebrating 10-Years of SQL Performance Excellence
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[
mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Peter Vidal
Sent: Tuesday, April 17, 2007 2:22 PM
To: midrange-l@xxxxxxxxxxxx
Subject: SQL UPDATE with SELECT not working
Hi list:
What is wrong here?
UPDATE PVIDAL/INSPEC SET INMJMN = '6' WHERE SELECT INSPEC.INITEM,
INSPEC.INATRB, INSPEC.INOPNO, INSPEC.INSEQ, INSPEC.INSRT,
INSPEC.INMJMN, RTGOPR.WKCTR FROM AERODTATST/INSPEC, AMFLIBN/RTGOPR
WHERE INSPEC.INITEM = RTGOPR.RTID AND ((INSPEC.INATRB Like
'%ANODIZE%') AND (INSPEC.INMJMN<>6) AND (RTGOPR.WKCTR='CA00'))
The error message is:
Token INSPEC was not valid. Valid tokens: < > = <> <= !< !> != >= ¬<
The cursor is placed on INSPEC.INITEM, immediatelly after the SELECT
clause.
TIA,
Peter Vidal
PALL Corporation / SR Programmer Analyst, IT Development Group
10540 Ridge Rd., Ste 203, New Port Richey, FL 34654-5111
http://www.pall.com
"Good habits result from resisting temptation."
Ancient Proverb
As an Amazon Associate we earn from qualifying purchases.