× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



david,

Do you object if posters with questions/answers clarify a few points in a
language other than English?  (I ask, because I'd think it daunting to get
up the nerve to post a question in a language I'm not fluent in, myself.)

Once the connection is made, posters can contact each other off-list, in
whatever language they choose.

JMHO.

jt


| -----Original Message-----
| From: rpg400-l-admin@midrange.com [mailto:rpg400-l-admin@midrange.com]On
| Behalf Of David Gibbs
| Sent: Friday, December 28, 2001 8:30 AM
| To: rpg400-l@midrange.com
| Subject: Re: SQL
|
|
| Folks:
|
| The official language of all midrange.com lists is ENGLISH.
|
| david
|
| At 07:21 AM 12/28/2001, you wrote:
| >El problema surge porque trata de poner NULL en los registros sin pareja.
| >
| >Se puede resolver agregando una condición despues del segundo
| select,  que
| >solo actualice los registros de tabla1 que si estan en tabla2
| >
| >... /CAMPO1) where tabla1/campo1 in (select campo2 from tabla2)
| >
| >foros_informat@panalon.com escribió:
| >
| > > 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 thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.