MySQL Forums
Forum List  »  French

Re: Passage de paramètres en mode batch
Posted by: Huu Da Tran
Date: June 11, 2008 04:29PM

J'utilise presque toujours l'approche:
toto.sql.tmpl
sed -e 's#@@VAR1@@#valeur1#' \
        -e 's#@@VAR2@@#varleur2#' \
        toto.sql.tmpl > toto.sql
mysql < toto.sql
Bonne chance,
H.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Passage de paramètres en mode batch
3532
June 11, 2008 04:29PM


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.