In which metadata table is stored in HFM

Dear all,

In which metadata table is stored in HFM

That is, ACCOUNT, ENTITY, VALUE, YEAR, SCENARIO, YEAR, PERIOD, application SETTINGS

Please help me on this issue.

Thanks in advance

Kind regards

Satheesh.S

It varies depending on the size. The following applies to the account, entity and scenario dimensions:

appname_dimension_DESC: contains descriptions

appname_dimension_ITEM: contains most of the attributes

appname_dimension_LAYOUT: contains the hierarchies (parent-child relationships and order)

Even for currencies except there is no layout table.

The size of the value does not exist in any table. It is a dimension derived based on the currency item ID to which is added an index number, which gives the corresponding members of the value. This is not documented anywhere I know.

Custom dimensions in 11.1.2.2 and later have been combined into a single table. I have yet to understand the relationship between the lCustom1 and the lCustom2 fields in the data tables and the table CUSTOM_ITEM. It is coded in some way.

ICP is a derived dimension. The table contains only the members of the system to three hooks, while the rest of the dimension of PKI is based on the IsICP attribute in the entity dimension.

View, year and period are not in any table.

AppSettings are in the appname_BINARYFILES table, which is coded in XML format.

As a general rule underlying relational database of HFM was not designed for direct user interaction. You can decode some of them, but I suggest that you evaluate your use case to access directly rather than interact with it from within the application itself.

-Chris

Tags: Business Intelligence

