|
I'm new to embedding SQL, and I have what seems like a silly problem. I did search the archives, but all the entries regarding problems with delete statements in SQL had to do with the complexity of the statement, wheras the following is rather simple, but doesn't seem to work. Here's the statement: C/Exec SQL delete from oebhxd C+ Where ASItem = '90000' C/End-Exec ASITEM is a 12 character field. This works fine in interactive SQL. When I run it embedded in SQLRPGLE, SQLSTT returns a '55019'. What am I doing wrong ? Greg Fleming Programmer/Analyst Everglades Direct, Inc. 720 International Parkway Sunrise, FL 33325 954.514.2258 954.851.1201 Fax gfleming@xxxxxxxxxxxxxxxxxxxx
As an Amazon Associate we earn from qualifying purchases.
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.