Ver Mensaje Individual
  #3 (permalink)  
Antiguo 03/04/2007, 09:34
Avatar de Saruman
Saruman
 
Fecha de Ingreso: mayo-2003
Ubicación: Panama city, Panama, Panama
Mensajes: 1.154
Antigüedad: 21 años
Puntos: 5
Re: Inf. schema y foreign keys

para los que les interese, ya encontré lo que estaba buscando:

http://www.greatlinux.com.cn/mysql/d...age-table.html

Código HTML:
SELECT * FROM INFORMATION_SCHEMA.KEY_COLUMN_USAGE
 WHERE table_name = 'tabla'
 AND table_schema = 'base_datos'
saludos
__________________
Saruman

One Ring to rule them all, One Ring to find them, One Ring to bring them all and in the darkness bind them.