How to set db schema in fact tables
Hi!
I have one mapping with one table(table1) pointing to one fact table (fact1).
This fact table has two dimensions located in two different schemas. I already deployed those dimensions and tables and its ok.
My problem is: when I open the mapping editor and ask to generate the mapping to create the package to populate the fact table,
I can see why I can not deploy it (PL/SQL: ORA-00942: table or view does not exist).
My query is: SELECT (fields) FROM schema.table1, table2 ,table3 WHERE....
I cant set the schema property from my table (table1), but I cant´t do the same with the table2 and table3 (both tables related to dimensions). i don´t have this option!
I don´t understand why this happen because both dimensions are ok. They are in two different modules and the locations are ok too.
I understand that the mapping needs the dimension keys to populated the fact table, but I really don´t know how to set this schema property. If i can´t do that,
i don´t know how to "fix" this problem. If a can´t set this schema property, how can I deploy this mapping whitout this???!!!!
I´m using the 10.2 version.
Thanks o lot!!!!!!!!!!!
This is what really happens in my example.
Look the "Generation Results" :
SELECT
/*+ ORDERED NO_MERGE("INGRP1") */
"TEMP_TABLE"."Value1" "Value1",
"TEMP_TABLE"."Value2" "Value2",
"DIMENSION1"."ID" "ID",
"DIMENSION2"."ID" "ID"
FROM
"SCHEMA"."TEMP_TABLE" "TEMP_TABLE", -> I CANT SET THIS schema
"DIMENSION1" "DIMENSION1", -> i can´t do the same here
"DIMENSION2" "DIMENSION2" -> i can´t do the same here
WHERE
( "DIMENSION1"."DIMENSION_KEY" = "DIMENSION1"."ID" ) AND
( "DIMENSION1"."ID" IS NOT NULL ) AND
( "DIMENSION2"."DIMENSION_KEY" = "DIMENSION2"."ID" ) AND
( "DIMENSION2"."ID" IS NOT NULL ) AND
( "DIMENSION1"."key" = "TEMP_TABLE"."key" ) AND
( "DIMENSION2"."key" = "TEMP_TABLE"."key" )
I already tried to use 3 DB-Modules but I have the same problem. :o(
I don´t know what to do!!!!!!!
Similar Messages
-
How to set DDL lock for a table
OCI,how to set DDL lock for a table?
Oracle acquires a dictionary lock automatically on behalf of any DDL transaction requiring it. Users cannot explicitly request DDL locks. Only individual schema objects that are modified or referenced are locked during DDL operations. The whole data dictionary is never locked
DDL locks fall into three categories: exclusive DDL locks, share DDL locks, and breakable parse locks.
see this link
http://www.sc.ehu.es/siwebso/KZCC/Oracle_10g_Documentacion/server.101/b10743/consist.htm#i5281 -
How and when to create a fact table
hi every1,
I am new to oracle and specially to Data Warehousing. I am using OWB 11g on windows XP.
I have created the dimensional for a database, now i am in the implementation phase.
i have the following questions.
1. I don't know how and when to create a fact table. I have already created the dimensions (ROLAP).
2. Do i need to create a mapping for a Cube. if yes, then how to load them from 4 different dimensions. how will be the join condition, they don't match?
3. I will also try for aggregation, do i need to use MOLAP for the dimensions or ROLAP works?
Please, give a quick reply.
regards
RFYou should ask your question here:
Warehouse Builder
where it is on topic. -
How to view the schema of a table?
Hi,
I have a table and would like to use the schema as a base to create other similar tables, however I couldn't find much information on how to retrieve the schema of a table in windows azure database.
Could anyone shed some light?
Thank you!Hello,
Windows Azure SQL Database provides support Information Schema Views, for example, you can get the column information in the current database with following statement:
SELECT TABLE_CATALOG, TABLE_SCHEMA, TABLE_NAME, COLUMN_NAME,DATA_TYPE
FROM INFORMATION_SCHEMA.COLUMNS
Reference:System Views (Azure SQL Database)
Regards,
Fanny Liu
Fanny Liu
TechNet Community Support -
How to set field alignment in a table in jdev 11.1.2.3?
hi,
How to set field alignment in a table in jdev 11.1.2.3?
eg: to diplay a number field in a table as right aligned.
I have tried to set field(amount) VO UI Hint Format Type:Number; Format: 0000.00
and jspx as flowing, but it doesnot work.
Thanks.
bao
<af:column sortProperty="#{bindings.VO1.hints.Amount.name}"
sortable="true"
headerText="#{bindings.VO1.hints.Amount.label}"
id="c44" width="60"
align="center">
<af:inputText value="#{row.bindings.Amount.inputValue}"
label="#{bindings.VO1.hints.Amount.label}"
required="#{bindings.VO1.hints.Amount.mandatory}"
columns="#{bindings.VO1.hints.Amount.displayWidth}"
maximumLength="#{bindings.VO1.hints.Amount.precision}"
shortDesc="#{bindings.VO1.hints.Amount.tooltip}"
id="it58"
secret="false"
inlineStyle="text-decoration:overline;">
<f:validator binding="#{row.bindings.Amount.validator}"/>
</af:inputText>
</af:column>Works for me:
<af:column sortProperty="#{bindings.EmployeesView1.hints.Salary.name}" sortable="false"
headerText="#{bindings.EmployeesView1.hints.Salary.label}" id="c7" align="right">
<af:inputText value="#{row.bindings.Salary.inputValue}" label="#{bindings.EmployeesView1.hints.Salary.label}"
required="#{bindings.EmployeesView1.hints.Salary.mandatory}"
columns="#{bindings.EmployeesView1.hints.Salary.displayWidth}"
maximumLength="#{bindings.EmployeesView1.hints.Salary.precision}"
shortDesc="#{bindings.EmployeesView1.hints.Salary.tooltip}" id="it6">
<f:validator binding="#{row.bindings.Salary.validator}"/>
</af:inputText>
</af:column>JDeveloper 11.1.2.3
Salary is shown right-aligned.
What happens if you get rid of your inlineStyle on the af:inputText -
How to set focus programmatically in a table ?
Sir,
How to set focus programmatically in a table using javascript?
Is it document.getElementById('form1:table1:i:column1').focus(); ?
Thanks
StephenRepost
-
How to set default value of a table using sequence number
Dear all,
Does any body know that how to set default value of a table
using sequence number.
But I don't want to use trigger to do that.
Please help!!!!
EldonAndrew is essentially correct. You can get around the trigger,
but not the sequence, if (and this may be a very big if) you can
guarantee that every time an insert is done into the table, from
whatever source, the statement looks something like
INSERT INTO tbl VALUES (sequence.nextval,other_columns_values) -
How to fetch data from multiple fact tables from a normalized schema?
Hello everybody,
I am working on a normalized schema to build my repository. I have categorized the tables into dimensions and facts. I have 3 fact tables in my schema and they have a 1:m:1 relationship i.e. if I have table A, B, and C; A has 1:m relationship with B and C also has 1:m relationship with B. How can I use measures from these tables to create a star schema. If A = Sales, B = Transaction, C = Payment_Amount
Sales(Sales ID, Amount, Tax pct, ...)
Transaction(Transaction ID, Sales ID, Payment ID,Transaction Amt, ...)
Payment_Amount(Payment ID, Check ID, Payment Made, ...)
Please give me some direction to pursue.
Thank you!
DHi dcole,
Go through this link for snowflake schema http://gerardnico.com/wiki/datamodeling/snowflake_
http://www.rittmanmead.com/2007/06/19/obiee-data-modeling-tips-1-integrating-1-1-and-1-many-source-tables/
I suppose it should work with snowflake schema...Im interested in this topic please let me know what is your approach every now and then.
By,
KK -
Help on Setting logical Levels in Fact tables and on Dimension tables
Hi all
Can any body provide any blogs or any king of material on what exactly is levelling .
Like after creating the Dimensional hierarchies we need to set the logical levels for the LTS of fact tabels ri8 .So what is the difference between setting logical levels to fact tabels and also Setting levelling on Dimension tables .
Any kind of help is appreciated
Thanks
Xavier.
Edited by: Xavier on Aug 4, 2011 10:50 AMI have read these blogs ,but what my question is
Setting the logical levels in LTS of Fact tables i understood .
But we can also set the logical levels for dimensions also ri8 .I didn't understand why do we set the logical levels for dimensions .Is there any reason why we go with the levelling at dimensions
Thanks
Xavier
Edited by: Xavier on Aug 4, 2011 2:03 PM
Edited by: Xavier on Aug 4, 2011 2:32 PM -
How to set image size in a table view
Hi,
I've just built a small VC application showing some process chain logs in a table view. For the different status types Error, Warning and Success I show the well-known traffic light icons. But up to now I haven't found out how to set the image size in a table view (height & width field is greyed out for the table). Any ideas? Or is it just not possible?
Thanks for your help,
HeikoHello Heiko,
I don't know, if it is possible, but I would say,
it's not implemented yet. Maybe you can change the picture size and use then the pictures, that might be a workaround, if you can't change the height and width in VC.
Best Regards,
Marcel -
How to set the font of a table header?
Hi,
Is there a way to set the font of a table header? I do not mean how to change the header word but the font.
Thanks
StephenHi,
for combobox in a table (I assume the combobox is shown un column 2, thus the index 1)
oracle.jbo.uicli.jui.JUTableLOVEditor lovCellEditor = (oracle.jbo.uicli.jui.JUTableLOVEditor) jTable1.getColumnModel().getColumn(1).getCellEditor();
lovCellEditor.getComponent().setFont(new Font("Arial",Font.BOLD,13));
For the LOV panel this is a bit more complicated because you need to create a custom LOV panel as described in http://www.oracle.com/technology/products/jdev/howtos/10g/jclientlov/customadfjclientlovpanel.html
I filed a bug today to expose the component on a LOV to public so they can be modified
Frank -
How can build BMM with multiple fact tables
HI Gurus,
I have 4 fact tables and 18 Dimension table. Dimension tables have links with multiple fact tables. i have created physical joins in Physical layer. Now my questions is how can i create Business Model with multiple fact tables.
i mean should i create 4 fact tables as logical tables and logical keys ? Then i have to move all dimension tables in to Business model?
i am new to OBIEE. i gone through tutorial it is showing with one fact and multi dimension table. Should i do follow same style with multi fact tables.
Please help me. Thanks in advance for your support.Thanks for your response.
I had drag all tables from the phisical layer to Business Model. then i have deleted all links and recreated complex joins with default values.
now i have some revenue amont columns in fact tables.
my question is should i should i create aggregation ( like Sum..) for those columns? is it must ?
please let me know thank you very much -
How to set single parameters for two tables?
SELECT GM.GRNNO,GM.GRNDATE,SUM(GS.APPROVED),SM.ISSUENO,SM.ISSUEDATE,GS.ITEMCODE,SUM(SS.ISSUEDQTY)
FROM IMS_GRNM GM,IMS_GRNS GS, IMS_ISSUEM SM, IMS_ISSUES SS
WHERE GM.GRNMSERIAL=GS.GRNSSERIAL
AND SM.ISSUEMSERIAL=SS.ISSUESSERIAL
AND GM.POSTED='T'
AND SM.POSTED='T'
AND GS.ITEMCODE=SS.ITEMCODE
AND GS.ITEMCODE='01-01-02-019'
AND *******
GROUP BY GM.GRNNO,SM.ISSUENO,GM.GRNDATE,SM.ISSUEDATE,
GS.ITEMCODE ORDER BY GM.GRNDATE,SM.ISSUEDATE;
******* here i have to select the data from both the tables between two parameters named :P_1 and :P_2.
the date column in IMS_GRNM is named as GRNDATE.
the date column in IMS_ISSUEM is named as ISSUEDATE.
how to set such parameters???I think all you need is
Where table1.column1 between :p1 and :p2
and table2.column2 between :p1 and :p2 -
How to find Size of the fact table?
hello all
how do i find out the size of the fact table?
Is the size of the fact table is same as size of the cube.
pls let meknow
regards
baljiHello Balaji,
To find out size of fact table
DB02 ->Detailed anaysis -> Fact table name
It will show you the details.
The size of cube is not exactly equal to the size of fact table, but usually as fact table is much more larger than dimension tables, fact table size will give you a fair idea about cube size.
Hope it helps.
Regards,
Praveen -
How to display a description in fact table from an unrelated DIM table in powerpivot?
Hello,
I have two tables in powerpivot 2010: 1 that is my fact and the is unrelated. I'm relatively new to SQL and powerpivot.
What I need to do is display a description from my DIM table based on a column in my fact. Is this possible? In my fact, I
have a ReasonID, the DIM has the ReasonID and description. I just need the description added in my fact as a new /
another column. Thanks. JohnHello,
When you have the same column in both tables, then they are related, even if in database no primary / foreign key is defined. In PowerPivot we can define additional / manual relation, just Change to "Diagram View" and define the relation like below:
But if you still want the "Dim description" as a computed column in your fact table, then you can use the
LOOKUPVALUE function
=LOOKUPVALUE(Dim01[Description], Dim01[ReasonId], Fact01[ReasonId])
Olaf Helper
[ Blog] [ Xing] [ MVP]
Maybe you are looking for
-
HTTP Streaming for Flash Player 10.1
Hi there, I have been developing a streaming video player application in Flash Builder 4, and have been really excited about the HTTP Streaming functionality now available in Flash Player 10.1. Unfortunately, there seems to be an extreme dearth of ma
-
Lately, whenever I try to do a software update on my Mac OS X version 10.6.8 Macbook, I get an ERROR message. What to do?
-
Patchset Update for every Instance neccessary??? Urgent!
Dear experts! I am running a server with Oracle v.10.2.0.1.0 and 4 database instances. Today I installed the Patchset Update for version 10.2.0.5.0. After the runInstaller routine completed, I logged into one of these instances and ran the catupgr.sq
-
I purchased Paragon NTFS for mac and I've been having issues with a seagate 1.5 tb external hd. It is partitioned into Fat32 and NTFS. The fat32 partition is about 300 gbs and the NTFS partition is about 1100 gbs. I was able to copy the Fat32 ov
-
Replacement for Apple Cinema Tools to batch conform for overcrank?
Apologies if I am asking this question in the wrong forum. And If I am, perhaps you could refer me to the right place,. I use it to batch conform 60 fps (shot on my 7D) to other frame rates (30, 24 etc) to achieve smooth slow motion. I know that the