This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / 请问kshell高手,我要写个script, get row count by running the following query and transfer the results to a feed hub in file 'ABCDyyyymmdd'select name from TB
三个问题, 什么是feed hub? 怎么把文件名字和yyymmdd连起来? 运行的结果是每天create a new file, 如果需要在script里控制history file的数目的话是不是更合理一些?
谢谢!
-zxcvb(朝天椒);
2005-3-22
{186}
(#2195906@0)
-
up!
-zxcvb(朝天椒);
2005-3-22
(#2195945@0)
-
1. in your script, use: export CURRENT_DATE=`date +%y%m%d`, then you can use: ABCD$CURRENT_DATE
-lionel(Lionel);
2005-3-22
(#2196245@0)
-
thanks
-zxcvb(朝天椒);
2005-3-23
(#2197071@0)