MySQL Forums
Forum List  »  French

Re: Variable "CURRENT_BASE" dans un Trigger
Posted by: Thomas CORBIERE
Date: October 19, 2006 02:07PM

Bonjour,

Vous pouvez utiliser la fonction DATABASE() pour obtenir
le nom de la base de données courantes :

INSERT INTO ma_base_globale.ma_table_globale SELECT DATABASE()

Thomas CORBIERE

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Variable "CURRENT_BASE" dans un Trigger
2730
October 19, 2006 02:07PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.