下面程序在linux fc7 下用gcc编译
#include
我在用户的crontab里加了这样一个脚本: 1 * * * * sh /usr/local/bin/cron880_sqwen.sh >; /dev/null & 之后系统总是向我发这样的mail: Your "cron" job on sqwen sh /usr/local/bin/cron880_sqwen.sh >; /dev/null & produced the following output: stty: : No such device or address stty: : No such device or address 请问是怎么回事啊? 难道我的/dev/null不存在吗?可明明有的啊
127.0.0.1. is so called loopback address. and i dont know what this address use for? can somebody help me to explain, thanks very much!
unload to 1111.txt select mxbz,kh_kh,je,polno,kh_mc,jylx,by1,by2,by3,by4 from XXXXXX where time = today 我想在这个1111.txt 文件的第一行加上一条汇总数据所写sql如下 unload to 11111.txt select hzbz,gsdm,ssjph,sfbz,zjs,zje,by1,by2,'','' from XXX_hz where time = today union select mxbz,kh_kh,je,polno,kh_mc,jylx,by1,by2,by3,by4 from XXXXXX where time = today 但是xxx_hz中的jssph和xxxxx中的je 还有xxx...
我现在要装一台备份机,开始从要备份的机器中导出sybase数据库agentdb结构和数据: isql -Uagent -Ptzagent 1>dump database agentdb to '/tmp/agentdb' 2>go 然后将agentdb取到备份机器/tmp/,执行: isql -Uagent -Ptzagent 1>load database agentdb from '/tmp/agentdb' 2>go 报错: Msg 3101,Level 16,State 1: Line 1: Database in use.A user with System Adminstrator (SA) role must have exclusive uSE OF DATABASE TO RUN LOA...
I had created a db2 script which will load data from 1 server to another server. My problem is whenever my load process failed then it will lock the tablespace so I wonder is there any way to avoid this problem? I means is there any code can auto fire whenever there is a tablespace state fall into load pending? Please advise