W_ASSET_D.VIS_PR_POS_ID

Hi,
Please let me know what does the W_ASSET_D.VIS_PR_POS_ID columns contains and what it is used for.
Thanks
Anamika

Hi anamika,
It is an Asset module related column,you can look view data of that column and see what it contains.Its an id column as it says if you want to know where it is used for ask your functional consultant or ETL guy what it is used for.
It should not be posted here,other forum.
Hope it answers your question.
By,
KK

Similar Messages

  • Unknown command ")" rest of line ignored

    Hi,
    Someone please let me know what the error in this DDL is:
    create table W_ASSET_D
    ROW_WID NUMERIC(10,0),
    AAG_NAME varchar2(150),
    AAG_SVC_TYPE varchar2(250),
    ACCOUNTING_MTHD varchar2(50),
    ACCOUNTING_MTHD_I varchar2(50),
    ANN_PERC_RATE NUMERIC(22,7),
    ANN_PERC_YIELD NUMERIC(22,7),
    ASSET_LOB varchar2(50),
    ASSET_LOB_I varchar2(50),
    ASSET_NUM varchar2(100),
    ASSET_TAG varchar2(50),
    ASSET_TYPE varchar2(50),
    ASSET_TYPE_I varchar2(50),
    BILL_STATUS_CD varchar2(50),
    BILL_STATUS_CD_I varchar2(50),
    BUILD_DT TIMESTAMP,
    BUILD_PLANT_CD varchar2(50),
    BUILD_PLANT_CD_I varchar2(50),
    CHANNEL_TYPE_CD varchar2(50),
    CHANNEL_TYPE_CD_I varchar2(50),
    COMMIT_AMT NUMERIC(22,7),
    COMPANY_CD varchar2(50),
    COMPANY_CD_I varchar2(50),
    COMPANY_CODE varchar2(50),
    COMPANY_CODE_I varchar2(50),
    CONDITION varchar2(50),
    CONDITION_I varchar2(50),
    COST_CATEGORY varchar2(50),
    COST_CATEGORY_I varchar2(50),
    CP_RISK_RATE varchar2(50),
    DEALER_RCPT_DT TIMESTAMP,
    DIVIDEND_OPTION varchar2(50),
    DIVIDEND_OPTION_I varchar2(50),
    DLR_INV_PRICE NUMERIC(22,7),
    DOORS_TYPE_CD varchar2(50),
    DOORS_TYPE_CD_I varchar2(50),
    DRIVE_TRAIN_CD varchar2(50),
    DRIVE_TRAIN_CD_I varchar2(50),
    END_DT TIMESTAMP,
    EXT_COLOR_CD varchar2(50),
    EXT_COLOR_CD_I varchar2(50),
    FIRST_SALE_DT TIMESTAMP,
    FLT_CAT_CD varchar2(50),
    FLT_CAT_CD_I varchar2(50),
    FLT_FLG varchar2(1),
    FLT_TYPE_CD varchar2(50),
    FLT_TYPE_CD_I varchar2(50),
    HLTH_ACCNT_TYPE varchar2(50),
    HLTH_ACCNT_TYPE_I varchar2(50),
    INCEPTION_DT TIMESTAMP,
    INSTALL_DT TIMESTAMP,
    INSURED_AMT NUMERIC(22,7),
    INTEREST_RATE NUMERIC(22,7),
    INT_COLOR_CD varchar2(50),
    INT_COLOR_CD_I varchar2(50),
    INVENTORY_LOC varchar2(100),
    LAST_STAT_DT TIMESTAMP,
    LCNS_EXP_DT TIMESTAMP,
    LICENSE_NO varchar2(50),
    LICENSE_STATE varchar2(50),
    MAKE_CD varchar2(50),
    MAKE_CD_I varchar2(50),
    MATURITY_DT TIMESTAMP,
    MINI_WID NUMERIC(10,0),
    MODEL_CD varchar2(50),
    MODEL_CD_I varchar2(50),
    MODEL_YR NUMERIC(10,0),
    MSRP_AMT NUMERIC(22,7),
    NEXT_STAT_DT TIMESTAMP,
    NON_FORFT_OPTION varchar2(50),
    NON_FORFT_OPTION_I varchar2(50),
    ODOMTR_RDG NUMERIC(22,7),
    ODOMTR_UOM varchar2(50),
    ODOMTR_UOM_I varchar2(50),
    ORIG_COST NUMERIC(22,7),
    OVERDRAFTS_YY NUMERIC(10,0),
    OWNER_NAME varchar2(50),
    PEND_CANCEL_FLG varchar2(1),
    PREMIUM NUMERIC(22,7),
    PREMIUM_CLASS varchar2(50),
    PREMIUM_DT TIMESTAMP,
    PRODUCT_NAME varchar2(100),
    PROFIT NUMERIC(22,7),
    PURCHASE_DT TIMESTAMP,
    QTY NUMERIC(22,7),
    RATE_PLAN varchar2(50),
    RATE_PLAN_I varchar2(50),
    RATE_STATE varchar2(15),
    REFERRAL_NAME varchar2(100),
    REGISTERED_DT TIMESTAMP,
    REVENUE NUMERIC(22,7),
    REV_NUM varchar2(50),
    SERIAL_NUM varchar2(100),
    SHIP_DT TIMESTAMP,
    START_DT TIMESTAMP,
    STATUS varchar2(50),
    STATUS_I varchar2(50),
    SUB_STATUS varchar2(50),
    SUB_STATUS_I varchar2(50),
    SUB_TYPE varchar2(50),
    SUB_TYPE_I varchar2(50),
    TRANSMISSION_CD varchar2(50),
    TRANSMISSION_CD_I varchar2(50),
    TRIM_CD varchar2(50),
    TRIM_CD_I varchar2(50),
    U_CURCY_CD varchar2(50),
    U_EXCH_DT TIMESTAMP,
    U_MSRP_AMT NUMERIC(22,7),
    U_MSRP_CURCY_CD varchar2(50),
    U_MSRP_EXCH_DT TIMESTAMP,
    U_ORIG_CST NUMERIC(22,7),
    U_VALUE_AMT NUMERIC(22,7),
    VALUE_AMT NUMERIC(22,7),
    VALUE_BASIS varchar2(50),
    VALUE_BASIS_I varchar2(50),
    VERSION varchar2(50),
    VHCL_TYPE_CD varchar2(50),
    VHCL_TYPE_CD_I varchar2(50),
    VIN_NUM varchar2(100),
    VIS_PR_BU_ID varchar2(30),
    VIS_PR_EMP_ID varchar2(30),
    VIS_PR_POS_ID varchar2(30),
    VIS_PR_POSTN_DH_WID NUMERIC(10,0),
    WRNTY_END_DT TIMESTAMP,
    WRNTY_NAME varchar2(100),
    WRNTY_START_DT TIMESTAMP,
    WRNTY_SUB_TYPE varchar2(50),
    WRNTY_SUB_TYPE_I varchar2(50),
    WRNTY_TYPE varchar2(50),
    WRNTY_TYPE_I varchar2(50),
    CREATED_BY_WID NUMERIC(10,0),
    CHANGED_BY_WID NUMERIC(10,0),
    CREATED_ON_DT TIMESTAMP,
    CHANGED_ON_DT TIMESTAMP,
    AUX1_CHANGED_ON_DT TIMESTAMP,
    AUX2_CHANGED_ON_DT TIMESTAMP,
    AUX3_CHANGED_ON_DT TIMESTAMP,
    AUX4_CHANGED_ON_DT TIMESTAMP,
    SRC_EFF_FROM_DT TIMESTAMP,
    SRC_EFF_TO_DT TIMESTAMP,
    EFFECTIVE_FROM_DT TIMESTAMP,
    EFFECTIVE_TO_DT TIMESTAMP,
    DELETE_FLG varchar2(1),
    CURRENT_FLG varchar2(1),
    W_INSERT_DT TIMESTAMP,
    W_UPDATE_DT TIMESTAMP,
    DATASOURCE_NUM_ID NUMERIC(10,0),
    ETL_PROC_WID NUMERIC(10,0),
    INTEGRATION_ID varchar2(80),
    TENANT_ID varchar2(80),
    X_CUSTOM varchar2(10)
    );

    Script:
    create table W_ASSET_D
    ROW_WID NUMERIC(10,0)
    /Execution:
    SQL> create table W_ASSET_D
      2  (
      3  ROW_WID NUMERIC(10,0)
      4 
    SQL> )
    SP2-0042: unknown command ")" - rest of line ignored.
    SQL> /
    ROW_WID NUMERIC(10,0)
    ERROR at line 3:
    ORA-00907: missing right parenthesis
    SQL> Hint:
    SQL> SET SQLBLANKLINES ON
    SQL> create table W_ASSET_D
      2  (
      3  ROW_WID NUMERIC(10,0)
      4 
      5  )
      6  /
    Table created.
    SQL> SY.

  • Poor Performance in ETL SCD Load

    Hi gurus,
    We are facing some serious performance problems during an UPDATE step, which is part of a SCD type 2 process for Assets (SIL_Vert/SIL_AssetDimension_SCDUpdate). The source system is Siebel CRM. The tools for ETL processing are listed below:
    Informatica PowerCenter 9.1.0 HotFix2 0902 357 (R181 D90)
    Oracle BI Data Warehouse Administration Console (Dac Build AN 10.1.3.4.1.patch.20120711.0516)
    The OOTB mapping for this step is a simple SELECT command - which retrieves historical records from the Dimension to be updated - and the Target table (W_ASSET_D), with no UPDATE Strategy. The session is configured to always perform UPDATEs. We also have set $$UDATE_ALL_HISTORY to "N" in DAC: this way we are only selecting the most recent records from the Dimension history, and the only columns that are effectively updated are the system columns of SCD (EFFECTIVE_FROM_DT, EFFECTIVE_TO_DT, CURRENT_FLG, ...).
    The problem is that the UPDATE command is executed individually by Informatica Powercenter, for each record in W_ASSET_D. For a number of 2.486.000 UPDATEs, we had ~2h of processing - a very poor performance for only one ETL step. Our W_ASSET_D has ~150M records today.
    Some questions for the above:
    - is this an expected average execution duration for this number of records?
    - updates record by record are not optimal, this could be easily overcome by a BULK COLLECT/FORALL method. Is there a way to optimize the method used by Informatica or we need to write our own PL-SQL script and run it in DAC?
    Thanks in advance,
    Guilherme

    Hi,
    Thank you for posting in Windows Server Forum.
    Initially please check the configuration & requirement part for RemoteFX. You can follow below article for further research.
    RemoteFX vGPU Setup and Configuration Guide for Windows Server 2012
    http://social.technet.microsoft.com/wiki/contents/articles/16652.remotefx-vgpu-setup-and-configuration-guide-for-windows-server-2012.aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    TechNet Community Support

  • Help in modifying the query

    When i run the following query,
    select row_wid,
    case when X_ACT_TYPE in ('Install','3Ph Batt Replacement') then 'FLAG_1'
    when (x_act_type ='Maintenance' and X_act_subtype = 'Break Fix') then 'FLAG_2'
    When (x_act_type ='Maintenance' and X_act_subtype = 'Preventive Maintenance') then 'FLAG_3'
    else 'FLAG_4' end as FLAG_TYPE
    from anl_crm_rmw.wc_activity_d
    my value for flag_type is always Flag_4. It is not able to find other types.
    Is there any problem in query. Pls guide me.

    I am getting the following error ORA-00933, when i use the following query,
    select a.row_wid,
    case when a.X_ACT_TYPE = 'Install' then 'FLAG_1'
    when a.X_ACT_TYPE = '3Ph Batt Replacement' then 'FLAG_1'
    when a.X_ACT_TYPE = 'Customer Training' then 'FLAG_1'
    when a.X_ACT_TYPE = 'Product Substuition' then 'FLAG_1'
    when a.X_ACT_TYPE = 'Customer Commercial Support' then 'FLAG_1'
    when (a.x_act_type = 'Maintenance' and a.X_act_subtype = 'Break Fix') then 'FLAG_2'
    when (a.x_act_type = 'Maintenance' and a.X_act_subtype = 'Break/Fix') then 'FLAG_2'
    when (a.x_act_type = 'Maintenance' and a.X_act_subtype = 'Break Fix/Corrective Maint') then 'FLAG_2'
    when (a.x_act_type = 'Maintenance' and a.X_act_subtype = 'Break Fix-Corrective Maint') then 'FLAG_2'
    When (a.x_act_type = 'Maintenance' and a.X_act_subtype = 'Preventive Maintenance') then 'FLAG_3'
    When (a.x_act_type = 'Maintenance' and a.X_act_subtype = 'System Removal') then 'FLAG_3'
    When (a.x_act_type = 'Maintenance' and a.X_act_subtype = 'Standby') then 'FLAG_3'
    else 'FLAG_4' end as FLAG_TYPE,
    C.wrnty_end_dt
    from anl_crm_rmw.wc_activity_d A,
    anl_crm_rmw.wc_activity_F B,
    anl_crm_rmw.w_asset_d C
    where A.ROW_WID = B.ROW_WID
    and B.ASSET_WID = C.ROW_WID
    and a.row_wid = 2088219
    group by A.row_wid, case when A.X_ACT_TYPE = 'Install' then 'FLAG_1'
    when A.X_ACT_TYPE = '3Ph Batt Replacement' then 'FLAG_1'
    when A.X_ACT_TYPE = 'Customer Training' then 'FLAG_1'
    when A.X_ACT_TYPE = 'Product Substuition' then 'FLAG_1'
    when A.X_ACT_TYPE = 'Customer Commercial Support' then 'FLAG_1' end
    when (A.x_act_type = 'Maintenance' and a.X_act_subtype = 'Break Fix') then 'FLAG_2'
    when (A.x_act_type = 'Maintenance' and a.X_act_subtype = 'Break/Fix') then 'FLAG_2'
    when (A.x_act_type = 'Maintenance' and a.X_act_subtype = 'Break Fix/Corrective Maint') then 'FLAG_2'
    when (A.x_act_type = 'Maintenance' and a.X_act_subtype = 'Break Fix-Corrective Maint') then 'FLAG_2'
    When (A.x_act_type = 'Maintenance' and a.X_act_subtype = 'Preventive Maintenance') then 'FLAG_3'
    When (A.x_act_type = 'Maintenance' and a.X_act_subtype = 'System Removal') then 'FLAG_3'
    When (A.x_act_type = 'Maintenance' and a.X_act_subtype = 'Standby') then 'FLAG_3'
    else 'FLAG_4' end

  • XSU  and CURSOR expression in the sql query

    Platform: oracle 8.X on ibm aix and java client code from
    windows NT.
    JDBC DRIVER: JDBC Oracle thin driver version 1.2.
    when i execute a Sql satement with Cursor expression from the
    java client code with XSU it returns an XML DOM But if the
    CURSOR EXPRESSION IN THE SQL QUERY RETURNS EMPTY ROWS i get
    back an error node with "ORA-01001 Invalid Cursor" error
    message.i had aslo set the setNullAttributes(true) property
    on oraclexmlquery.
    Interestingly, if i exceute the same query in the SQL plus
    it returns the column names with no rows.
    is there any way where i can get xml document with table
    structure, when there are no rows instead of ORA error message.

    Ok.
    I assume that you have for one activity several asset PNR and for one asset several activity.
    The factPNR is on this way a real bridge table. It's a way to be able to design a many-to-many relationship.
    Have a look here for more detail on how to build a many-to-many relationship :
    http://gerardnico.com/wiki/dw/data_quality/relationships#many-to-many
    Therefore I assume that you want this design :
    DimActivity -< FactActivity >- < FactPNR >- DimPNR  and you will have :
    DimActivity -< FactActivity >- < BridgeTable >- DimPNR  How to build your bridge table ?
    In the physical layer, :
    * create a new table BridgeActivityPNR, open it and select "statement"
    * enter your sql statement
    SELECT DISTINCT A.ROW_WID ACTIVIDAD_WID, B.ROW_WID ASSET_WID
    FROM W_ACTIVITY_F A,
    W_ASSET_D B,
    W_SRVREQ_D C,
    X_S_CMPT_MTRC_F D,
    X_S_ASSET_FEA_D E
    WHERE A.X_SRA_SR_ID=C.INTEGRATION_ID AND
    C.X_VLG_FLIGHT_ID=D.X_ROW_ID AND
    D.X_ROW_ID=E.X_CM_ID AND
    E.X_ASSET_ID=B.X_ROW_ID* add two columns in the column tab : ACTIVIDAD_WID and ASSET_WID
    * create the physical join with the table FactActivity and DimPNR
    * drag and drop in the business model your table BridgeActivityPNR
    * in the BMM, create the complex join like this :
    DimActivity -< FactActivity >- < BridgeTable >- DimPNR  * open your logical bridge table and check the bridge table option.
    And you are done if I didn't forget anything.
    A complete example here :
    http://gerardnico.com/wiki/dat/obiee/obiee_bridge_table

  • Cartesian join in the SQL query

    Hi,
    I have a problem when joining two tables that cannot join directly. As I read (please correct me if I'm wrong), two dims have to join by one fact in order to extract information from them. This way, I created logical source tables with SQL query that join both dims. So, if for example Dim A and Dim B cannot join directly, I created a "mapping table" which is a select that joins these 2 tables in the proper way and the fields are the row_wids from these tables. This way, I created the following model diagram for this relationship:
    DimActivity -< FactMapping >- DimPNR
    DimActivity -< FactActivity >- DimMapping
    DimPNR -< FactPNR >- DimMapping
    Now, I can extract information from both dims and their metrics, except in one case; If I extract info from ("Segment Designer") "Dim-Activity", "Dim-PNR", "Fact-Activity" and "Fact-PNR", I get a query that first calculates the metric from Activity, then calculates the metric from PNR, and when it joins both queries, I get cardinality because it doesn't join through the "mapping tables". The whole query is:
    WITH
    SAWITH0 AS (select sum(T690608."QTY") as c1,
    T690608."ASSET_NUM" as c2
    from "W_ASSET_D" T690608 /* Dim_W_ASSET_D */
    group by T690608."ASSET_NUM"),
    SAWITH1 AS (select sum(T682428."COST") as c1,
    T682428."STATUS_WID" as c2
    from "W_ACTIVITY_F" T682428 /* Dim_W_ACTIVITY_F */
    group by T682428."STATUS_WID")
    select distinct SAWITH0.c2 as c1,SAWITH1.c2 as c2,SAWITH1.c1 as c3,SAWITH0.c1 as c4
    from
    SAWITH0,SAWITH1
    Why there is no condition joining SAWITH0 and SAWITH1? Is there a way to force this to be an inner join? I'm looking forward to your answer, since this problem is urgent within this project. Thank you in advance

    Ok.
    I assume that you have for one activity several asset PNR and for one asset several activity.
    The factPNR is on this way a real bridge table. It's a way to be able to design a many-to-many relationship.
    Have a look here for more detail on how to build a many-to-many relationship :
    http://gerardnico.com/wiki/dw/data_quality/relationships#many-to-many
    Therefore I assume that you want this design :
    DimActivity -< FactActivity >- < FactPNR >- DimPNR  and you will have :
    DimActivity -< FactActivity >- < BridgeTable >- DimPNR  How to build your bridge table ?
    In the physical layer, :
    * create a new table BridgeActivityPNR, open it and select "statement"
    * enter your sql statement
    SELECT DISTINCT A.ROW_WID ACTIVIDAD_WID, B.ROW_WID ASSET_WID
    FROM W_ACTIVITY_F A,
    W_ASSET_D B,
    W_SRVREQ_D C,
    X_S_CMPT_MTRC_F D,
    X_S_ASSET_FEA_D E
    WHERE A.X_SRA_SR_ID=C.INTEGRATION_ID AND
    C.X_VLG_FLIGHT_ID=D.X_ROW_ID AND
    D.X_ROW_ID=E.X_CM_ID AND
    E.X_ASSET_ID=B.X_ROW_ID* add two columns in the column tab : ACTIVIDAD_WID and ASSET_WID
    * create the physical join with the table FactActivity and DimPNR
    * drag and drop in the business model your table BridgeActivityPNR
    * in the BMM, create the complex join like this :
    DimActivity -< FactActivity >- < BridgeTable >- DimPNR  * open your logical bridge table and check the bridge table option.
    And you are done if I didn't forget anything.
    A complete example here :
    http://gerardnico.com/wiki/dat/obiee/obiee_bridge_table

  • Issue with Buliding Warehouse Tables..

    Hi all,
    i want try to create DWH tables through Dac.but that time i getting error
    i.e)done.some takes will be fail.we are useing Sibel 8.1.1 system.
    once i chicked my logfile.
    createwtables.log
    Siebel Enterprise Applications ODBC DDL Import Utility, Version 7.7 [18030] ENU
    Copyright (c) 2001 Siebel Systems, Inc. All rights reserved.
    This software is the property of Siebel Systems, Inc., 2207 Bridgepointe Parkway,
    San Mateo, CA 94404.
    User agrees that any use of this software is governed by: (1) the applicable
    user limitations and other terms and conditions of the license agreement which
    has been entered into with Siebel Systems or its authorized distributors; and
    (2) the proprietary and restricted rights notices included in this software.
    WARNING: THIS COMPUTER PROGRAM IS PROTECTED BY U.S. AND INTERNATIONAL LAW.
    UNAUTHORIZED REPRODUCTION, DISTRIBUTION OR USE OF THIS PROGRAM, OR ANY PORTION
    OF IT, MAY RESULT IN SEVERE CIVIL AND CRIMINAL PENALTIES, AND WILL BE
    PROSECUTED TO THE MAXIMUM EXTENT POSSIBLE UNDER THE LAW.
    If you have received this software in error, please notify Siebel Systems
    immediately at (650) 295-5000.
    C:\orahome\10gR3_1\bifoundation\dac\UTILITIES\BIN\DDLIMP /I N /s N /u OLAPUSER /p ***** /c OLAP_USER /G SSE_ROLE /f C:\orahome\10gR3_1\bifoundation\dac/conf/sqlgen/ctl-file/oracle_bi_dw.ctl /b /K /X /W Y
    Connecting to the database...
    Connected.
    Reading tables and indexes from DDL file...
    Read 1110 tables and 0 indexes from DDL file...
    Reading existing schema...
    Read 0 tablespaces, 0 tables and 0 indexes from existing schema...
    Running SQL statements against the database...
    S1000: [DataDirect][ODBC Oracle driver][Oracle]ORA-01031: insufficient privileges
    create table M_10A_ORG_D (
    DATASOURCE_NUM_ID number(10, 0) not null,
    ETL_PROC_WID number(10, 0) default 0 not null,
    GEO_WID number(10, 0) default 0 not null,
    INTEGRATION_ID varchar2(30 char) not null,
    ROW_WID number(10, 0) default 0 not null,
    ACCNT_FLG char(1 char),
    ACCNT_REVN number(22, 7),
    ACTIVE_FLG char(1 char),
    CHANNEL_FLG char(1 char),
    CHNL_ANNL_SALES number(22, 7),
    COMPETITOR_FLG char(1 char),
    CREATED_DT date,
    DIVN_FLG char(1 char),
    EMP_COUNT number(22, 7),
    FORMED_DT date,
    HIST_SLS_VOL number(22, 7),
    ORG_FLG char(1 char),
    ORG_PRTNR_FLG char(1 char),
    PROSPECT_FLG char(1 char),
    PRTNRSHP_START_DT date,
    PRTNR_FLG char(1 char),
    PRTNR_SALES_RANK number(22, 7),
    PTNTL_SLS_VOL number(22, 7),
    PTSHP_END_DT date,
    PTSHP_FEE_PAID_FLG char(1 char),
    PTSHP_RENEWAL_DT date,
    PTSHP_SAT_INDEX number(22, 7),
    PUBLIC_LISTING_FLG char(1 char),
    SALES_EMP_CNT number(10, 0),
    SERVICE_EMP_CNT number(10, 0),
    U_ACCNT_RVN number(22, 7),
    U_ACNTRVN_EXCH_DT date,
    U_CHNL_ANNL_SLS number(22, 7),
    U_CH_ASLS_EXCH_DT date,
    U_HIST_SLS_VOL number(22, 7),
    U_HST_SLS_EXCH_DT date,
    U_PTL_SLS_EXCH_DT date,
    U_PTL_SLS_VOL number(22, 7),
    ACCNT_LOC varchar2(50 char),
    ACCNT_STATUS varchar2(30 char),
    ACCNT_STATUS_I varchar2(50 char),
    ACCNT_TYPE_CD varchar2(30 char),
    ACCNT_TYPE_CD_I varchar2(50 char),
    ANNUAL_REVN_CAT varchar2(30 char),
    ANNUAL_REVN_CAT_I varchar2(50 char),
    BASE_CURCY_CD varchar2(20 char),
    BU_NAME varchar2(100 char),
    CHNL_SALES_GRWTH varchar2(30 char),
    CHNL_SALES_GRWTH_I varchar2(50 char),
    CITY varchar2(50 char),
    COUNTRY varchar2(30 char),
    DIVN_TYPE_CD varchar2(30 char),
    DIVN_TYPE_CD_I varchar2(50 char),
    DOM_ULT_DUNS_NUM varchar2(15 char),
    DUNS_NUM varchar2(15 char),
    EXPERTISE varchar2(30 char),
    EXPERTISE_I varchar2(50 char),
    FREQUENCY_CAT varchar2(30 char),
    FREQUENCY_CAT_I varchar2(50 char),
    FRGHT_TERMS_CD varchar2(30 char),
    FRGHT_TERMS_CD_I varchar2(50 char),
    GLBLULT_DUNS_NUM varchar2(15 char),
    KEY_COMPETITOR varchar2(100 char),
    LINE_OF_BUSINESS varchar2(30 char),
    MAIN_PH_NUM varchar2(40 char),
    MGR_NAME varchar2(160 char),
    MONETARY_CAT varchar2(30 char),
    MONETARY_CAT_I varchar2(50 char),
    NAME varchar2(100 char),
    NUM_EMPLOY_CAT varchar2(30 char),
    NUM_EMPLOY_CAT_I varchar2(50 char),
    ORG_CITY varchar2(50 char),
    ORG_COUNTRY varchar2(30 char),
    ORG_MAIN_PH_NUM varchar2(40 char),
    ORG_MGR_NAME varchar2(160 char),
    ORG_NAME varchar2(100 char),
    ORG_PRTNR_TIER varchar2(30 char),
    ORG_PRTNR_TIER_I varchar2(50 char),
    ORG_PRTNR_TYPE varchar2(30 char),
    ORG_PRTNR_TYPE_I varchar2(50 char),
    ORG_STATE varchar2(50 char),
    ORG_ST_ADDRESS varchar2(200 char),
    ORG_TERR_NAME varchar2(75 char),
    ORG_ZIPCODE varchar2(30 char),
    PAR_DUNS_NUM varchar2(15 char),
    PAR_INTEGRATION_ID varchar2(30 char),
    PAR_ORG_NAME varchar2(100 char),
    PRI_LST_NAME varchar2(50 char),
    PRTNR_NAME varchar2(100 char),
    PR_COMPETITOR varchar2(100 char),
    PR_INDUST_NAME varchar2(50 char),
    PR_ORG_TRGT_MKT varchar2(50 char),
    PR_PTSHP_MKTSEG varchar2(50 char),
    PTSHP_PRTNR_ACCNT varchar2(100 char),
    PTSHP_STAGE varchar2(30 char),
    PTSHP_STAGE_I varchar2(50 char),
    RECENCY_CAT varchar2(30 char),
    RECENCY_CAT_I varchar2(50 char),
    REGION varchar2(30 char),
    REGION_I varchar2(50 char),
    REVN_GROWTH_CAT varchar2(30 char),
    REVN_GROWTH_CAT_I varchar2(50 char),
    STATE varchar2(50 char),
    ST_ADDRESS varchar2(200 char),
    U_ACNTRVN_CURCY_CD varchar2(20 char),
    U_CH_ASLS_CURCY_CD varchar2(20 char),
    U_HST_SLS_CURCY_CD varchar2(20 char),
    U_PTL_SLS_CURCY_CD varchar2(20 char),
    VIS_PR_BU_ID varchar2(15 char),
    VIS_PR_POS_ID varchar2(15 char),
    ZIPCODE varchar2(30 char))
    writeExecDDL error (UTLOdbcExecDirectDDL pDDLSql).
    writeExecDDL error (pOperCallback UTLDbDdlOperTblCreate).
    Error in MainFunction (UTLDbDdlDbMerge).
    Error in Main function...
    Please let me know how to reslove this error......

    Hi,
    I was Check the DAC user it is working fine.Actually copy the DAC client floder from the server And paste it my local machine.we are not install DAC Client and BIAPPS in my local machine.that time i can't find the Oracle Merant ODBC Driver.that way created Dsn for Oracle it working fine.when i try to drop DWH database getting error.
    Please let me know how to over come this on
    Thanks,
    Avinash
    Edited by: 957685 on Sep 10, 2012 6:13 AM
    Edited by: 957685 on Sep 10, 2012 6:20 AM

  • How will do the SQL PERFORMANCE TUNNING.

    hi to all:
    i have a query like example: select col1,col2,col3,col4,col5,col6,col7,col8,
    col9,col0,col11,col12,col13,col14,col15 from table_name where col1=100 like that but data contain more like some lack wise reords.this query it's taking so much of time .i want to do the performance kindly give me solution to me...
    anbarasan.

    select dai.GSI_PARTY_ID ,dai.GSI_PARTY_NUM ,dai.CERTIFICATION_LVL,dai.NAME ,dai.DUNS_NUM ,dai.CITY ,dai.STATE ,dai.ZIPCODE ,dai.COUNTRY,dai.ROW_WID,dai.GEO_WID,dai.ACCNT_GEOSTATE_WID,dai.W_CUSTOMER_CLASS,dai.MGR_NAME,dai.MAIN_PH_NUM,dai.ST_ADDRESS ,dai.ACCNT_FLG ,dai.ACCNT_LOC,dai.ACCNT_REVN,dai.ACTIVE_FLG,dai.ACCNT_STATUS,dai.ACCNT_STATUS_I,dai.ACCNT_TYPE_CD,dai.ACCNT_TYPE_CD_I,dai.CUST_TYPE_CODE,dai.CUST_TYPE_NAME,dai.ANNUAL_REVN_CAT,dai.ANNUAL_REVN_CAT_I,dai.BASE_CURCY_CD,dai.BU_NAME,dai.CHANNEL_FLG,dai.CHNL_ANNL_SALES,dai.CHNL_SALES_GRWTH,dai.CHNL_SALES_GRWTH_I,dai.COMPETITOR_FLG,dai.CREATED_DT,dai.DIVN_FLG,dai.DIVN_TYPE_CD,dai.DIVN_TYPE_CD_I,dai.DOMESTIC_ULTIMATE_DUNS_NUM,dai.EMP_COUNT,dai.EXPERTISE,dai.EXPERTISE_I,dai.FORMED_DT,dai.FREQUENCY_CAT,dai.FREQUENCY_CAT_I,dai.FRGHT_TERMS_CD,dai.FRGHT_TERMS_CD_I,dai.GLOBAL_DUNS_NUM,dai.HIST_SLS_VOL,dai.LINE_OF_BUSINESS,dai.MONETARY_CAT,dai.MONETARY_CAT_I,dai.NUM_EMPLOY_CAT,dai.NUM_EMPLOY_CAT_I,dai.ORG_NAME,dai.ORG_MGR_NAME,dai.ORG_MAIN_PH_NUM,dai.ORG_ST_ADDRESS,dai.ORG_CITY,dai.ORG_STATE,dai.ORG_ZIPCODE,dai.ORG_TERR_NAME,dai.ORG_COUNTRY,dai.ORG_FLG,dai.ORG_PRTNR_FLG,dai.ORG_PRTNR_TIER,dai.ORG_PRTNR_TIER_I,dai.ORG_PRTNR_TYPE,dai.ORG_PRTNR_TYPE_I,dai.PARENT_DUNS_NUM,dai.PAR_INTEGRATION_ID,dai.PAR_ORG_NAME,dai.PRI_LST_NAME,dai.PROSPECT_FLG,dai.PRTNRSHP_START_DT,dai.PRTNR_FLG,dai.PRTNR_NAME,dai.PRTNR_SALES_RANK,dai.PR_COMPETITOR,dai.PR_INDUST_NAME,dai.PR_ORG_TRGT_MKT,dai.PR_PTSHP_MKTSEG,dai.PTNTL_SLS_VOL,dai.PTSHP_END_DT,dai.PTSHP_FEE_PAID_FLG,dai.PTSHP_PRTNR_ACCNT,dai.PTSHP_RENEWAL_DT,dai.PTSHP_SAT_INDEX,dai.PTSHP_STAGE,dai.PTSHP_STAGE_I,dai.PUBLIC_LISTING_FLG,dai.RECENCY_CAT,dai.RECENCY_CAT_I,dai.REGION,dai.REGION_I,dai.REVN_GROWTH_CAT,dai.REVN_GROWTH_CAT_I,dai.SALES_EMP_CNT,dai.SERVICE_EMP_CNT,dai.U_ACCNT_RVN,dai.U_ACNTRVN_CURCY_CD,dai.U_ACNTRVN_EXCH_DT,dai.U_CHNL_ANNL_SLS,dai.U_CH_ASLS_CURCY_CD,dai.U_CH_ASLS_EXCH_DT,dai.U_HIST_SLS_VOL,dai.U_HST_SLS_CURCY_CD,dai.U_HST_SLS_EXCH_DT,dai.U_PTL_SLS_CURCY_CD,dai.U_PTL_SLS_EXCH_DT,dai.U_PTL_SLS_VOL,dai.VIS_PR_BU_ID,dai.VIS_PR_POS_ID,dai.VIS_PR_POSTN_DH_WID,dai.ACCNT_AHA_NUM,dai.ACCNT_CLASS,dai.ACCNT_CLASS_I,dai.ACCNT_HIN_NUM,dai.ACCNT_REGION,dai.ACCNT_VALUE,dai.ACCNT_VALUE_I,dai.AGENCY_FLG,dai.AGNC_CONTRACT_DT,dai.ANNUAL_REVENUE,dai.BOOK_VALUE,dai.BRANCH_FLG,dai.CALL_FREQUENCY,dai.CLIENT_FLG,dai.CREDIT_SCORE,dai.CRIME_TYPE_CD,dai.CRIME_TYPE_CD_I,dai.CURR_ASSET,dai.CURR_LIAB,dai.CUST_END_DT,dai.CUST_SINCE_DT,dai.CUST_STATUS_CODE,dai.DIVIDEND,dai.EXCHANGE_LOC,dai.FACILITY_FLG,dai.FACILITY_TYPE,dai.FACILITY_TYPE_I,dai.FIFTYTWO_HIGH,dai.FIFTYTWO_LOW,dai.FIN_METHOD,dai.FIN_METHOD_I,dai.GROSS_PROFIT,dai.GROWTH_HORIZ,dai.GROWTH_HORIZ_I,dai.GROWTH_OBJ,dai.GROWTH_OBJ_I,dai.GROWTH_PERCNTG,dai.IDENTIFIED_DT,dai.INVESTOR_FLG,dai.KEY_COMPETITOR,dai.LEADER_NAME,dai.LEGAL_FORM,dai.LEGAL_FORM_I,dai.LOYAL_SCORE1,dai.LOYAL_SCORE2,dai.LOYAL_SCORE3,dai.LOYAL_SCORE4,dai.LOYAL_SCORE5,dai.LOYAL_SCORE6,dai.LOYAL_SCORE7,dai.MARGIN_VS_INDUST,dai.MARGIN_VS_INDUST_I,dai.MARKET_CLASS,dai.MARKET_CLASS_I,dai.MARKET_TYPE,dai.MARKET_TYPE_I,dai.MED_PROC,dai.MEMBER_NUM,dai.MKT_POTENTIAL,dai.MRKT_CAP_PREF,dai.MRKT_CAP_PREF_I,dai.NET_INCOME,dai.NON_CASH_EXP,dai.NUMB_OF_BEDS,dai.NUM_PROD,dai.NUM_PROD_EFF_DT,dai.OBJECTIVE,dai.OBJECTIVE_I,dai.OPER_INCOME,dai.PERSIST_RATIO,dai.PRIM_MARKET,dai.PRIM_MARKET_I,dai.PROJ_EPS,dai.PR_SPEC_NAME,dai.PR_SYN_ID,dai.QUICK_RATIO,dai.SHARE_OUTST,dai.SRV_PROVDR_FLG,dai.STAT_REASON_CD,dai.STAT_REASON_CD_I,dai.TICKER,dai.TOTAL_DEBT,dai.TOTAL_NET_WORTH,dai.TOT_ASSET,dai.TOT_LIABILITY,dai.TRAIL_EPS,dai.U_EXCH_DT,dai.U_LOYAL_SCORE5,dai.VOLUME_TR,dai.X_NUM_PROD,dai.BIRTH_DT_WID,dai.NO_OF_CHILDREN,dai.LEGAL_NAME,dai.FAMILY_NAME,dai.OTHER_NAME,dai.PREFERRED_NAME,dai.INDV_TITLE,dai.INDV_MARITAL_STATE,dai.INDV_GENDER,dai.EMAIL_ADDRESS,dai.FAX_NUM,dai.PAGER_NUM,dai.MOBILE_NUM,dai.CUST_CAT_CODE,dai.CUST_CAT_NAME,dai.SIC_CODE,dai.SIC_NAME,dai.GOVT_ID_TYPE,dai.GOVT_ID_VALUE,dai.DUNNS_SITE_NAME,dai.DUNNS_GLOBAL_NAME,dai.DUNNS_LEGAL_NAME,dai.CUSTOMER_NUM,dai.ALT_CUSTOMER_NUM,dai.ALT_PHONE_NUM,dai.INTERNET_HOME_PAGE,dai.LEGAL_STRUCT_CODE,dai.LEGAL_STRUCT_NAME,dai.DIRECT_MKTG_FLG,dai.SOLICITATION_FLG,dai.CREATED_BY_WID,dai.CHANGED_BY_WID,dai.CREATED_ON_DT,dai.CHANGED_ON_DT,dai.AUX1_CHANGED_ON_DT,dai.AUX2_CHANGED_ON_DT,dai.AUX3_CHANGED_ON_DT,dai.AUX4_CHANGED_ON_DT,dai.SRC_EFF_FROM_DT,dai.SRC_EFF_TO_DT,dai.EFFECTIVE_FROM_DT,dai.EFFECTIVE_TO_DT,dai.DELETE_FLG,dai.CURRENT_FLG,dai.W_INSERT_DT,dai.W_UPDATE_DT,dai.DATASOURCE_NUM_ID,dai.ETL_PROC_WID,dai.INTEGRATION_ID,dai.TENANT_ID,dai.X_CUSTOM,dai.X_ADDR_CLEANSE_RESULT,dai.X_PR_INDUSTRY_ID,dai.X_PTNR_ACC_LVL_CD,dai.OPN_PIN_NUM,dai.X_ALIAS_NAME,dai.X_URL,dai.X_ACCNT_NAME_LOCAL,dai.X_ADDR_LINE_2,dai.X_ADDR_LINE_3,dai.X_COUNTY,dai.X_FAX_PH_NUM,dai.X_CONTRACT_VIS_FLG,dai.INDUSTRY_ONEVOICE,dai.X_ANNUAL_REVENUE,dai.X_NUM_EMPLOYEES,dai.INDUSTRY_ONEVOICE_SEGMENT,dai.X_GCD_ORG_ID,dai.X_MKTG_CREATED_FLG,dai.X_PR_ASGN_TYPE,dai.X_ADDR_DUNS,dai.X_ADDR_STATUS_CD,dai.X_MKTG_REGION,dai.X_MKTG_SUBREGION,dai.X_TRNSLT_CITY,dai.X_TRNSLT_STATE,dai.X_TRNSLT_POSTALCODE,dai.X_TRNSLT_LANG,dai.X_TRNSLT_ADDR1,dai.X_TRNSLT_ADDR2,dai.X_TRNSLT_ADDR3,dai.X_QUALITYSCORE,dai.X_SOURCE_TYPE_CD,dai.X_SIC_CODE,dai.X_PROVINCE,dai.X_GOVT_TYPE from dimple.gcm_account dai where 1=1 and dai.gsi_party_id=1017247578
    this is my compleate quary ..pls give me solution..

  • Uses for W_INT_ORG_DH

    I understand that this table flattens out the DIVN organization from Siebel.
    The focus on my project with work the W_ASSET_F for creating reports and the have 2 basic requirements:
    a) To filter or prompt by Lvl1, Lvl2, Lv3, Lv4 which are Divisions levels for Siebel and flattened in W_INT_ORG_DH ?
    - I really don't see with the standard OBI Apps model how to do that....? I guess the DIVN are connect with the S_POSTN...
    Maybe if the fields Lvl1, Lvl2, Lvl3, etc where part of W_ASSET_D somehow...
    Any Hints ?
    b) To have a Hierarchy dimension that would break down on the several levels of DIVN estructure... I have a feeling that this is already into the model or could be build very easy.
    Any commnts?
    Txs.
    Antonio

    Depending on the source data, its possible that there are IDs on the D table that are not on the DH table. What is the data source? Have to traced the missing IDs to the source system to see why they are missing or where they may be dropping? Also, for the IDs that are not there, do you have a "Unspecified" ETL that is grouping those? I assume you have a FK in the Fact table to both the D and DH table.

Maybe you are looking for