Hello.
Have you tried 'SHOW CREATE TABLE'? See: http://dev.mysql.com/doc/mysql/en/show-create-table.html >HI everybody > >I'm tryng to find a way to know if a field is a foreign key, by example >if I run this > >describe <tablename>; > >in the "Key" colum I got "PRI" for the primary key field, somebody know >a way to get the >foreign keys ? > > "Operator" <[EMAIL PROTECTED]> wrote: -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.NET http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Gleb Paharenko / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.NET <___/ www.mysql.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]