lookup trans and expression variable use
Ø Lookup override query1. in this query, must use “as” to define the column, otherwise, Informatica will treat as invalid query. 2 .Not suppo...
保存文件名为年月日
touch $ARCHIVE_PATH/aa_`date +%m%d%y`.dat
flat file content error
error:row[2555] 824th-null in the text fiel,which is donot allowed in the txt fie 是说file里的第2555 行第824个字符有问题,such as source file 里包括header and footer,informatica ...
SQ or Lookup override query issue
when using SQL override,it get error "invalid query" and ask to contact xxx adminbut can get successful in PL/SQL. two ways to check1.valid the query in the DB in informatica tool.2.in...
grant and 常用数据字典
除了grant select,update... on to xxx 。可以直接Grant all on scott.emp to test 常用数据字典 user_sys_privsall_tab_columns;all_tables/tab/user_viewsall_constraints/USER_CONS_COLUMNSuser_i...
merge
转载该命令使用一条语句从一个或者多个数据源中完成对表的更新和插入数据. ORACLE 9i 中,使用此命令必须同时指定UPDATE 和INSERT 关键词,ORACLE 10g 做了如下改动。1,insert 和update是可选的 2,UPDATE 和INSE...
rownum and rowid
rownum是个虚拟的字段,它是在记录输出的时候逐步产生的。和rownum相似,oracle还提供了另外一个伪数列:rowid。不过rowid和rownum不同,一般说来每一行数据对应的rowid是固定而且唯一的,在这一行数据存入数据库的...
row_number,rank,dense_rank
转载--一、使用rownum为记录排名:在前面一篇《Oracle开发专题之:分析函数》,我们认识了分析函数的基本应用,现在我们再来考虑下面几个问题:①对所有客户按订单总额进行排名②按区域和客户订单总额进行排名③找...
rownum 与order by
oracle的rownum字段是个比较奇怪的字段。拿一张有26条记录的Test表来举例。 select * from Test where rownum >=1第一条sql查出了26条记录.rownum是个虚拟的字段.Oracle中的rownum的...
clob use
clob datatype take so much space ,in the source and target use varchar2(xxx) to replace clob to truncate length.
get error in informatica logs
#!/bin/ksh session_log_path=/data/informatica/Renewables/WINMF01/SessLogs log_file_name=$1file_saved=$2 folder_name=`grep 'TM_6686' $session_log_path/$log_file_name| cut -d '[' -f2 | cu...
compress ,tar,find ,wc,$?
if directly upload the script. into unix sever and run it,it occurs some strange issues like '`/data/informatica/HQ/FRGHT01/SrcFiles/INFA\r/TRAX_paidEnergy.dat\r' \r,then copy the script. content in W...
if 判断语句
#! /usr/bin/bashread num;if [ $num -eq "100" ];thenecho "num=100"echo "xxx"elseecho "num!=100"fi=----'-eq', >----'-gt',<---'-lt',>=---'ge',<=---'le',[ -f "somefile" ] :判断是否文件existnote...
9.1 parameter file
item1---使用parameter file 设置path,such as :session log ,source path and so on [Global]$PMMergeSessParamFile=TRUE$PMSessionLogDir=/data/informatica/Renewables/WINMF01/SessLogs$PMBadFileDir=/data/inf...
flat file date datatype
当SOURCE是 flat file,且有date 数据,而TARGET oracle table 是date datype,要在transformation中用to_date(xxxx,'xx--xx--xxxx'),日期format要与date数据匹配,而不是与target oracle table date 数...
scripts
upload the scripts into informatica server must be in ASCII mode
fetch parameter value
当一个session用于几个不同的workflow时,在SQ中用到parameter and value take from file ,这里不同用固定的格式, '[WINMF01.WF:' || var_WORKFLOW ||'.WT:'||var_WORKLET || '.ST:' || var_SESSION ||...
sql override
look up transformation or other in sql override -----不需要select from table与transformation可以不一样,而transformation里的port与sql overy里select field ,通过port ,field 顺序与select field as xx匹配...
last load date
setvariable(xxx,sysdate)---这个只有在有数据通过时,才能生效,否则日期不变
PK and sequence
主键那个列可以每次用sequence来实现赋值,但也可以不用 所以max(PK)与sequence.CURRVAL不一定相等是吧定 sequence是个独立的存在,与表的列没有必然的联系...