ETL工具中最基础的功能是加载远程服务器的文件,如下小程序以二进制方式获取远程服务器上的文件:
#!/usr/bin/bash
#created by lubinsu
#2014
source ~/.bash_profile
filename=$6
srcdir=$4
descdir=$5
ftpip=$1
ftpusr=$2
ftppwd=$3
#get files
ftp -i -in <<...
分类:
其他好文 时间:
2014-08-14 23:55:16
阅读次数:
198
ETL调度中读写数据信息,都需要连接数据库,下面的子程序通过传入的数据库连接字符串和数据库命令(或SQL)执行所需要的操作:
#!/usr/bin/bash
#created by lubinsu
#2014
source ~/.bash_profile
values=`sqlplus -S $1 << EOF
set heading off feedback off pagesize 0...
分类:
数据库 时间:
2014-08-14 23:54:46
阅读次数:
242
问题描述:[root@localhost ~]# /usr/local/php/bin/phpize Cannot find config.m4. Make sure that you run '/usr/local/php/bin/phpize' in the top level source d...
分类:
Web程序 时间:
2014-08-14 23:45:56
阅读次数:
2854
怎样解决编译时出现内核提供的函数或变量没有定义,使用source insight搜索功能找到声明的头文件,然后包含该头件就行了:比如: error: implicit declaration of function 'copy_from_user' 解决:使用source insight搜索功...
分类:
系统相关 时间:
2014-08-14 23:31:56
阅读次数:
215
1 SqlConnection conn = new SqlConnection("Data Source=.;Initial Catalog=ArchiveSys;Integrated Security=True"); 2 //SQLHelper...
分类:
数据库 时间:
2014-08-14 23:30:46
阅读次数:
291
在Linux平台上开发,经常会在console(控制台)上执行另外一个脚本文件,经常用的方法有:./my.sh或source my.sh或. my.sh;这三种方法有什么不同呢?我们先来了解一下在一个shell脚本中如何调用另外一个shell脚本,其方法有fork exec source。1...
分类:
其他好文 时间:
2014-08-14 23:12:56
阅读次数:
290
为每个进程创建page table ,iOS没有Mach API documentation can be found in the osfmk/man directory of the XNU source package.Mach IPC: Ports and Messages
分类:
移动开发 时间:
2014-08-14 23:12:26
阅读次数:
209
I'd like to get the source code of thechromium 34.0.1847.9.gclient config http://src.chromium.org/chrome/releases/34.0.1847.9gclient sync --jobs 16
分类:
其他好文 时间:
2014-08-14 23:10:38
阅读次数:
205
MediaRecorder除了可以用于录制音频,还可用于录制视频。使用MediaRecorder录制视频与录制音频的步骤基本相同。只是录制视频时不仅需要采集声音,还需要采集图像。为了让MediaRecorder录制时采集图像,应该在调用setAudioSource(int audio source)方法时再调用setVideoSource(int video source)方法来设置图像来源。...
分类:
移动开发 时间:
2014-08-14 20:33:59
阅读次数:
250
[问题描述]从左向右依次安放4根细柱A,B,C,D。在A柱上套有n(n0 then begin resl[ks1].code:=ga[topa]; resl[ks1].source:='A'; resl[ks1].target:='B';...
分类:
移动开发 时间:
2014-08-14 20:28:49
阅读次数:
267