× 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.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.