|
Steve: I believe you are missing the word "exists", as in the following... UPDATE library/file SET field = 'U' WHERE exists (SELECT fields FROM library/file WHERE conditions) This indicates that the only records that you want updated are those that "exist" in the subquery. Normally your "conditions" would include some link between the file being updated and the file in the subquery (a.field = b.field). Hope that helps, --Bruce Guetzkow
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.