RE: [PHP-ES] OT Actualizar diariamente de DBF a postgres (Correccion)
| From: | Dr Zippie | Date: | Fri, 29 Nov 2002 17:38:34 +0000 |
| Subject: | RE: [PHP-ES] OT Actualizar diariamente de DBF a postgres (Correccion) | ||
| References: | 1 2 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-29847@lists.php.net to get a copy of this message | ||
--- el comando de foxpro está mal .. me faltaba un "NO"
donde pone :
"select a.* from tabla_hoy a where exists ( select * from tabla_ayer b where a.campo1=b.campo1
and a.campo2=b.campo2 and a.campo3=b.campo3 and a.campo4=b.campo4 and a.campo5=b.campo5) into cursor
tabla_cambios"
debería poner:
"select a.* from tabla_hoy a where not exists ( select b.* from tabla_ayer b where
a.campo1=b.campo1 and a.campo2=b.campo2 and a.campo3=b.campo3 and a.campo4=b.campo4 and
a.campo5=b.campo5) into cursor tabla_cambios"
Esto de escribir rapido ... al final te olvidas de cosas que querías poner ... lo siento ... sniff
, snif .. :'-(
-
Dr Zippie (zippie(a)dr-zippie.net)
www.dr-zippie.net **en construcción **
"El ordenador es la evolucion logica del hombre: Inteligencia sin moral": John Osborne.
"A nullo videbatur, ipse autem omnia videbat"
-- Clave pública PGP en http://www.dr-zippie.net/dr_zippie.asc--