RE: NULL

2001-04-04 Thread Roger Retamoza

Saludos.

Creo que soy el nico hispano y necesito de ustedes.

Construyo la siguiente consulta.

Select * from coniarticulos
left join conpproveedores use index (prov_codigo) on
prov_codigo=arti_proveedor
left join conimarcas use index (marc_codigo) on marc_codigo=arti_marca and
marc_proveedor=arti_proveedor
left join coniimpuestos use index (impu_codigo) on impu_codigo=arti_impuesto
where arti_codigo='001050'

Si una se las tablas no tiene registros me regresa valores nulos.
Quiero que si no existen registros por ejemplo en conimarcas me regrese 0,
se que se puede con isnull(micampo,0) as micampo. pero tendria que hacerlo
uno a uno. hay otra forma de hacerlo.

Gracias amigos.


Roger Retamoza
ICQ 102090754
[EMAIL PROTECTED]
Barranquilla-Colombia



-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




RE: Conect MySql to ODBC

2001-02-10 Thread Roger Retamoza

Alexander.

Thank you for the interest.

I wait for to understand my unfortunate groins.

My problem is that when I am going to conect to MySql throuhgt ODBC is very
slow in the begining, I want to use another method, if you know another one
that is not ODBC I will thank you. I use Visual Foxpro 6.0 with windows NT.

Waiting for an answer.

Thank you for all.

Roger Retamoza
ICQ 102090754
[EMAIL PROTECTED]
Barranquilla-Colombia



-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




RE: Backup database

2001-02-08 Thread Roger Retamoza

Hola alguien habla espaol. que pueda ayudarme como se hace copia de
seguridad a tablas exageradamente grande.
He consultado el comando backup table tablas, to 'ruta' .
hay otra forma?.

Gracias.


Roger Retamoza
ICQ 102090754
Barranquilla Colombia



-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php