I know that i can create a table without a primary key.But
is there any significance for that table???? while creating
an application.
Answer Posted / amit
Definitely yes.....While creating a Data Warehouse
application,we need fact tables to be created from various
dimension tables and the fact table load type is always
INSERT not INSERT/UPDATE.Just think of a real world example
where the need is to populate all the daily transactional
data to a Data Warehouse for analytical purpose such as
creating reports and all.Suppose the DW is loaded two times
a day.In the first load,whatever the data present in the
Transactional Database is loaded into the DW.Before the
second load there might be some sort of updation made to
some of the records,so those records need to be inserted
into the DW again in the second load.If there would be
primary key in the fact table(i,e;DW),it will raise an error
(unique constraint violated.....).So,fact tables should not
contain any primary key.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Assuming today is Monday, how would you use the DBMS_JOB package to schedule the execution of a given procedure owned by SCOTT to start Wednesday at 9AM and to run subsequently every other day at 2AM.
What is the cache hit ratio, what impact does it have on performance of an Oracle database and what is involved in tuning it?
What is an Oracle Instance?
How to use "in" parameter properly?
What is Redo Log Buffer in Oracle?
What is meant by raw datatype?
What is a trace file and how is it created in oracle?
What is oracle in java?
How do you increase the OS limitation for open files (LINUX and/or Solaris)?
Is the After report trigger fired if the report execution fails ?
How to load excel data sheet to oracle database
What is a proxy object?
How to create a new table in oracle?
What is hot backup and logical backup?
How to start instance with a minimal initialization parameter file?