<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6498816635990273635</id><updated>2024-09-13T13:53:20.192-07:00</updated><title type='text'>Informatica mappings</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sb-informaticamappings.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6498816635990273635/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://sb-informaticamappings.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>sb</name><uri>http://www.blogger.com/profile/01700305108701739766</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6498816635990273635.post-6719065951361573239</id><published>2011-10-01T08:46:00.000-07:00</published><updated>2011-10-01T08:46:57.968-07:00</updated><title type='text'>New lookup port in Lookup transformation using dynamic cache</title><content type='html'>New lookup port is one of the properties when we configure lookup transformation using dynamic cache&lt;br /&gt;
&lt;br /&gt;
Basically, new lookup port has the numeric values of &lt;b&gt;(0,1,2)&lt;/b&gt;&lt;br /&gt;
New lookup port with the numeric value &#39;0&#39; means tat Informatica server will not update or insert the row in the cache.&lt;br /&gt;
New lookup port with the numeric value &#39;1&#39; means tat Informatica server will insert the row into the cache.&lt;br /&gt;
New lookup port with the numeric value &#39;2&#39; means tat Informatica server will updates the row into the cache.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Which scenarios Newlookup port has been used?&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
Cache: Dynamic cache in Lookup transformation&lt;br /&gt;
Transformations: Lookup transformations,Update strategy transformation, filter transformation&lt;br /&gt;
&lt;br /&gt;
By using this New lookup port values, we can pass some rows through filter to drop or use it,&lt;br /&gt;
Also we can pass some rows through updatestrategy to update some table.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Associated lookupport, Ignore NullInputs &amp;nbsp;for updates, Ignore in Comparison are others properties along with New lookup port.&lt;br /&gt;
Lookup newport pic below:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCmkkABOnsrc2wQKD-SBRMVbRMPqHQlNMuQrVGb3YuxJJJn4ub24VudB2vfg3oy6lLWFtfwoZdJquxzuw5YvFlf1stk-DacRvUBU1Pmc4YopBAViUPFEMvRiInt-fskrh9BnTu_qomwKQ/s1600/lookup.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;175&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCmkkABOnsrc2wQKD-SBRMVbRMPqHQlNMuQrVGb3YuxJJJn4ub24VudB2vfg3oy6lLWFtfwoZdJquxzuw5YvFlf1stk-DacRvUBU1Pmc4YopBAViUPFEMvRiInt-fskrh9BnTu_qomwKQ/s320/lookup.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sb-informaticamappings.blogspot.com/feeds/6719065951361573239/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sb-informaticamappings.blogspot.com/2011/10/new-lookup-port-in-lookup.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6498816635990273635/posts/default/6719065951361573239'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6498816635990273635/posts/default/6719065951361573239'/><link rel='alternate' type='text/html' href='http://sb-informaticamappings.blogspot.com/2011/10/new-lookup-port-in-lookup.html' title='New lookup port in Lookup transformation using dynamic cache'/><author><name>sb</name><uri>http://www.blogger.com/profile/01700305108701739766</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCmkkABOnsrc2wQKD-SBRMVbRMPqHQlNMuQrVGb3YuxJJJn4ub24VudB2vfg3oy6lLWFtfwoZdJquxzuw5YvFlf1stk-DacRvUBU1Pmc4YopBAViUPFEMvRiInt-fskrh9BnTu_qomwKQ/s72-c/lookup.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6498816635990273635.post-6188916114142907815</id><published>2011-09-24T15:19:00.000-07:00</published><updated>2011-09-24T15:19:27.131-07:00</updated><title type='text'>Why Sorter transformation is Active ? How to avoid duplicate records using sorter and Source Qualifier with screen shot examples</title><content type='html'>Hello all,&lt;br /&gt;
&lt;br /&gt;
In this topic, I am gonna explain about why sorter transformation is active and How to avoid duplicate records using sorter transformation and source qualifier.&lt;br /&gt;
&lt;br /&gt;
There are two ways to eliminate duplicate records&lt;br /&gt;
1. By using source qualifier&lt;br /&gt;
2.Using sorter transformation&lt;br /&gt;
&lt;br /&gt;
Source qualifier&lt;br /&gt;
&lt;br /&gt;
Edit properties &amp;gt;&amp;gt; Select Distinct( By selecting this option, we can eliminate the duplicate records. &amp;nbsp;Kindly check the pic below:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfgOPwxVSqjLkHefZVgyrDhIUdsAwOCQQQ5Nt5YAvj_FqJjjA5kGbf7YNVMBSDYhGA-9u6momO9ivGIyr2YPu5l5Liyrk7djCAydF1yFYoPFxwfATv46iamrZCgGRYI-kzFFQ-wiL9s5c/s1600/soruce+sort.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;171&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfgOPwxVSqjLkHefZVgyrDhIUdsAwOCQQQ5Nt5YAvj_FqJjjA5kGbf7YNVMBSDYhGA-9u6momO9ivGIyr2YPu5l5Liyrk7djCAydF1yFYoPFxwfATv46iamrZCgGRYI-kzFFQ-wiL9s5c/s320/soruce+sort.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;Using sorter transformation , we can eliminate the duplicate records &amp;nbsp;. Kindly check the screenshot below:&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;Before we sort the records, there are 5 records in the table including 2 duplicate records&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1b3JtNkNsz60Nqe7J61zVrdF-TCxo9L7mJX4VP6SeuQ5LEnOGQRPXX1pI23Nl0R_oajupdoqvLHpyUU3qQfu0UDVs2vZaVIZSptSRt-D3ki9463aE6_3AAn10speAbYHJgqtRi-Meayw/s1600/b4+sort.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;159&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1b3JtNkNsz60Nqe7J61zVrdF-TCxo9L7mJX4VP6SeuQ5LEnOGQRPXX1pI23Nl0R_oajupdoqvLHpyUU3qQfu0UDVs2vZaVIZSptSRt-D3ki9463aE6_3AAn10speAbYHJgqtRi-Meayw/s320/b4+sort.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;Sorter Mapping below:&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiJNvcBaSxO68DeqKP8yYjXCakn4bz5osk5_AIecNClT_s80dGob9c2yBe6y4pZ3tTpkPVoVdlHf_k0I_MiAi9Zn1BPWjXrtN7INgpcEteKplB8pu6rVnw_NGH8GXXeB3v6AbiRH5k-1Y/s1600/sort+mapping.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;169&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiJNvcBaSxO68DeqKP8yYjXCakn4bz5osk5_AIecNClT_s80dGob9c2yBe6y4pZ3tTpkPVoVdlHf_k0I_MiAi9Zn1BPWjXrtN7INgpcEteKplB8pu6rVnw_NGH8GXXeB3v6AbiRH5k-1Y/s320/sort+mapping.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;Edit sorter transformation properties and select distinct . (check the pic below)&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSyxh8i9yUzWGa1e-GJdBCKcp_b_Y9A38QoVShcBeA5Wo96gVkZkQ5mOtyffTGkyi88wH8-J7fciZXs9iPHADdzDsFJ0JHu_PPkP385o7ul0-pgAvoGQDGXqhSoCGb79LvRlPS02g237Y/s1600/sort+proper.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;177&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSyxh8i9yUzWGa1e-GJdBCKcp_b_Y9A38QoVShcBeA5Wo96gVkZkQ5mOtyffTGkyi88wH8-J7fciZXs9iPHADdzDsFJ0JHu_PPkP385o7ul0-pgAvoGQDGXqhSoCGb79LvRlPS02g237Y/s320/sort+proper.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;After selecting the distinct properties in the sorter transformation, workflow has been executed and it eliminated the duplicate records. In the table, now &amp;nbsp;u can see that duplicate records has been eliminated. It retrieved only 4 records. so it has been proved that sorter transformation is an active transformation&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUpxRVnWZ89agBPqF_DqbmoFBsQHgm9kIj0897qWSPHKnm5X2mno-vodKcyE2IHje0tg1ldKNJi1oe93r9RHcygAw-McapEVMubA3FxYIyQ0Kk3f0z-vTwhn1sBLXqOMEYR2I9RuTLUNg/s1600/after+sort.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;161&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUpxRVnWZ89agBPqF_DqbmoFBsQHgm9kIj0897qWSPHKnm5X2mno-vodKcyE2IHje0tg1ldKNJi1oe93r9RHcygAw-McapEVMubA3FxYIyQ0Kk3f0z-vTwhn1sBLXqOMEYR2I9RuTLUNg/s320/after+sort.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sb-informaticamappings.blogspot.com/feeds/6188916114142907815/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sb-informaticamappings.blogspot.com/2011/09/why-sorter-transformation-is-active-how.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6498816635990273635/posts/default/6188916114142907815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6498816635990273635/posts/default/6188916114142907815'/><link rel='alternate' type='text/html' href='http://sb-informaticamappings.blogspot.com/2011/09/why-sorter-transformation-is-active-how.html' title='Why Sorter transformation is Active ? How to avoid duplicate records using sorter and Source Qualifier with screen shot examples'/><author><name>sb</name><uri>http://www.blogger.com/profile/01700305108701739766</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfgOPwxVSqjLkHefZVgyrDhIUdsAwOCQQQ5Nt5YAvj_FqJjjA5kGbf7YNVMBSDYhGA-9u6momO9ivGIyr2YPu5l5Liyrk7djCAydF1yFYoPFxwfATv46iamrZCgGRYI-kzFFQ-wiL9s5c/s72-c/soruce+sort.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6498816635990273635.post-5428403787350352537</id><published>2011-09-23T20:03:00.000-07:00</published><updated>2011-09-23T20:03:21.436-07:00</updated><title type='text'>Parameters in Informatica</title><content type='html'>There are parameters available in various levels like Session, Mapping, Workflow in Informatica&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Mapping Parameter:&lt;/b&gt;&lt;br /&gt;
Mapping Parameters are basically a constant value which will define before running the session and that constant value will be used throughout the session.&lt;br /&gt;
E.g. $$LastRunDate( It can be identified with $$ sign)&lt;br /&gt;
We can define the parameter in parameter file like .par extension and we can use this parameter file in&lt;br /&gt;
mapping.&lt;br /&gt;
&lt;br /&gt;
Here is the screenshot to declare mapping parameter.&lt;br /&gt;
Mapping designer&amp;gt;&amp;gt; mappings&amp;gt;&amp;gt; Parameter variable&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjE-oqxzK_1eSTBU-Kc5ARdy01dGNa5j17-sv9oPpQsZpacaMS5LN87nvXph3Xhw1Ns6srPOLmVIBV5dOgQWBKB1ymKtJBH78ixlI33EIitMT_3BJHsOy4GiA7bZcLU9gFu0DN8NG0c_G0/s1600/mapping_parameter1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;177&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjE-oqxzK_1eSTBU-Kc5ARdy01dGNa5j17-sv9oPpQsZpacaMS5LN87nvXph3Xhw1Ns6srPOLmVIBV5dOgQWBKB1ymKtJBH78ixlI33EIitMT_3BJHsOy4GiA7bZcLU9gFu0DN8NG0c_G0/s320/mapping_parameter1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLRsVYecSdbjwj6KqlZWNhPtem39U-G36pYfCA0kcaOpl9nDfzx9I6iWHtGKuQys4B3Y-4-vvKJ99y5hvrVu5CaXK3oZQpkpv34ezJbkyDU3gYtLwSL_LGyym50SK2rv4w34EvasTIvOY/s1600/mapping_parameter2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;170&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLRsVYecSdbjwj6KqlZWNhPtem39U-G36pYfCA0kcaOpl9nDfzx9I6iWHtGKuQys4B3Y-4-vvKJ99y5hvrVu5CaXK3oZQpkpv34ezJbkyDU3gYtLwSL_LGyym50SK2rv4w34EvasTIvOY/s320/mapping_parameter2.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;b&gt;Session Parameter:&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
Session Parameters are used to define the source or target database connections</content><link rel='replies' type='application/atom+xml' href='http://sb-informaticamappings.blogspot.com/feeds/5428403787350352537/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sb-informaticamappings.blogspot.com/2011/09/parameters-in-informatica.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6498816635990273635/posts/default/5428403787350352537'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6498816635990273635/posts/default/5428403787350352537'/><link rel='alternate' type='text/html' href='http://sb-informaticamappings.blogspot.com/2011/09/parameters-in-informatica.html' title='Parameters in Informatica'/><author><name>sb</name><uri>http://www.blogger.com/profile/01700305108701739766</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjE-oqxzK_1eSTBU-Kc5ARdy01dGNa5j17-sv9oPpQsZpacaMS5LN87nvXph3Xhw1Ns6srPOLmVIBV5dOgQWBKB1ymKtJBH78ixlI33EIitMT_3BJHsOy4GiA7bZcLU9gFu0DN8NG0c_G0/s72-c/mapping_parameter1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6498816635990273635.post-1165853913683043573</id><published>2011-09-16T07:32:00.000-07:00</published><updated>2011-09-16T09:24:35.377-07:00</updated><title type='text'>Constraint Based Loading in Informatica</title><content type='html'>Hello all,&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Let us explore what is is constraint based loading and what is the use of it in Informatica.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Constraint Based Loading is basically a session level property, when we load the table in to multiple target s from a source, it should load the parent table first and child table next. &amp;nbsp;We cannot load the child table and then load the parent table.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Constraint based loading will work under the following condition:&lt;/div&gt;&lt;div&gt;* Target table must have parent-child relationship&lt;br /&gt;
*In the properties general tab in Session, select &quot;Treat rows as Insert&quot;.( Updates cannot be used with constraint based loading while insert)&lt;/div&gt;&lt;div&gt;* one source to multiple targets(must have key relationships), we must use constraint base loading.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;To achieve constraint based loading , In Joiner transformation&amp;gt;&amp;gt; Session Properties&amp;gt;&amp;gt; config&amp;gt;&amp;gt; enable the Constraint based loading option ( check the pic below)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHtl1MD4p8a7rvJsR0m9CbIdltJ_-6gIepFMKYtMF0aS1BYbQrDypEsiVQ88LVE6TM4LdATvQvmdb8WG-EzvQLqM2WbM_IYfqXYQ1MooBlvB5bVRwldr7LsJLphDJzo5B3XnDUAKiEcTY/s1600/constraintt.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;169&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHtl1MD4p8a7rvJsR0m9CbIdltJ_-6gIepFMKYtMF0aS1BYbQrDypEsiVQ88LVE6TM4LdATvQvmdb8WG-EzvQLqM2WbM_IYfqXYQ1MooBlvB5bVRwldr7LsJLphDJzo5B3XnDUAKiEcTY/s320/constraintt.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;Kindly share if you have any suggestions .&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sb-informaticamappings.blogspot.com/feeds/1165853913683043573/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sb-informaticamappings.blogspot.com/2011/09/constraint-based-loading-in-informatica.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6498816635990273635/posts/default/1165853913683043573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6498816635990273635/posts/default/1165853913683043573'/><link rel='alternate' type='text/html' href='http://sb-informaticamappings.blogspot.com/2011/09/constraint-based-loading-in-informatica.html' title='Constraint Based Loading in Informatica'/><author><name>sb</name><uri>http://www.blogger.com/profile/01700305108701739766</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHtl1MD4p8a7rvJsR0m9CbIdltJ_-6gIepFMKYtMF0aS1BYbQrDypEsiVQ88LVE6TM4LdATvQvmdb8WG-EzvQLqM2WbM_IYfqXYQ1MooBlvB5bVRwldr7LsJLphDJzo5B3XnDUAKiEcTY/s72-c/constraintt.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6498816635990273635.post-2342204674031292050</id><published>2011-09-14T11:35:00.000-07:00</published><updated>2011-09-14T16:02:20.939-07:00</updated><title type='text'>Update/Insert records using Update strategy transformation</title><content type='html'>&lt;h3 class=&quot;post-title entry-title&quot;&gt;&lt;span id=&quot;goog_1069641346&quot;&gt;&lt;/span&gt;&lt;a href=&quot;http://www.blogger.com/&quot;&gt;&lt;/a&gt;&lt;span id=&quot;goog_1069641347&quot;&gt;&lt;/span&gt;Hello  all.&lt;/h3&gt;&lt;div class=&quot;post-body entry-content&quot;&gt;&lt;br /&gt;
Here I am going to explain how to insert new records and udpate  existing records using udpate strategy transformation. &lt;br /&gt;
Scenario:  Insert  &amp;amp; Update the records :&lt;br /&gt;
the Source flat file records(csv) in to target  oracle database which has already 2 records.&lt;br /&gt;
Requirements:&lt;br /&gt;
Source  : Flat  file(csv file contains 5 records) &lt;br /&gt;
Flat file : csv file with 5  records.&lt;br /&gt;
Target : Oracle database.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Step1: For initial load,  Create table and insert 2 rows in the target database.Here we used Oracle  Database&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Create table statement:&lt;br /&gt;
&lt;br /&gt;
create table cust_addr  (cust_id number(3),cust_addr1 varchar2(25),cust_state varchar2(25), created_dt  timestamp, modified_dt timestamp) ;&lt;br /&gt;
&lt;br /&gt;
Inserting records for Initial Load in Target Oracle database:&lt;/div&gt;&lt;div class=&quot;post-body entry-content&quot;&gt;&lt;br /&gt;
insert into cust_addr values(1,&#39;1mainst&#39;, &#39;VA&#39;, sysdate, sysdate);&lt;br /&gt;
insert into cust_addr values(3,&#39;30mainst&#39;, &#39;VA&#39;, sysdate, sysdate);&lt;/div&gt;&lt;div class=&quot;post-body entry-content&quot;&gt;&lt;/div&gt;&lt;div class=&quot;post-body entry-content&quot;&gt;&lt;strong&gt;Step2:  Create Source Flat file in csv format : Flat file should look like  below:&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
*****************&lt;br /&gt;
Flat File (csv)  &lt;br /&gt;
*****************&lt;br /&gt;
1,1mainst,VA&lt;br /&gt;
2,20mainst,VA&lt;br /&gt;
3,30mainst,VA&lt;br /&gt;
1,100mainst,VA&lt;br /&gt;
5,50mainst,VA  &lt;br /&gt;
*******************&lt;br /&gt;
*Open Informatica power center Designer &amp;gt;&amp;gt;  Tools&amp;gt;&amp;gt;Source analyzer &amp;gt;&amp;gt; Sources &amp;gt;&amp;gt; Import File&amp;gt;&amp;gt; Slect  flat file from your desktop or flatfile location&amp;gt;&amp;gt; ( Now flat file is  ready to use in mapping)&lt;br /&gt;
*Tools&amp;gt;&amp;gt; Target Designer &amp;gt;&amp;gt; Targets  &amp;gt;&amp;gt;Targets from Database&amp;gt;&amp;gt; select table &quot;cust_addr&quot; (Now target db is  ready to use in mapping)&lt;br /&gt;
*Mapping designer &amp;gt;&amp;gt; Drag source flatfile and  target file in to mapping design&lt;br /&gt;
&lt;br /&gt;
To achieve update / insert the records,  we need update strategy transformation for update .&lt;br /&gt;
To confirm the updated  records or insert the records, we need timestamp/datetime in expression  transformation.&lt;br /&gt;
&lt;strong&gt;Expression Transformation:&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
We have  following ports/column in the expression transformation : cust_addr (cust_id  number(3),cust_addr1 varchar2(25),cust_state varchar2(25), created_dt timestamp,  modified_dt timestamp, v_sysdate).&lt;br /&gt;
Here in the expression declare variaple  port &lt;strong&gt;v_sysdate = sysdate&lt;/strong&gt; ,  declare &lt;strong&gt;created_dt &amp;amp;  modified_dt = v_sysdate as &lt;/strong&gt;output port.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Update strategy  Transformation:&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Properties&amp;gt;Transformation attribute&amp;gt;  Update strategy expression value is 1.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Target  Definition:&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
*Make sure that created_dt&amp;amp; modified_dt data  type is time stamp and make cust_id as primary key.&lt;br /&gt;
&lt;br /&gt;
Create session and  workflow &amp;gt;&amp;gt; seesion properties&amp;gt;&amp;gt;target definition&amp;gt;&amp;gt; Edit  task&amp;gt;&amp;gt;Mapping&amp;gt;&amp;gt; properties &amp;gt;&amp;gt;attribute&amp;gt;&amp;gt;Insert, Update  else insert, delete must be clicked..&lt;br /&gt;
&lt;br /&gt;
In the connection properties make  sure that we are selecting the right source/target.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQCRFma-PR8BzZjaL3RD8hny-yfMVBDQPjI8goyMtKEetjFRbV0F6aTM1w-1lpi14KgZERneOAn7wP91g3dbqnL5zPeza7wDx7rxvK3JTO41ceKRw8qovMVZfi6IkJ2KAsZdZ0hv3d7uQ/s1600/mapping+b.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;180&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQCRFma-PR8BzZjaL3RD8hny-yfMVBDQPjI8goyMtKEetjFRbV0F6aTM1w-1lpi14KgZERneOAn7wP91g3dbqnL5zPeza7wDx7rxvK3JTO41ceKRw8qovMVZfi6IkJ2KAsZdZ0hv3d7uQ/s320/mapping+b.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;post-body entry-content&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
Run the  workflow..Records must be updated/inserted . &lt;/div&gt;&lt;div class=&quot;post-body entry-content&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;post-body entry-content&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&amp;nbsp;Target table data structure Before  update/insert&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVLGuqePIN9o5Iweagly80xC34DxlcN3bzoqxTKru6xbdh3ANAG5kajWpHZad2BjhMH1O00ahs-nq5WsqyjeidOlBjeRWgUIQ8TlLAPhKTkm6_mFO7OJdc0_-z80D6A0jBT_An5iLAPis/s1600/bbbb4.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;161&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVLGuqePIN9o5Iweagly80xC34DxlcN3bzoqxTKru6xbdh3ANAG5kajWpHZad2BjhMH1O00ahs-nq5WsqyjeidOlBjeRWgUIQ8TlLAPhKTkm6_mFO7OJdc0_-z80D6A0jBT_An5iLAPis/s320/bbbb4.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;post-body entry-content&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;&quot;&gt;&lt;v:shapetype coordsize=&quot;21600,21600&quot; filled=&quot;f&quot; id=&quot;_x0000_t75&quot; o:preferrelative=&quot;t&quot; o:spt=&quot;75&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; stroked=&quot;f&quot;&gt;&lt;v:stroke joinstyle=&quot;miter&quot;&gt;&lt;v:path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot; o:extrusionok=&quot;f&quot;&gt;&lt;o:lock aspectratio=&quot;t&quot; v:ext=&quot;edit&quot;&gt;Target table data structure after mapping &amp;amp;  executed the  workflow&lt;/o:lock&gt;&lt;/v:path&gt;&lt;/v:stroke&gt;&lt;/v:shapetype&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiV-GYAHgidFPCEYHIEcFCrLBp-_CV3bobuPNwjCZIZLYAx_-piX-fsiX6vPIpapOHNcN56-A394gEyMocBmZflTVId2TkjDcPf5VNmO6fdNSXm9YGVKNPGQjc13b22XRNvl459aGahYhQ/s1600/a444.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;158&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiV-GYAHgidFPCEYHIEcFCrLBp-_CV3bobuPNwjCZIZLYAx_-piX-fsiX6vPIpapOHNcN56-A394gEyMocBmZflTVId2TkjDcPf5VNmO6fdNSXm9YGVKNPGQjc13b22XRNvl459aGahYhQ/s320/a444.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;post-body entry-content&quot;&gt;&lt;span style=&quot;font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;&quot;&gt;&lt;v:shapetype coordsize=&quot;21600,21600&quot; filled=&quot;f&quot; o:preferrelative=&quot;t&quot; o:spt=&quot;75&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; stroked=&quot;f&quot;&gt;&lt;v:stroke joinstyle=&quot;miter&quot;&gt;&lt;v:path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot; o:extrusionok=&quot;f&quot;&gt;&lt;o:lock aspectratio=&quot;t&quot; v:ext=&quot;edit&quot;&gt;&lt;/o:lock&gt;&lt;/v:path&gt;&lt;/v:stroke&gt;&lt;/v:shapetype&gt;&lt;/span&gt;&lt;/span&gt;In the Results, You can observe that 4 records are there. &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;post-body entry-content&quot;&gt;&lt;span style=&quot;font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;&quot;&gt;1. It eliminates the the duplicate record(since cust_id declared as primary key in target) . New record has been updated .&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;post-body entry-content&quot;&gt;&lt;span style=&quot;font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;&quot;&gt;2- New records has been inserted.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;https://docs.google.com/leaf?id=0BzSJGeVFzTXNZTYyMGYxYTItYWY2ZC00ZmJjLWI4MjktZmJmMDBkOTQzZDky&amp;amp;hl=en_US&quot;&gt;Create table sql&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://docs.google.com/leaf?id=0BzSJGeVFzTXNZmU1OGE0ZGMtMWYwZC00NzQzLTg4ZGYtMGEwMDliYjdlNjI4&amp;amp;hl=en_US&quot;&gt;Target file Initial load&lt;/a&gt;&amp;lt;&amp;lt; Initial load target file is here&lt;br /&gt;
&lt;a href=&quot;https://docs.google.com/spreadsheet/ccc?key=0AjSJGeVFzTXNdEljRDc4akdPUEZUVFdkY1F4RWVST3c&amp;amp;hl=en_US&quot;&gt;SourceBS to CSV file &lt;/a&gt;&amp;lt;&amp;lt; Source flat file recs are here &lt;br /&gt;
&lt;a href=&quot;https://docs.google.com/leaf?id=0BzSJGeVFzTXNYmYxMTc1MTItMmY0MS00M2VkLWE3MmYtNmUxMDI5ZjZmY2I0&amp;amp;hl=en_US&quot;&gt;Mapping xml file&lt;/a&gt; &amp;lt;&amp;lt; Complete mapping xml file is here&lt;br /&gt;
&lt;br /&gt;
Note: Above link works only if you have gmail account.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sb-informaticamappings.blogspot.com/feeds/2342204674031292050/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sb-informaticamappings.blogspot.com/2011/09/updateinsert-records-using-update.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6498816635990273635/posts/default/2342204674031292050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6498816635990273635/posts/default/2342204674031292050'/><link rel='alternate' type='text/html' href='http://sb-informaticamappings.blogspot.com/2011/09/updateinsert-records-using-update.html' title='Update/Insert records using Update strategy transformation'/><author><name>sb</name><uri>http://www.blogger.com/profile/01700305108701739766</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQCRFma-PR8BzZjaL3RD8hny-yfMVBDQPjI8goyMtKEetjFRbV0F6aTM1w-1lpi14KgZERneOAn7wP91g3dbqnL5zPeza7wDx7rxvK3JTO41ceKRw8qovMVZfi6IkJ2KAsZdZ0hv3d7uQ/s72-c/mapping+b.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6498816635990273635.post-6413331154446251384</id><published>2011-09-14T09:43:00.000-07:00</published><updated>2011-09-14T10:50:17.344-07:00</updated><title type='text'>Update existing record and insert new records using update strategy and expression transformation</title><content type='html'>Hello all.&lt;br /&gt;
&lt;br /&gt;
Here I am going to explain how to insert new records and udpate existing records using udpate strategy transformation. &lt;br /&gt;
Scenario:&amp;nbsp; Insert &amp;amp; Update the records :&lt;br /&gt;
&amp;nbsp;the Source flat file records(csv) in to target oracle database which has already 2 records.&lt;br /&gt;
Requirements:&lt;br /&gt;
Source&amp;nbsp; : Flat file(csv file contains 5 records) &lt;br /&gt;
Flat file : csv file with 5 records.&lt;br /&gt;
Target : Oracle database.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Step1: For initial load, Create table and insert 2 rows in the target database.Here we used Oracle Database&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Create table statement:&lt;br /&gt;
&lt;br /&gt;
create table cust_addr (cust_id number(3),cust_addr1 varchar2(25),cust_state varchar2(25), created_dt timestamp, modified_dt timestamp) ;&lt;br /&gt;
&lt;br /&gt;
Inserting records :&lt;br /&gt;
insert into cust_addr values(002,&#39;20mainst&#39;, &#39;VA&#39;, sysdate, sysdate);&lt;br /&gt;
insert into cust_addr values(003,&#39;30mainst&#39;, &#39;VA&#39;, sysdate, sysdate);&lt;br /&gt;
&lt;strong&gt;Step2: Create Source Flat file in csv format : Flat file should look like below:&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
*****************&lt;br /&gt;
Flat File (csv) &lt;br /&gt;
*****************&lt;br /&gt;
1,1mainst,VA&lt;br /&gt;
2,20mainst,VA&lt;br /&gt;
3,30mainst,VA&lt;br /&gt;
4,100mainst,VA&lt;br /&gt;
5,50mainst,VA &lt;br /&gt;
*******************&lt;br /&gt;
*Open Informatica power center Designer &amp;gt;&amp;gt; Tools&amp;gt;&amp;gt;Source analyzer &amp;gt;&amp;gt; Sources &amp;gt;&amp;gt; Import File&amp;gt;&amp;gt; Slect flat file from your desktop or flatfile location&amp;gt;&amp;gt; ( Now flat file is ready to use in mapping)&lt;br /&gt;
*Tools&amp;gt;&amp;gt; Target Designer &amp;gt;&amp;gt; Targets &amp;gt;&amp;gt;Targets from Database&amp;gt;&amp;gt; select table &quot;cust_addr&quot; (Now target db is ready to use in mapping)&lt;br /&gt;
*Mapping designer &amp;gt;&amp;gt; Drag source flatfile and target file in to mapping design&lt;br /&gt;
&lt;br /&gt;
To achieve update&amp;nbsp;/ insert the records, we need update strategy transformation for update .&lt;br /&gt;
To confirm the updated records or insert the records, we need timestamp/datetime in expression transformation.&lt;br /&gt;
&lt;strong&gt;Expression Transformation:&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
We have following ports/column in the expression transformation : cust_addr (cust_id number(3),cust_addr1 varchar2(25),cust_state varchar2(25), created_dt timestamp, modified_dt timestamp, v_sysdate).&lt;br /&gt;
Here in the expression declare variaple port&amp;nbsp;&lt;strong&gt;v_sysdate = sysdate&lt;/strong&gt; ,&amp;nbsp; declare &lt;strong&gt;created_dt &amp;amp; modified_dt = v_sysdate as &lt;/strong&gt;output port.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Update strategy Transformation:&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Properties&amp;gt;Transformation attribute&amp;gt; Update strategy expression value is 1.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Target Definition:&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
*Make sure that created_dt&amp;amp; modified_dt data type is time stamp and make cust_id as primary key.&lt;br /&gt;
&lt;br /&gt;
Create session and workflow &amp;gt;&amp;gt; seesion properties&amp;gt;&amp;gt;target definition&amp;gt;&amp;gt; Edit task&amp;gt;&amp;gt;Mapping&amp;gt;&amp;gt; properties &amp;gt;&amp;gt;attribute&amp;gt;&amp;gt;Insert, Update else insert, delete must be clicked..&lt;br /&gt;
&lt;br /&gt;
In the connection properties make sure that we are selecting the right source/target.&lt;br /&gt;
&lt;br /&gt;
Run the workflow..Records must be updated/inserted . &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-no-proof: yes;&quot;&gt;&lt;v:shapetype coordsize=&quot;21600,21600&quot; filled=&quot;f&quot; id=&quot;_x0000_t75&quot; o:preferrelative=&quot;t&quot; o:spt=&quot;75&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; stroked=&quot;f&quot;&gt;  &lt;v:stroke joinstyle=&quot;miter&quot;&gt;  &lt;v:formulas&gt;   &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;&gt;   &lt;v:f eqn=&quot;sum @0 1 0&quot;&gt;   &lt;v:f eqn=&quot;sum 0 0 @1&quot;&gt;   &lt;v:f eqn=&quot;prod @2 1 2&quot;&gt;   &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;&gt;   &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;&gt;   &lt;v:f eqn=&quot;sum @0 0 1&quot;&gt;   &lt;v:f eqn=&quot;prod @6 1 2&quot;&gt;   &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;&gt;   &lt;v:f eqn=&quot;sum @8 21600 0&quot;&gt;   &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;&gt;   &lt;v:f eqn=&quot;sum @10 21600 0&quot;&gt;  &lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:formulas&gt;  &lt;v:path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot; o:extrusionok=&quot;f&quot;&gt;  &lt;o:lock aspectratio=&quot;t&quot; v:ext=&quot;edit&quot;&gt; &lt;/o:lock&gt;&lt;/v:path&gt;&lt;/v:stroke&gt;&lt;/v:shapetype&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEip-KEK0w6xNckCVpfLc77PB8V0-qlZzBt28V-FN6rzNjLoqjdHzjNODenwZj_ujGRJy8QjznI7H3N8GrfbUpQOO664l94rMLI2mXrHkn7Jst9Yamuf45q0Aeed4b6YsV1DJ2RY5MsqZd8/s1600/mapping+b.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;180&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEip-KEK0w6xNckCVpfLc77PB8V0-qlZzBt28V-FN6rzNjLoqjdHzjNODenwZj_ujGRJy8QjznI7H3N8GrfbUpQOO664l94rMLI2mXrHkn7Jst9Yamuf45q0Aeed4b6YsV1DJ2RY5MsqZd8/s320/mapping+b.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-no-proof: yes;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-no-proof: yes;&quot;&gt;&lt;v:shapetype coordsize=&quot;21600,21600&quot; filled=&quot;f&quot; id=&quot;_x0000_t75&quot; o:preferrelative=&quot;t&quot; o:spt=&quot;75&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; stroked=&quot;f&quot;&gt;&lt;v:stroke joinstyle=&quot;miter&quot;&gt;&lt;v:path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot; o:extrusionok=&quot;f&quot;&gt;&lt;o:lock aspectratio=&quot;t&quot; v:ext=&quot;edit&quot;&gt;&amp;nbsp;Target table data structure Before update/insert&lt;/o:lock&gt;&lt;/v:path&gt;&lt;/v:stroke&gt;&lt;/v:shapetype&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjD_gdXFyFpodsVfmc0gfWxZpto4gCVbbAYpiqH9lwBO5ANx4otwl9MW9qyX_TXHCvUm2G0Z2wKGmIQoJzwzsTx8aEJGg8GBFqKYzp6plLjbuvO0zppc-s83qb1L8YWCffRDx8pWCSVlSE/s1600/table+data+b4.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;162&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjD_gdXFyFpodsVfmc0gfWxZpto4gCVbbAYpiqH9lwBO5ANx4otwl9MW9qyX_TXHCvUm2G0Z2wKGmIQoJzwzsTx8aEJGg8GBFqKYzp6plLjbuvO0zppc-s83qb1L8YWCffRDx8pWCSVlSE/s320/table+data+b4.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-no-proof: yes;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-no-proof: yes;&quot;&gt;&lt;v:shapetype coordsize=&quot;21600,21600&quot; filled=&quot;f&quot; o:preferrelative=&quot;t&quot; o:spt=&quot;75&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; stroked=&quot;f&quot;&gt;&lt;v:stroke joinstyle=&quot;miter&quot;&gt;&lt;v:path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot; o:extrusionok=&quot;f&quot;&gt;&lt;o:lock aspectratio=&quot;t&quot; v:ext=&quot;edit&quot;&gt;&lt;/o:lock&gt;&lt;/v:path&gt;&lt;/v:stroke&gt;&lt;/v:shapetype&gt;&lt;v:shape id=&quot;Picture_x0020_22&quot; o:spid=&quot;_x0000_i1025&quot; style=&quot;height: 263.25pt; visibility: visible; width: 468pt;&quot; type=&quot;#_x0000_t75&quot;&gt;  &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:\Users\kanna\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png&quot;&gt; &lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-no-proof: yes;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-no-proof: yes;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-no-proof: yes;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-no-proof: yes;&quot;&gt;&lt;v:shapetype coordsize=&quot;21600,21600&quot; filled=&quot;f&quot; id=&quot;_x0000_t75&quot; o:preferrelative=&quot;t&quot; o:spt=&quot;75&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; stroked=&quot;f&quot;&gt;&lt;v:stroke joinstyle=&quot;miter&quot;&gt;&lt;v:path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot; o:extrusionok=&quot;f&quot;&gt;&lt;o:lock aspectratio=&quot;t&quot; v:ext=&quot;edit&quot;&gt; Target table data structure after mapping &amp;amp; executed the workflow&lt;/o:lock&gt;&lt;/v:path&gt;&lt;/v:stroke&gt;&lt;/v:shapetype&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEil5lrpiTiNPeEtLjfG8z4liK6WEYnFZybk0HBDi9ngMELZGFOpFE-tccRxAbAvAlA3qqtRojW5jDXY94UGTZDzh0cEKgxjGidpjtGUshZ6DJixB_IBUZz1dIipCLnet0Y4ng47m5FQwR0/s1600/table+after.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;160&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEil5lrpiTiNPeEtLjfG8z4liK6WEYnFZybk0HBDi9ngMELZGFOpFE-tccRxAbAvAlA3qqtRojW5jDXY94UGTZDzh0cEKgxjGidpjtGUshZ6DJixB_IBUZz1dIipCLnet0Y4ng47m5FQwR0/s320/table+after.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-no-proof: yes;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-no-proof: yes;&quot;&gt;&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://sb-informaticamappings.blogspot.com/feeds/6413331154446251384/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sb-informaticamappings.blogspot.com/2011/09/update-existing-record-and-insert-new.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6498816635990273635/posts/default/6413331154446251384'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6498816635990273635/posts/default/6413331154446251384'/><link rel='alternate' type='text/html' href='http://sb-informaticamappings.blogspot.com/2011/09/update-existing-record-and-insert-new.html' title='Update existing record and insert new records using update strategy and expression transformation'/><author><name>sb</name><uri>http://www.blogger.com/profile/01700305108701739766</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEip-KEK0w6xNckCVpfLc77PB8V0-qlZzBt28V-FN6rzNjLoqjdHzjNODenwZj_ujGRJy8QjznI7H3N8GrfbUpQOO664l94rMLI2mXrHkn7Jst9Yamuf45q0Aeed4b6YsV1DJ2RY5MsqZd8/s72-c/mapping+b.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6498816635990273635.post-1269713383511632200</id><published>2011-09-09T09:25:00.000-07:00</published><updated>2011-09-09T09:28:05.136-07:00</updated><title type='text'>Complex Mapping in Informatica</title><content type='html'>Hello all,&lt;br /&gt;
&lt;br /&gt;
I am here to learn and share my knowledge about Complex Mapping in Informatica.&lt;br /&gt;
&lt;br /&gt;
Complex Mapping are basically contains &#39;n&#39; number of mappings based on the complex business logic. In General, Complex Mapping are controlled by the Informatica designers who chose it and develops according to the complex business logic. When we design the complex mappings, the designer should consider in terms of&amp;nbsp;Manageability&amp;nbsp; Scalability &amp;amp;&amp;nbsp;flexibility. Managing the Complex mapping is not easy unless it is designed in that way. In order to Maintain Complex mapping ,It is advisable to split the mappings in to multiple pieces. Designers should considered and &amp;nbsp;give equal importance to the Scalability,&amp;nbsp;Flexibility&amp;nbsp;&amp;amp; Maintainability while designing the complex mappings. Since complex mapping has lot of transformations, designer might face some challenges in modify or debug when there is a need. I personally feel that it is up to the designers choice the one who makes the call and control on it. Complex mapping should be easy to maintain, easy to extend &amp;amp; easy to scale.&lt;br /&gt;
&lt;br /&gt;
Any Experts can correct me if i am wrong and kindly suggest me the best if you can on this complex mapping.</content><link rel='replies' type='application/atom+xml' href='http://sb-informaticamappings.blogspot.com/feeds/1269713383511632200/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sb-informaticamappings.blogspot.com/2011/09/complex-mapping-in-informatica.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6498816635990273635/posts/default/1269713383511632200'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6498816635990273635/posts/default/1269713383511632200'/><link rel='alternate' type='text/html' href='http://sb-informaticamappings.blogspot.com/2011/09/complex-mapping-in-informatica.html' title='Complex Mapping in Informatica'/><author><name>sb</name><uri>http://www.blogger.com/profile/01700305108701739766</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>