mysqldump -h127.0.0.1 -uxxx -pxxx -B database_name --tables table_name --where '....' > a.sql
问题在这个where 里面。我需要在where 里面调用一个函数来进行函数控制,请问要怎么样才能办到。 我说具体点吧。
例如 年 , 月 , 日 在不同的字段里面,我需要连接之后在去比较。。 --where concat(year,concat(month,day)) >= '2000-01-01 ' and concat(year,concat(month,day))<='2000-02-02' 请问我要达到这个效果,这个where应该怎么写··
为什么会出问题呢?
concat(a,b,c,d,e......)