How to implement SQL Over-ride on Source Tables in OWB?

How can we acheive SQL-Override feature similar to the one available in informatica on OWB.
We are thinking of using a view to filter the required data.And defiinig the view as the source in the mapping.
Is this the best approach to go by,any thoughts suggestions?

Informatica is a pipelined client/server ETL tool which means that if you read from a table and then apply a filter it will read all of the data onto the client (i.e. the application server, not a user machine) and then filter the data so it is not unusual for developers to want to put a lot of the logic into the SQL to reduce the number of records (which sort of defies the purpose of using the tool in the first place).
OWB is more of a ELT/code generator so if you create a similar mapping with a table and filter it will generate the SQL with the filter included. To be honest, I'm not 100% sure about this bit but I believe if you have a source via dblink (or even ODBC) then that full generated SQL should be sent to the source. In other words, although some people might be more comfortable with custom SQL I dont think it is actually necessary in most if not all cases.

Similar Messages

  • How to implement the shared lock in a  table view

    Hi,
    How to implement the shared lock in a  table view.for multiple users to edit on this same table.
    Thanks in advance
    Swathi

    Hi,
    Please refer this link to find solution to your querry.
    Hope it helps.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c322c690-0201-0010-fb86-811c52b0acc2.
    Regards,
    Rahul

  • How to let sql server 2008 know the table created at front end in c#

    How to let sql server 2008 know the table created at front end in c#

    The best solution is to create table type and pass the DataTable as table-valued parameter. I have an article on my web site about this:
    http://www.sommarskog.se/arrays-in-sql-2008.html
    The full article is a bit of overkill for what you are doing right now, but just the few first pages should get you going.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • How to use SQL OVER and PARTITION BY in OBIEE Expression Builder??

    Hi there,
    I want to create a new logical coulmn with the following SQL query.
    SUM(Inventory Detail.Qty) OVER(PARTITION BY Inventory Detail.A,Inventory Detail.B,Item.C,Inventory Detail.D,MyDATE )/SUM(Inventory Detail.Qty) OVER(PARTITION BY Inventory Detail.A,Inventory Detail.B,Item.C )
    How to use the OVER and PARTITION BY in OBIEE Expression Builder??
    Thanks in Advance

    hi bipin,
    We cant use by in Expression builder(rpd) .But use the same formula like this in Fx of answers
    SUM(Inventory Detail.Qty) OVER(PARTITION BY Inventory Detail.A,Inventory Detail.B,Item.C,Inventory Detail.D,MyDATE )/SUM(Inventory Detail.Qty) >OVER(PARTITION BY Inventory Detail.A,Inventory Detail.B,Item.C )SUM(Inventory Detail.Qty by Detail,ITEM,Mydate)/SUM(qty by detail,item)
    First check the numerator whether it was giving correct results or not then go with denominator
    compare the results with sql that u have
    Let me know if that does work
    thanks,
    saichand.v
    Edited by: Saichand Varanasi on Jul 27, 2010 9:27 PM
    Edited by: Saichand Varanasi on Jul 27, 2010 9:28 PM

  • How to implement VoIP over SIP in J2ME

    Hi All,
    This is kapil from India and i want to implement VoIP over SIP in j2me.Any help will be appreciated.
    I know about SIP API in J2ME. I want to use VoIP over it.Please help.I will be grateful to you.
    regards
    kapil

    Why don't you give us the money your Boss pays you.. then we'll see what can be done ;)
    Seriously, it might be smart to start your own research first. Check out what VoiP and SIP are all about, and the check how it fits into J2me.

  • How to implement Lag over  in OWB?

    Hi,
    Could any one please explain, how we can implement lag over in OWB?
    Thanks and regards
    Gowtham Sen.

    Hi Borkur,
    Thanks for reply.
    Actually I want to implement it in OWB. But after I got the answer from you, I decided to do in some othere way.
    The way you mentioned is right when we are performing the operations directly on a table.
    But in my scenario, an intermediate data is generating. I want to perform lag over operation on those records. Its possible by view.
    So for performing operations for intermediate result, Oracle is providing Table Function concept. I can pass the result to it.
    But the problem again is, how to implement the lag over operation there.
    Any idea.?
    Thanks and regards
    Gowtham sen.

  • How to implement row level security using external tables

    Hi All Gurus/ Masters,
    I want to implement row level security using external tables, as I'm not sure how to implement that. and I'm aware of using it by RPD level authentication.
    I can use a filter condition in my user level so that he can access his data only.
    But when i have 4 tables in external tables
    users
    groups
    usergroups
    webgrups
    Then in which table I need to give the filter conditions..
    Pl let me know this ...

    You pull the Group into a repository variable using a session variable init block, then reference that variable in the data filters either in the LTS directly or in the security management as Filters. You reference it with the syntax VALUEOF("NQ_SESSION.Variable Name")
    Hope this helps

  • Parse SQL query and extract source tables and columns

    Hello,
    I have a set of SQL queries and I have to extract the source tables and columns from them.
    For example:
    Let's imagine that we have two tables
    CREATE TABLE T1 (col1 number, col2 number, col3 number)
    CREATE TABLE T2 (col1 number, col2 number, col3 number)
    We have the following query:
    SELECT
    T1.col1,
    T1.col2 + T1.col3 as field2
    FROM T1 INNER JOIN T2 ON T1.col2=T2.col2
    WHERE T2.col1 = 1
    So, as a result I would like to have:
    Order Table Column
    1 T1 col1
    2 T1 col2
    2 T1 col3
    Optionally, I would like to have a list of all dependency columns (columns used in "ON", "WHERE" and "GROUP BY" clauses:
    Table Column
    T1 col2
    T2 col1
    T2 col2
    I have tried different approaches but without any success. Any help is appreciated. Thank you in advance.
    Best regards,
    Beroetz

    I have a set of SQL queries and I have to extract the source tables and columns from them. In a recent db version you can use Re: sql injection question for this.

  • How to implement sql query in cmp bean?

    let's say that i want to join two tables and use grouping, counting and sorting expresion. it is no problem with sql query but what about cmp bean?
    of course i can make one bmp bean or session bean and run directly sql expresion, but then what is the point of using cmp beans?
    thanks
    winnicki

    If yout need post-query for filling descriptive colums (eg. department name in emploees) you should build a view object which includes the descriptive colums by joining the relevent tables

  • How to implement QoS over UDP ?

    Hi
    Excuse me fo my poor english.
    Is-it possible to implement QoS with java and socket UDP ?
    Thanks

    The term QoS means a number of different things. Which one do you mean? See here: http://en.wikipedia.org/wiki/Quality_of_service
    Are you sure you want to use UDP? It is an unreliable protocol, and often takes quite a bit of work to use properly.
    Also google for udp qos etc.

  • How to implement script into the xml source

    Hi i want to update this read only field below (ProDate)  with the value of DateProDate wich is a true date picker.
    my question is where do i put this javascript in the field code......
    event.value = getField("DateProDate").value;
    The field code is below......
                      Proposed Settlement Date:

    With google.com it took me five seconds to find this(and a lot more):
       1.
          var newOption = document.createElement('option');
       2.
          newOption.value = my_value;
       3.
          newOption.appendChild(document.createTextNode('my_  text'));
       4.
       5.
          // if you want to insert in the end
       6.
          obj.appendChild(newOption);
       7.
       8.
          // if you want to insert not in the end (on index position)
       9.
          obj.insertBefore(newOption, obj.options[index]);
    <script type="text/javascript">
        function AddItem(Text,Value)
            // Create an Option object       
            var opt = document.createElement("option");
            // Add an Option object to Drop Down/List Box
            document.getElementById("DropDownList").options.add(opt);
            // Assign text and value to Option object
            opt.text = Text;
            opt.value = Value;
    <script />/Mattias

  • How to configure GG to merge two source tables into one destination table?

    I have two tables at source (say S1 & S2), I want to merge these tables and replicate to a single target table (Say T1).
    Does GG support this type of replication? If so, could any one let me know how to configure Table and Map parameters?
    Thanks in advance.

    It is possible. In the extract capture both the tables.
    Extract parameter
    table s1;
    table s2;
    Replicat parameter
    map s1, target t1, keycols (...);
    map s2, target t1, keycols (...)

  • How to implement a page showing different database tables

    I am wondering what is the best way to implement the following task:
    On the left side of a page, there are two Listboxes. On the right side of the page, I want to display different database tables depending on the selected value from those two Listboxes.

    I am wondering what is the best way to implement the
    following task:
    On the left side of a page, there are two Listboxes.
    On the right side of the page, I want to display
    different database tables depending on the selected
    value from those two Listboxes.A Data Table component isn't really designed to dynamically swap which database table you're binding too (and therefore which set of columns you will display) under the covers. Here are a couple of general strategies to consider for accomplishing your functional requirements:
    * Create a separate Data Table component for each possible database table, all on the same page, and dynamically set the "rendered" property of the selected Data Table to true, while setting it to false for all other Data Tables. That way, only the corect one will be shown.
    * Create a separate page for each Data Table, using a similar look and feel so that it appears to the user like it's all the same page. To save cutting and pasting the list components, put them in a JSP Page Fragment so they can be reused on each page. ((SIDE NOTE: This is a very common technique for simulating what looks like tabbed panes, but where the implementation actually uses separate pages.))
    * Use frames so that the left frame (containing the list boxes) stays the same, and the right frame switches to a different page for each of the tables. This is essentially another way to share the list components across the pages.
    * Abandon all the ease-of-use stuff Creator provides for binding to data tables, and write code that programmatically erases all the old child components and creates new ones. This is the sort of thing you'd need to do for a "SQL BROWSER" sort of application, where the set of columns is not known ahead of time.
    Craig McClanahan

  • How to process sql statements stored in a table

    I have a rule table that contain rule_type, rule_status and rule_condition. The rule condition is a sql statement. In a report I need to be able to expand this condtion based on the status selected. E.g When rule status is terminated the rule_condition is as below. When a user pick terminated status, I need to be able to go to the table and expand the sql statement. Another example is active status.
    RULE_STATUS TERMINATED
    SELECT leaseid
    FROM leatatt
    WHERE txtattid = 'LEAS END'
    and value = 'TERMINATED'
    RULE_STATUS ACTIVE
    SELECT leaseid
    FROM lease
    WHERE redoc_class = 'MASTER'
    AND TRUNC(SYSDATE) <=
    NVL(TRUNC(enddate),TRUNC(SYSDATE)+1)
    AND functional_status IN ('ACTIVE','OVERHOLD')
    Any suggestion will be appreciated.

    Please refer to
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:246014735810
    I am sure you would be twist this to bring it in to your use.
    <PRE>
    the proper way to do this is to NOT use a PLSQL table type but to use a SQL Object Type
    instead. It would look like this:
    [email protected]> create or replace type myScalarType as object
    2 ( x int,
    3 y date,
    4 z varchar2(25)
    5 )
    6 /
    Type created.
    [email protected]> create or replace type myTableType as table of myScalarType;
    2 /
    Type created.
    [email protected]> create or replace
    2 function demo_proc( p_start_row in number,
    3 p_end_row in number )
    4 return myTableType
    5 as
    6 l_data myTableType := myTableType();
    7 l_cnt number default 0;
    8 begin
    9 for x in ( select * from emp order by sal desc )
    10 loop
    11 l_cnt := l_cnt + 1;
    12 if ( l_cnt >= p_start_row )
    13 then
    14 l_data.extend;
    15 l_data(l_data.count) :=
    16 myScalarType( x.empno,
    17 x.hiredate,
    18 x.ename );
    19 end if;
    20 exit when l_cnt = p_end_row;
    21 end loop;
    22
    23 return l_data;
    24 end;
    25 /
    Function created.
    [email protected]> select *
    2 from the ( select cast( demo_proc(2,6) as mytableType )
    3 from dual ) a
    4 /
    X Y Z
    7788 09-DEC-82 SCOTT
    7902 03-DEC-81 FORD
    7566 02-APR-81 JONES
    7698 01-MAY-81 BLAKE
    7782 09-JUN-81 CLARK
    [email protected]>
    </PRE>

  • How to Implement Auto tabbing feature in a table region???

    Hi All,
    I am trying to implement auto tabbing feature in one of my OAF page using java script which is actually working for individual items but
    while implementing the same for a table bean its not working. is there any way to implement this feature in OAF without using java script?
    if not could anyone give some rough java script for this feature? please this is urgent..
    Thanks in advance
    Sree

    Sree,
    check this if it helps ;
    https://forums.oracle.com/thread/963732
    Not sure we can set Focus in : PFR ,  I hope it is possible in only PR.
    Regards
    Sridhar

Maybe you are looking for

  • How do I upgrade to Mountain lion from 10.5.8?

    So it seems as though this is going to be a major hassle. My java has corrupted and the only way to get it to work again is to upgrade my system. (I know that this is the only way because I have tried everything imaginable and after trying everything

  • Error in rebate agreement

    Hi, I would like to request your help on the error i encountered in SAP. I was doing a rebate payment settlement in VBO2 and I encountered the error: Error creating rebate credit memos (see next warning message) then I pressed enter and got this anot

  • Obtain list of fields for marketing attributes against BP

    Hi All, I'm working on a data extraction routine for BP data and need to be able to allow the user to select which fields will be extracted and added to the output file.  I've got some standard code that so far uses a data dictionary structure to cre

  • Question About Sony Handycam Mini DVD + iMac

    A friend recently asked me how she can compile all her half-hour long mini DVD's onto one normal sized DVD. She said she has tried several things but couldn't do it. I have a Sony mini DV recorder and thought I might be able to import the video from

  • How can i pass a param to RichTextPortlet

    who can give me a demo or the development turtorial about this? Thanks.