Similar Questions

  • Create a new table from another table which are ussing a stored procedure

    Hello

    I want to know if it is posibble to create a new table from another table which are ussing a stored procedure. This new table is created from another table that exists in the DB.
    (in the following code the table tbl1 exist in the schema of the DB, but temp_tbl1 does not exist, it must be created by the procedure)

    create or replace procedute temp is
    temp_tbl1 tbl1% TYPE; the temp_tbl1 will have the same type of tbl1
    Start
    create the table temp_tbl1 as (select * from tbl1);
    time of the end;
    \


    Thank you very much

    Yes, it is possible to create a table using a procedure.
    Do everything that use dynamic SQL is

    Try this:

    ==================================================
    create or replace PROCEDURE Create Table as
    BEGIN
    EXECUTE IMMEDIATE ' CREATE TABLE testtable in select * from testingtable';
    END createtable;
    ==================================================

    Kind regards
    Ankur

  • Dynamic temporary Table in stored procedure

    Dear expert,

    I'm trying to convert a database from MSSQL to Oracle 11 g. But I'm a little stuck on dynamic temporary tables in stored procedures.

    MS is normalize the data out dynamic SQL statements. In TSQL so I've created a Temp table with the number of columns that the SQL statement has, that I executed the SQL statement in the temporary table and then I was going to all the columns with the prompting separate command standard. Finally, I wrote the key table.

    If I want to do this process with only on SP, dynamic, rather than to define for each normalization process its own SP, so this possiple in Oracle?

    For example. "INSERT INTO Temp (PartNo, Descr, Type, price) SELECT PartNo, Descr, price from parts.

    PartNo. Descr | Type | Price
    AB00 | AKER GD245 | Monitor | 200.00
    AB01 | Samir QQ22 | Monitor | 120.00
    AQ05 | HB 5500DN | Printer | 550.00

    SELECT @R = Max (PartKey) of N_Parts
    INSERT INTO N_Parts (PartKey, PartNo) SELECT RowNum + @R, PartNo FROM (SELECT DISTINCT PartNo FROM Temp INCLUDING PartNo NOT IN (SELECT PartNo of N_Parts));
    SELECT @R = Max (PartDKey) of N_PartsDescr
    INSERT INTO N_PartsDescr (PartDKey, Descr) SELECT RowNum + @R, Descr FROM (SELECT DISTINCT Descr FROM Temp WHICH Desrc NOT IN (SELECT Desrc from N_Parts));
    ...

    Insert into Part_Data (PartKey, PartDKey, PartTKey, PartPKey)
    SELECT T0. PartKey, T1. PartDKey, T2. PartTKey, T3. Temp PartPKey T
    INNER JOIN N_Parts T0 to T0. PartNo = T.PartNo
    JOIN IN-HOUSE...

    So what is the best way, do not generate this dynamic Table Temp?

    Published by: 926165 on 08.04.2012 08:26

    926165 wrote:
    I'm trying to convert a database from MSSQL to Oracle 11 g. But I'm a little stuck on dynamic temporary tables in stored procedures.

    Just my 2 cents here.

    Conversion of database provider A to B of database provider is never really a great idea. The products are fundamentally different in many ways. Analysis of demand that needs to be ported from database at database B and then its implementation in a specific way to take advantage of the features of your new environment, accounting for all the differences between the implementations of provider will be your best bet.

    I say this because, for me at least, a conversion means that you take what you have and it in slam in what you need. The better approach is to analyse, design (to explain the differences in behavior between vendor implementations, such as mechanisms for read consistency) and proceed from there. This way, you have a solid base on which to start, instead of a skyscraper built out of toothpicks.

    See you soon,.

  • Error message: "Windows Media Player cannot access the file. The file may be in use, you won't have access to the computer on which the file is stored, or your proxy settings are may not be incorrect. »

    Original title: problems of residential group after system recovery

    I started a homegroup on my computer.  I added another computer to the homegroup.  Everything worked fine until I had to perform a system recovery on the laptop that I used to start the homegroup.  I implemented the homegroup again, but I can't access the files on the other computer via Windows Media Player.  I get an error message that says "Windows Media Player cannot access the file. The file may be in use, you won't have access to the computer on which the file is stored, or your proxy settings are may not be incorrect. "I can access all the music files via Windows Explorer.  I have to start over with a new password?  Can I just create a new homegroup?  What other options do I have?  You can provide any help would be greatly appreciated.  Thank you.

    Hello

    Please follow the methods and check the issue:

    Method 1:

    Open the homegroup troubleshooting utility:

    http://Windows.Microsoft.com/en-us/Windows7/open-the-HomeGroup-Troubleshooter

    Method 2:

    Why can't I access my homegroup? :

    http://Windows.Microsoft.com/en-us/Windows7/why-cant-I-access-my-HomeGroup

    For reference:

    Homegroup: frequently asked questions:

    http://Windows.Microsoft.com/is-is/Windows7/HomeGroup-frequently-asked-questions

    Method 3:

    See the steps in "include a folder shared in a library" from the link below:

    Access to files and printers on other homegroup computers: http://Windows.Microsoft.com/is-is/Windows7/access-files-and-printers-on-other-HomeGroup-computers

    I hope this helps.

  • ODI procedure stores in which SNP table

    Hi all

    Can someone help me please in which SNP procedure ODI table will store.

    I'll give clearly at all, if you have created the variable ODI in studio ODI then store the information in SNP_Variable and store details logic diagram in table snp_lschema and details scenarios will store in the snp_sess table as wise, if you create an ODI procedure in the studios of ODI which SNP table it will store.

    Currently Iam using the 11g (11.1.16.0) ODI version in windows 7, 32 - bit architecture.

    Kind regards

    Phanikanth

    Give a look at SNP_TRT and SNP_TRT_STEP. Don't forget to filter the TRT_TYPE...

  • Best practices in environment metadata table of DW?

    Hi guru,.


    In data warehouse, we have 1. Diagram of step 2. DWH (reporting of schema data warehouse). Stageing we have about 300 source tables. In the DWH pattern, we create tables that are only required to view reports. some tables in the schema stageing, have been created in the schema DWH also well with the name of different tables and columns. The convention of naming for these same tables and columns in the DWH schema is based on trade names.

    In order to keep track of these tables, we create the metadata table in the schema DWH say for example

    Stage                DWH_schema
    Table_1             Table_A          
    Table_2             Table_b
    Table_3             Table_c
    Table_4              Table_D
    My question is how to handle the names of columns in each of these tables. The names of columns stage_1, stage_2, and stage_3 have been renamed to DWH_schema that are part of the Table_A, Table_B, Table_c.

    As mentioned previously, we approximately 300 paintings at the stage and may be about 200 tables in the schema DWH. Many names of columns have been renamed in the scheme of the DWH stage tables. In some tables, we have 200 column

    so my concern is how to handle the names of columns in the table metadata? Do we need to keep only the table names into a table column metadata not names?


    Any ideas will be greatly appreciated.

    Thank you!

    Dear OP,

    I parked I can do that, but by prefing or suffexing is not useful from a business point of view. Always our professional user is not necessaryly know the name of the source table or field names that they care on this issue.

    Allow me to correct me, you do not need the table prefix and the columns in the tables of DW, but only the staging of the prefix ones. So, you can stage tables very easily co related with tables of DW.

    Start by...

    MDATA_TAB (mtab_id, TABLE_NAME, tab_type, tab_desc); tab_type = STG/DW
    MDATA_TAB_COL (id, mtab_id, Column, col_datatype, col_desc)

    Published by: pgoel on March 11, 2011 21:11

  • Selection of data after the extraction of metadata from the metadata table

    Hi, I have a metadata table where I store the name of the table, the names of the columns to select, start position and the end position.

    Start_Pos End_Pos Table_Name column_name
    1 10 ename emp
    11 20 empno, emp

    So I have to retrieve the records corresponding to the SQL:

    Rpad SELECT (ename, 10,' ') | RPAD (empno, 10,' ') FROM emp;

    The output of SQL created from the table of metadata should be written to a file with UTL_FILE

    I think he wanted more than just the use of UTL_FILE. Thus,.

    create or replace procedure write_data
            (p_table_name in varchar2) is
     v_file utl_file.file_type;
     v_sql varchar2(2000);
     v_line varchar2(2000);
     v_LEN number;
     TYPE refcurtyp IS REF CURSOR;
     cv refcurtyp;
    
    begin
      for C1 in (select * from Metadata_TabLE
                  where table_name = P_TABLE_NAME order by table_name) LOOP
         v_len := C1.end_pos - C1.start_pos +1 ;
         v_sql := v_sql ||'rpad('||C1.column_name ||', '|| v_len||', '' '' )||' ;
      end loop;
      v_sql := 'select '||substr(v_sql,1, length(v_sql)-2) || ' from '||p_table_name ;
      v_file := utl_file.fopen('YOURDIR', 'myfile.txt','W');
      open cv for v_sql ;
      loop
         fetch cv into v_line ;
              exit when cv%notfound;
            utl_file.put_line(v_file, v_line);
      end loop;
      utl_file.fclose(v_file);
    end;
    /
    
  • Add new metadata tables

    Hello, I added a new table in the map just to store new data produced a count function. Can you tell me how to add this table to the metadata?

    I added my source tables, which are under the module ODBC, metadata with the metadata Wizard. But I do not know how to add this new table. If anyone can help me. Thank you.

    Try to right click on the table in your map, and then choose "synchronize". In the resulting interface be sure to choose «Outgoing...» "under your Direction of synchronization. This will create a table in your metadata.

    Kind regards
    Eric.

    Published by: Eric Buddelmeijer on April 4, 2013 17:14

  • Temporary tables in stored procedure

    Hello

    I write a stored procedure that will get data from different sources and generates a spreadsheet finally. Initial selection gets the basic data and chooses then merges the data.

    To do this, I created a table in the database, I'm filling in data in this table by using the same procedure and finally selection of data in this table to generate the worksheet.

    Now, I plan to use the TEMPORARY table instead of create database table. Can someone tell me where I can watch examples for temporary tables?

    What is the best option in performance wise?

    or

    I can handle the whole scenario with slider? examples?

    Hello

    Why you cannot use an ordinary table?

    Search for [Global Temporary | http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/statements_7002.htm#sthref7247] in the diocumentation, including SQL * manual language, an alternative.

    'Temporary' applies only to the data. A global temporary Table is created once and remains until you DROP, the same as any other table.
    The data in the table are temporary. If you create the table by saying "ON COMMIT PRESERVE ROWS" (which seems appropriate, according to your description) the data will be automatically deleted when you end the session database.

    All global data in temporary Tables are specific to the session. If two (or more) people use the same table at the same time, each one will see data that they inserted themselves; they'll never see rows inserted by the other session.

    Almost everything you can do with an ordinary table, you can do with a global temporary Table. In particular, DML (such as FUSION) and cursors work exactly as they do on other tables.

  • 8.3 P6 which database table I can find activities and safety profile details?


    I checked P6 8.3 scheme but I can't find what table of database activities and security profiles (both global and project) are to be saved.

    Can anyone help with this?

    If I take backup of ADMUSER, PUBUSER and PRIVUSER suffice as full backup?

    Hello

    Activities are stored in the table called TASK

    Security profiles are stored in the named table of PROFILE (scope_type field determines whether it is Global (ST_Global) or Project (ST_Project))

    If you are on 8.3 then you should also back up your work user and possibly extended schema background if you are using EPPM.

    This is the command I have issue to make a backup (I guess an Oracle database you given refer to admuser that this account is not SQL).

    exp system /@ = file = C:\backup-fichier-name.dmp owner (admuser privuser, pubuser, bgjobuser, pxrptuser) = log = C:\log-fichier-Configuration.log subsidies forced statistics y = y = none

    Concerning

    Alex

  • dbms_job. Submit insertion values in a table using stored procedure

    values are inserted into a table by using the stored procedure by using the sequence and creating a job to trigger after every 10 seconds...

    create table test (collar number);

    table created.

    create sequences seq_test
    start with 1
    Increment 1;

    order of creation.

    create or replace procedure sp_test is
    Start
    loop
    Insert into test values (seq_test.nextval);
    end loop;
    commit;
    end;

    created stored procedure

    Report the number of jobno;
    BEGIN
    DBMS_JOB. SUBMIT)
    jobs = >: jobno.
    This = > 'sp_test;',
    next_date = > TRUNC (SYSDATE + 1/1440).
    interval = > 'SYSDATE + 10/86400',.
    no_parse = > TRUE
    );
    COMMIT;
    END;

    stored procedure created successfully



    every thing is done, but why the feature is always wrong...
    Please help me

    Hello

    Lucien wrote:
    ...
    create or replace procedure sp_test is
    Start
    loop
    Insert into test values (seq_test.nextval);
    end loop;
    commit;
    end; ...

    Have you tested this procedure first? It has an infinite loop. If this is the case, it's inserting row after row in the table, but never to commit, because he never leaves the loop.

    It seems that what you posted is a much simplified version of what you really do. Simplify things for posting on this forum is a good idea, but this one is so simple that I don't see the point of it, so I can't offer a better way to do. Maybe you shouldn't have a loop in the process. Whatever you do, test it before you submit it as a job.

  • How to create temporary tables in stored procedures.

    Hello

    I am new to oracle, I have a requirement where I need to run a query in a loop for different values of where condition. Here, I need to record the results of the query on each iteration. After the end of the loop, I need to send the results to the front end. I did a lot of research for the concept of the temporary table in oracle, but I found myself unresolved except headaches. Everyone is showing how to create temporary tables in general but not in stored procedure.

    Bad, I need the concept of temporary tables, or is there an alternative way to store temporary results. My procedure looks like this.

    create or replace
    procedure uspMatchCode (parWord varchar2, p_recorderSet to types.cursor_type)
    as
    smallint parCnt;
    Start
    parcnt: = 0;
    Select count (1) in parCnt of...;
    If parcnt > 0 then
    Open for P_recorderSet
    Select field1, field2, field3,... of table1, table2, table2 where < < condition > >
    on the other
    -Here, I want to create a temporary table and store the result for the loop shape into the temporary table.
    CREATE TEMPORARY TABLE global my_temp_table (NUMBER of Column1, Column2) ON COMMIT DELETE ROWS.
    FOR parCnt in 0.3
    loop
    INSERT into my_temp_table select Field1, Field2, field3,... from table1, table2, table2 where < < condition > >
    end loop;
    Open for P_recorderSet
    Select * from < < temporary table > >
    end if;
    end;

    Any help would be great to check me on the problem.

    Thank you
    Kiran.

    This is a change to the query Kiss has posted:

    with data_text like)
    Select regexp_substr (' sales financing marketing ',' [^] +', 1, level ") val
    of tconnect by level<= length('sales="" finance="" marketing')-="" length(replace('sales="" finance="" marketing','="">
    )
    Select * from t, data_text, where t.colname like '% "| data_text. Val |' %'

    This will help you. Please change the column names and the name of the table as a result

  • Insert table with stored procedure

    Hello

    is it possible to use bind insert table in odp.net that calls a stored procedure, or who loses the point of contact of the table?

    I need to do at once two insertions in a parent table and the child table (get the primary key generated by a sequence in the first table.). Don't know if this can be done without storing seq.next_val somehow?

    Edit: I will extend the question and ask if the table bind sql text can be a block anonymous plsql

    Edited by: KarlTrumstedt 16-jun-2010 02:49

    You can do both. You can table insert a stored procedure and an anonymous block.

    Here's how (these are based on the ArrayBind example provided with the installation of ODP.net/ODT.

    Installation program:

    create table zdept (deptno number, deptname varchar2(50), loc varchar2(50));
    
    CREATE OR REPLACE PROCEDURE ZZZ (p_deptno in number, p_deptname in varchar2, p_loc in varchar2) AS
    begin
        insert into zdept values(p_deptno , p_deptname || ' ' || p_deptname, p_loc );
    end zzz;
    
     /**
     drop table zdept ;
     drop procedure ZZZ ;
     **/
    

    table and link it to the stored procedure call:

       static void Main(string[] args)
        {
          // Connect
          string connectStr = "User Id=;Password=;Data Source=";
    
          // Setup the Tables for sample
          Setup(connectStr);
    
          // Initialize array of data
          int[]    myArrayDeptNo   = new int[3]{1, 2, 3};
          String[] myArrayDeptName = {"Dev", "QA", "Facility"};
          String[] myArrayDeptLoc  = {"New York", "Maryland", "Texas"};
    
          OracleConnection connection = new OracleConnection(connectStr);
          OracleCommand    command    = new OracleCommand (
            "zzz", connection);
          command.CommandType = CommandType.StoredProcedure;
    
          // Set the Array Size to 3. This applied to all the parameter in
          // associated with this command
          command.ArrayBindCount = 3;
          command.BindByName = true;
          // deptno parameter
          OracleParameter deptNoParam = new OracleParameter("p_deptno",OracleDbType.Int32);
          deptNoParam.Direction       = ParameterDirection.Input;
          deptNoParam.Value           = myArrayDeptNo;
          command.Parameters.Add(deptNoParam);
    
          // deptname parameter
          OracleParameter deptNameParam = new OracleParameter("p_deptname", OracleDbType.Varchar2);
          deptNameParam.Direction       = ParameterDirection.Input;
          deptNameParam.Value           = myArrayDeptName;
          command.Parameters.Add(deptNameParam);
    
          // loc parameter
          OracleParameter deptLocParam = new OracleParameter("p_loc", OracleDbType.Varchar2);
          deptLocParam.Direction       = ParameterDirection.Input;
          deptLocParam.Value           = myArrayDeptLoc;
          command.Parameters.Add(deptLocParam);
    
          try
          {
            connection.Open();
            command.ExecuteNonQuery ();
            Console.WriteLine("{0} Rows Inserted", command.ArrayBindCount);
          }
          catch (Exception e)
          {
            Console.WriteLine("Execution Failed:" + e.Message);
          }
          finally
          {
            // connection, command used server side resource, dispose them
            // asap to conserve resource
            connection.Close();
            command.Dispose();
            connection.Dispose();
          }
        }
    

    "anonymous plsql block.
    Well Yes

        static void Main(string[] args)
        {
          // Connect
          string connectStr = "User Id=;Password=;Data Source=";
    
          // Setup the Tables for sample
          Setup(connectStr);
    
          // Initialize array of data
          int[]    myArrayDeptNo   = new int[3]{1, 2, 3};
          String[] myArrayDeptName = {"Dev", "QA", "Facility"};
          String[] myArrayDeptLoc  = {"New York", "Maryland", "Texas"};
    
          OracleConnection connection = new OracleConnection(connectStr);
          OracleCommand    command    = new OracleCommand (
            "declare dnumber number; dname varchar2(50) ; begin dnumber := :deptno;dname := :deptname;insert into zdept values (:deptno, :deptname, :loc); update zdept set deptname=dname || :loc where deptno = :deptno; end;", connection);
    
          // Set the Array Size to 3. This applied to all the parameter in
          // associated with this command
          command.ArrayBindCount = 3;
          command.BindByName = true;
          // deptno parameter
          OracleParameter deptNoParam = new OracleParameter("deptno",OracleDbType.Int32);
          deptNoParam.Direction       = ParameterDirection.Input;
          deptNoParam.Value           = myArrayDeptNo;
          command.Parameters.Add(deptNoParam);
    
          // deptname parameter
          OracleParameter deptNameParam = new OracleParameter("deptname", OracleDbType.Varchar2);
          deptNameParam.Direction       = ParameterDirection.Input;
          deptNameParam.Value           = myArrayDeptName;
          command.Parameters.Add(deptNameParam);
    
          // loc parameter
          OracleParameter deptLocParam = new OracleParameter("loc", OracleDbType.Varchar2);
          deptLocParam.Direction       = ParameterDirection.Input;
          deptLocParam.Value           = myArrayDeptLoc;
          command.Parameters.Add(deptLocParam);
    
          try
          {
            connection.Open();
            command.ExecuteNonQuery();
            Console.WriteLine("{0} Rows Inserted", command.ArrayBindCount);
          }
          catch (Exception e)
          {
            Console.WriteLine("Execution Failed:" + e.Message);
          }
          finally
          {
            // connection, command used server side resource, dispose them
            // asap to conserve resource
            connection.Close();
            command.Dispose();
            connection.Dispose();
          }
        }
    
  • Find out which parent table and column is referenced by FK

    That is the problem. From user_constraints, you can get the foreign keys and the tables where they were defined, but I couldn't find the tables kinships, which reference foreign keys. Where can I get this information?

    Discover the R_OWNER and the R_CONSTRAINT_NAME from USER_CONSTRAINTS view.

    You can do a self-join on these columns to USER_CONSTRAINTS for parent information.

    Here's a post I made earlier that you can probably change to get all the information you need: {message identifier: = 3704338}

    Published by: Centinul on November 19, 2009 09:27

  • HOW CAN I CRETE TABLE WITH STORED LIKE HER PROCEDURE?

    CREATE OR REPLACE PROCEDURE CREATE_TABLE

    (P_1 VARCHAR2, VARCHAR2, P_3 P_2) AS

    V_TABLE VARCHAR2 (100);

    BEGIN

    IF P_1 = 'C' THEN V_TABLE: = ' CREATE TABLE AS SELECT P_2 * OF P_3';

    ELSIF P_1 = A ' THEN V_TABLE: = 'DELETE TABLE P_2 ";

    END IF;

    IMMEDIATELY RUN V_TABLE;

    END;

    /

    RUN

    BEGIN

    Create_Table ("C", "DEPT_EMPS", "EMPLOYEES");

    END;

    /

    VIEW THE ERROR

    So, here's what you're trying to do...

    SQL > create or replace procedure create_table (create_or_delete varchar2
    2, table_name varchar2
    3, source_table_name varchar2
    4                                           ) as
    VARCHAR2 (32767) dyn_sql 5.
    6 start
    7 if upper (create_or_delete) = 'C' then
    8 dyn_sql: = 'create table' | table_name |' in select * from '. source_table_name;
    9 upper (create_or_delete) elsif = ' then
    10 dyn_sql: = 'truncate table' | table_name;
    11 end if;
    12 immediately execute dyn_sql;
    13 end;
    14.

    Created procedure.

    And here is what one of the more fundamental reasons that you should not...

    SQL > declare
    2 cnt number;
    3. start
    CREATE_TABLE 4 (' this, 'dept_emps', 'emp');
    5. select count (*)
    6 in the NTC
    7 of dept_emps;
    8 dbms_output.put_line (' count on my new table: ' |) CNT);
    9 end;
    10.
    of dept_emps;
    *
    ERROR on line 7:
    ORA-06550: line 7, column 10:
    PL/SQL: ORA-00942: table or view does not exist
    ORA-06550: line 5, column 3:
    PL/SQL: SQL statement ignored

    You cannot use the table in the static SQL/DML instructions until it is created.  The code compiles even because the table does not exist.

    The only way to use this table would be to write more dynamic SQL.  And you're just stupid!

    If you write your code like this, you are creating an absolute mess.  You need to learn that this is NOT the right way to create tables or write code.

    It is also likely to be victims of violence for the injection of SQL code.  If you are unsure what is SQL Injection, it is a major security vulnerability in your code that can allow people to steal data or remove data or otherwise damage to your database.

Maybe you are looking for