[Phpmyadmin-devel] Help me fetch FOREIGN KEYS from a table

Michal Čihař michal at cihar.com
Wed Jul 15 14:06:03 CEST 2009


Hi

Dne Wed, 15 Jul 2009 16:43:14 +0500
Zahra Naeem <xara.fast at gmail.com> napsal(a):

> Can any one help me fetch foreign keys (fields) information from a table?

For export we do it using SHOW CREATE TABLE and parsing result. Maybe
INFORMATION_SCHEMA can provide better way, but I'm not sure.

-- 
	Michal Čihař | http://cihar.com | http://phpmyadmin.cz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20090715/44f207ae/attachment.sig>


More information about the Developers mailing list