|
Necesito actualizar varios campos de importes de una tabla, una solución seria por SQL con una sentencia tal como : UPDATE librería/tabla1 SET (Importe1, Importe2, Importe3) = (SELECT IMP1, IMP2, IMP3 FROM LIBRERÍA/TABLA2 WHERE TABLA2/CAMPO2 = TABLA1/CAMPO1 ) esto funcionaria bien si todo CAMPO1 estuviera en tabla2/campo2, pero mi caso no es ese y me da error la sentencia. ¿COMO PODRIA SOLUCIONARLO?
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.