Thnx Papillon that would be a good start for me new in mysql tcl scripting. I want to know also some more tips like would be better or posibe to write a separate mysqltcl script to call the database and other scripts for actions like calling the proc`s from the tcl and easly to ad more features late...