Hi guys, today I return with my tests and I see that I was wrong way.
Is better to copy the select to file. Well, I try but my code copy everything, since "select....." until "1 row in set....".
How I do to copy only result of select?
I hope you can understand me.
Bellow my code:
mysql -vv -u root -pcolorado -e "select email from birt\
where date_format(dn,'%dd%') = date_format(Current_date,'%dd%')\
and date_format(dn,'%mm%') = date_format(Current_date,'%mm%');"\
birthday >> teste
thank's.
Att.
Felipe Lima
|