-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Peut on afficher les index, contraintes ou autres clés étrangères à
partir d'une commande sous le terminal MySQL.

Ma table est décrite par le code SQL suivant :
- ------
create table BANK_ACCOUNT (
BANK_ACCOUNT_ID bigint not null,
BANK_NAME varchar(255),
BANK_SWIFT varchar(255),
primary key (BANK_ACCOUNT_ID)

alter table BANK_ACCOUNT
add index FK1979BF0A511BF1B7 (BANK_ACCOUNT_ID),
add constraint FK1979BF0A511BF1B7
foreign key (BANK_ACCOUNT_ID)
references BILLING_DETAILS (BILLING_DETAILS_ID)
- ------

Un simple 'describe BANK_ACCOUNT' ne suffit pas pour afficher dans le
terminal se qui se trouve au niveau du 'alter table'.
Existe t'il un moyen de procéder à partir du terminal 'mysql>' ?

- --
Marc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDzZIC55iFbYGUEtYRAhtQAJ93n5CzDpBzxRg0Onj8EfUowMVgswCgwU/B
IOyX1ZbvTXDYm4XejxhW8GQ=
=6Q4B
-----END PGP SIGNATURE-----
____________________________________________________
Want to buy your Pack or Services from Mandriva? 
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________

Répondre à