|
James, something like this, perhaps: UPDATE inship SET SHTEL# = select CMTEL from arcust where SHCOMP=CMCOMP and SHBRAN=CMBRAN and SHACC=CMACC and SHCODE='00' and SHTEL# = ' ' Regards, Carel Teijgeler. *********** REPLY SEPARATOR *********** On 30-8-02 at 10:36 James Rich wrote: >select SHTEL#,CMTEL from inship,arcust where SHCOMP=CMCOMP and >SHBRAN=CMBRAN and SHACC=CMACC and SHCODE='00' and SHTEL# = ' ' > >What I want to do now is update the SHTEL# field in file inship with the >value in CMTEL in file arcust according to the same conditions specified >above. Anyone know how to do this in SQL? > >James Rich > >_______________________________________________ >This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list >To post a message email: MIDRANGE-L@midrange.com >To subscribe, unsubscribe, or change list options, >visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l >or email: MIDRANGE-L-request@midrange.com >Before posting, please take a moment to review the archives >at http://archive.midrange.com/midrange-l.
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.