$ cat t1.sh
mysql -h 172.24.0.220 -uquery -pquery che001 -NB << EOF > aa.txt
select concat(UserGuid,‘,‘,CreditLine/10000,‘,‘,AvailableFunds/10000,‘,‘,LockedFunds/10000) from KyPayAccounts where CreditLine>0;
EOF
时间: 2024-10-15 12:46:55
$ cat t1.sh
mysql -h 172.24.0.220 -uquery -pquery che001 -NB << EOF > aa.txt
select concat(UserGuid,‘,‘,CreditLine/10000,‘,‘,AvailableFunds/10000,‘,‘,LockedFunds/10000) from KyPayAccounts where CreditLine>0;
EOF