|
Alright! Learned another SQL trick! Thanks to both Tommy and Charles! Charles, this is a "one-time fix" and three fields will be updated on selected records. Not sure I want to go through the trouble, small as it is, of setting up a journal and requiring more code to pull the journal entries out and printing them. Thanks again, guys! - Dan On 7/13/05, Wilt, Charles <CWilt@xxxxxxxxxxxx> wrote: > Sure, providing that the fetch is done from a single file or an updatable > view. > > You need to define the cursor as being SELECT <...> FOR UPDATE <...> > > The update clause is > UPDATE myfile > set field1 = '01' > WHERE CURRENT OF :myCusor > > > However, having said that. Have you considered journaling or a trigger? > > Journaling in particular is designed to provide the audit report you are > looking for.
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.