摘要:
#!/bin/bashMYSQL_USER='root'MYSQL_PWD='Nov2015ember'MYSQL_HOST='localhost'MYSQL_PORT='3306'MYSQL_CONN="/opt/mysql/bin/mysqladmin " if [ $# -ne "1" ];t 阅读全文
摘要:
create procedure test1(IN init INT,IN end INT) -> begin -> declare Var INT; -> declare id INT; -> set Var = 1; -> set id = init; -> while Var < end do 阅读全文
摘要:
#!/bin/bashbegintime=`date -d "-$1 month" +%Y-%m`lasttime=`date -d "-$2 month" +%Y-%m`mogotime=`date -d "-$1 month" +%Y%m`BeginTimestamp=$[$(date -d " 阅读全文