How to user oracle partation in ODI

Hi all,
i have table on daily partation, i want to access one partation how it will possible in ODI.
thanks a lot
Naseer

Hi Naseer,
How are you?
ODI doesnt support partition. You can do a work around for that by creating a VIEW out of that partition name, reverse it in ODI and use that as a source.
Like,
CREATE TABLE sales_range
(salesman_id NUMBER(5),
salesman_name VARCHAR2(30),
sales_amount NUMBER(10),
sales_date DATE)
PARTITION BY RANGE(sales_date)
PARTITION sales_jan2000 VALUES LESS THAN(TO_DATE('02/01/2000','DD/MM/YYYY')),
PARTITION sales_feb2000 VALUES LESS THAN(TO_DATE('03/01/2000','DD/MM/YYYY')),
PARTITION sales_mar2000 VALUES LESS THAN(TO_DATE('04/01/2000','DD/MM/YYYY')),
PARTITION sales_apr2000 VALUES LESS THAN(TO_DATE('05/01/2000','DD/MM/YYYY'))
create view sales_jan200 as select * from sales_range PARTITION (sales_jan2000);
Makes sense?
Thanks,
G

Similar Messages

  • How to compile Oracle procedure throught ODI procedure

    Hi
    Can any one help me how to compile oracle procedure through ODI11g
    I am awar of that, how to call oracle procedure in ODI and execute it.
    Please help me
    Regards,
    Phanikanth

    You want to know how to compile, or how to call, or both ?
    I don't know for compilation, but call a procedure is simple.
    You juste have to create an ODI Procedure and write the SQL statement like you do in a query editor.

  • How to bring oracle function into ODI

    Hi,
    I have a oracle function which I have to bring into ODI, could you please let me know how to do that?
    Thanks!
    Regards,
    Supreeth

    Hi Supreeth ,
    Before invoking a stored procedure from Oracle Data Integrator (ODI), run it outside ODI (i.e. SqlPlus), on the database, using the same database user as entered in the ODI Topology for this connection and make sure it is working properly .
    Then, when invoking the stored procedure from Oracle Data Integrator (ODI):
    1. Create an ODI Specific Procedure.
    2. Insert a step and, in the "Technology" drill down box, choose the appropriate RDBMS. Leave the context to "<Execution Context>".
    3. The precise syntax for calling RDBMS stored procedures in ODI may vary from one Technology to another one.
    For Oracle technologies, the syntax is as follows:
    BEGIN
    <%=odiRef.getObjectName (pMode, My_Procedure, pLogicalSchemaName, pContextName, pLocation)%> (MY_PARAM1, MY_PARAM2...);
    END;
    where
    * My_Procedure - is the stored procedure name
    * MY_PARAM1, MY_PARAM2... - are stored procedure parameter values
    * pMode, pLogicalSchemaName, pContextName, pLocation - are parameters of the getObjectName Substitution Method.
    At my Oracle instance I have a function called MY_FUNCTION
    So my syntax would be
    <%=odiRef.getObjectName ("L","MY_FUNCTION","D")%>
    Thanks,
    Sutirtha

  • How to user ORACLE as username in SQL Developer

    Hi,
    I am new to sql developer. Could you please tell me how do I connect as "ORACLE" user in SQL developer?
    I have full privileges using sys & oracle. I tried using sql as sysdba too but it is not accepting it in spite of providing correct password.

    >
    When I tried connecting to the database as " username - sys as sysdba" in spite of providing correct password, it says, logon denied, incorrect username/password. The oracle database version is 10.2.0.4 & sql developer is 3.5.
    >
    Are you sure you are using Oracle's sql developer?
    This is the official product page
    http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html
    IT shows the current latest version is 3.1.07.42 so Oracle doesn't have a version 3.5 yet.
    And the official product does not have a " username - sys as sysdba" selection anywhere that I can find. There is a role selection dropdown that includes a SYSDBA choice.
    So you provided information that can't possibly be correct and you did not respond to any of the questions that I asked other than DB version.
    If you want help you need to provide SPECIFIC information about what steps you have taken and what results you got.
    What steps did you take, specifically, to create a user called "ORACLE"? What user was used to create the "ORACLE" user? What grants (roles & privileges) were granted to the user named "ORACLE"?
    As for me, since you are not willing to provide information about the other questions that were ask I can't help you so I wish you luck.

  • How to use oracle partition in ODI

    hi all,
    i have a oracle database with daily partition. partition syntex is tbl_abc partition(20090909), now i want to use it in interface..
    kindly tell the way...
    Regard
    Naseer

    Hi Naseer,
    How are you?
    ODI doesnt support partition. You can do a work around for that by creating a VIEW out of that partition name, reverse it in ODI and use that as a source.
    Like,
    CREATE TABLE sales_range
    (salesman_id NUMBER(5),
    salesman_name VARCHAR2(30),
    sales_amount NUMBER(10),
    sales_date DATE)
    PARTITION BY RANGE(sales_date)
    PARTITION sales_jan2000 VALUES LESS THAN(TO_DATE('02/01/2000','DD/MM/YYYY')),
    PARTITION sales_feb2000 VALUES LESS THAN(TO_DATE('03/01/2000','DD/MM/YYYY')),
    PARTITION sales_mar2000 VALUES LESS THAN(TO_DATE('04/01/2000','DD/MM/YYYY')),
    PARTITION sales_apr2000 VALUES LESS THAN(TO_DATE('05/01/2000','DD/MM/YYYY'))
    create view sales_jan200 as select * from sales_range PARTITION (sales_jan2000);
    Makes sense?
    Thanks,
    G

  • How to call Oracle Procedure into ODI

    Hi,
    I'm using ODI 10g.
    Before executing the interface in a package i wanted to place my Procedure.
    I created following procedure in d/b (target)
    CREATE OR REPLACE PROCEDURE TEST_MY_NEW_PROCE
    AS
    BEGIN
    DELETE FROM EMPLOYEE_TABLE
    WHERE EMPLOPYEE_ID LIKE 'P%';
    COMMIT;
    END;
    The Procedure is working fine in target database.
    Now, before executing my interface i would like to run this procedure in my package. So, can some one please help me how to call this oracle procedure (Created in Target schema) into ODI and run this.
    thank you.

    Hi GRK,
    You can create an ODI procedure, add a single step, choose Oracle as Technology and your target schema.
    Then just call it through a pl/sql block :
    BEGIN
    TEST_MY_NEW_PROCE;
    END;Then drag this ODI procedure in your package.
    Regards,
    JeromeFr

  • How to user oracle intermedia and plpdf to display image

    Hi all,
    AS i know plpdf is very retriction to display images and i think it only valid for jpep and may be gif file extension. Can i display any kind of different file of format if i've both oracle intermedia and plpdf in my database. If yes, can you give me an exampe how to work that this.
    Thank you very much,
    Kevin

    Best way,
    1. I belive you have a JPEG Image.
    2. Accept the text from user. Create an Image from it.
    3. Add the two Images.
    4. All this operations can be done using JAI (Java Advanced Imaging API). It is simple and straight forward.

  • Setting oracle apps  appscontext (user/organization/responsibility) in ODI

    Hi All - Is there anyway we can setup appscontext (used in oracle applications/ebs suite) (user id/organization id/responsibility) before executing any stored procedures from ODI. This can be achieved in BPEL. We can set these as properties for oracle apps adapter (in BPEL) which will inturn execute our stored procedures. How do we achieve this in ODI?
    Thanks!

    Hi,
    I found this in my notes:
    To set the ORG_ID (Business Group) in a SQL*Plus session, use the following anonymous PL/SQL block:
    BEGIN
    fnd_client_info.set_org_context('<ORG_ID>'); --ORG_ID for Business Group ID
    END;
    or even simpler:
    exec dbms_application_info.set_client_info('<ORG_ID>'); --ORG_ID for Business Group ID
    I remember using it in order to be able to query on some Views that don't display any record, as they are based on the Business Group you are logged to. Once I used the EXEC.... command in SQL*Plus, the view displayed the corresponding information.
    Try researching if package DBMS_APPLICATION_INFO could be used to set the ORGANIZATION_ID (to identify the Organization or Plant). Note that ORGANIZATION_ID is different than ORG_ID (ORG_ID is used to identify the Business Group).
    Hope this helps.
    By the way, please reply back with what you find and tell us if it worked and how you used it.
    Regards,
    Ramon

  • How many users/ schemas can we create in an oracle database?

    How many users can we create in an oracle database? Or how many users can oracle handle?
    Problem-
    I have to store information of ontologies (I will use countries instead) in db.
    I have to store information regarding countries.
    I have 13 tables in all to maintain for each country.
    Now there are two approaches:
    1) keep only 13 tables. Have an extra column in each table to indicate that a particular
    row stores information for which country.
    2) create a new user/ schema for each country. So we can get rid of the extra column
    needed in 1st approach.
    I have used the second approach. This is because number of entries in each table for a
    given country will be large.
    So initially when the s/w is installed I create a central-user. Each time data for new
    country has to be entered central-user creates a user/ schema, and creates tables for
    this user/ schema. The central user can access the tables of all the countries by
    country_name.table_name. By this approach I believe searching would be easy.
    If there is any flaw in my approach kindly mention it.
    Thank you

    There is no (practical at least) limit to the number of users & schemas you can have in Oracle.
    Your approach, however, is not going to scale nearly as well as the first option you outlined (adding a column). You are going to end up caching every possible variation of the various queries you're going to be executing because you will be referring to so many different tables, which is going to mean that you are doing a lot more work to parsing statements and generally churning through the shared pool. If you create enough users, you're liable to start hitting ORA-04030 errors because your shared pool is so fragmented.
    Additionally, you're likely going to end up with a whole lot of dynamically generated SQL to accommodate new schemas getting added over time which is going to cause you even more pain. Figuring out dynamically what table to join in is a heck of a lot more difficult for the programmer to write and for the database to handle than simply passing in a different country code.
    If you're concerned about having too much data, you can have your cake and eat it to by adding the country column and partitioning the tables based on country.
    Justin
    One other item I forgot to mention is maintainability. Having dozens or hundreds of "identical" schemas makes maintenance a huge pain because something like adding a new column now requires dozens or hundreds of separate DDL statements. You're almost guaranteed that some schema isn't going to be in sync-- it's going to miss a column or miss an index, etc.
    Message was edited by:
    Justin Cave

  • How to find out the users currently logged into ODI

    Hi all,
    How to find out the users currently logged into ODI Work Repository?
    Thanks.

    Hi,
    It stores all the final queries in work rep table i.e "SNP_SESS_TXT_LOG" and the column is "TXT".
    Here u can find all the ODI bkp process queries.Pls specify the SESS_NO for purtivular task u want to check which u can get this in ODI operator.
    I dont think so that it will keep the substituted value(because its implicit and temporary process) but it will keep all the default values in the table SNP_VAR_SESS and the column is "DEF_V".
    Thanks,
    katukota

  • Find how many users are connected in the Oracle Server

    Hi,
    I am using Oracle 10g. My question is, is it possible to find how many users are connected in the Oracle Server. We are having one Server and we are having many client machines which will connect the Oracle.
    And one more question in the meanwhile i want to take Backup of one database which client as connected. Is it get any problem to the client machine which is accessing the server. And How to take the backup from the server machine. Any commands to process.
    Thank u...!

    Hi there.
    If You run
    select count(*) from v$session where username is not null;you'll get the number of users connected to Oracle server,
    and yes , you could do backup while users are connect to db you are backing up.
    cheers

  • How to check ,how many  users are logged in and logged out in oracle ebs 11i/R12.

    Hi Experts,
    Kindly let me know
    how to check ,how many  users are logged in and logged out in oracle ebs 11i/R12.
    Also, in the database level too ,Do we need to write any trigger for this?
    Thanks in advance.

    Hi,
    How to check ,how many  users are logged in and logged out in oracle ebs 11i/R12.
    Please check the following links:
    Oracle EBS - Number of Users logged into EBS / Oracle Applications currently
    List all users currently logged in on Oracle EBS
    Also see forum Search:
    Forum Search: Logged In EBS User
    Also, in the database level too
    Please see:
    https://forums.oracle.com/message/9225094#9225094
    Do we need to write any trigger for this?
    Yes you may, But I personally suggest you not to do so as it may affect performance.
    Thanks &
    Best Regards,

  • CloudControl12c: how to set metric for os-processes (user oracle)

    Hi ,
    I would like to set up a metric which monitors the number of processes of the user oracle. However, I haven't found any existing metric which offers this ability.
    Is the set up of a user defined metric the only option I have?
    Rgds
    JH

    You're looking for the VirtualBox forums. https://forums.virtualbox.org/
    This forum is for discussion of Oracle VM Server.

  • How to properly set the environment for user oracle under Linux

    Hi,
    Every time I install XE on Linux somewhere, I repeat these steps (along with [fixing the /etc/init.d/oracle-xe startup script|http://forums.oracle.com/forums/thread.jspa?threadID=843780&tstart=0]), so I thought, why not contribute this to the community.
    Those who have installed XE on Linux know that, after installation, logging in as user oracle gets you in a
    $cryptic prompt. On top of that, none of the essential environment variables are set. Not amusing. That's because the oracle user lacks the proper configuration files for the bash prompt. Log in as user oracle and create these:
    .bashrc
    if [ -f /etc/bashrc ]; then
      . /etc/bashrc
    fi.bash_profile
    if [ -f ~/.bashrc ]; then
      . ~/.bashrc
    fi
    . /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/oracle_env.sh
    unset USERNAME.bash_logout
    clearNow log out and then log in again - a nicer prompt, and all environment variables are set, ready to run sqlplus, imp, etc.
    This should help make your overall XE experience on Linux easier. Regards,
    Georger

    Nice. I checked the .bash_profile of my oracle installation and this is what I can contribute (I got the additional stuff from some tests with other Oracle Versions):
    # /etc/skel/.bash_profile
    # This file is sourced by bash for login shells.  The following line
    # runs your .bashrc and is recommended by the bash info pages.
    [[ -f ~/.bashrc ]] && . ~/.bashrc
    # Oracle Profile Settings
    if [ $USER = "oracle" ]; then
       source /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/oracle_env.sh
       if [ $SHELL = "/bin/ksh" ]; then
          ulimit -p 16384
          ulimit -n 65536
       else
          ulimit -u 16384 -n 65536
       fi
    fiC.

  • How to set Oracle Data Integrator Timeout paramter value as unlimited

    Hi
    Can any one help me how to set Oracle Data Integrator Timeout (ODI menu>User Paramter>Oracle Data Integrator Timeout > paramter value as unlimited.
    By default it is 30 and i want to change it as unlimited.
    I am connecting linux box through windows using citrix and opened ODI and start the scenario execution (my scenario execution in loop and it will execute continuesly) after execution starts I an logout from citrix (I am not closing ODI) and after some time like 50 min my odi execution is stoped due to timeout.
    my ODI execution should continue in my absence that to unlimited.
    Please help me it is urgent
    Regards,
    Phanikanth

    Thanks Bhabani
    Is it work for unlimited in linux box because I have given operator dispplay limit(0=no limit) as 1000000 and I am unable to see the execution session details on Operator>session list
    later i have changed to 10000 and click on ok and just refreshed and it is working fine
    If I give mensioned below it will not impact on ODI ?
    windows it is working but I have doubt on linux version
    Please help me
    Regards,
    Phanikanth

Maybe you are looking for

  • How to upload a pdf file using webdynpro abap

    Hi Experts, I need to upload pdf files using webdynpro abap.my question is where to upload this files and how to upload this files, and how to display this pdf file. Please Provide Requried Information. Waiting for Reply. Thanks & Regards. Bhushan.

  • Password Protecting a Muse page

    I made a site in Adobe Muse, and would like to password protect a few pages. Ideally, have to type a password every time the URL is accessed (i.e. if someone copy/pastes the link, they would still have to type the password in). Also, I would like a d

  • Screen will not respod to touch after 1 sek

    Greetings! The problem started about week ago morning.. basically when i switch screen on then touch works until i wait without touching it for 1-2 sek. After that screen works but will not respond to my fingers anymore.. Tried now to reset all setti

  • Horrid u201Ccrash for no apparent reasonu201D in the crystal viewer

    Hi We have embedded the new 2010 for VS crystal viewer in our .NET 4 enterprise application. We are sometimes seeing this crash: at CrystalDecisions.Windows.Forms.PageControl.OnMouseMove(MouseEventArgs e)    at System.Windows.Forms.Control.WmMouseMov

  • Why do I get a message that my apple id has been disabled when I try to update software?

    Why do I get a message that my apple id has been disabled when I try to update software?