Download - OWB Best Practices
-
8/11/2019 OWB Best Practices
1/13
OWB BESTPRACTICES
Author: Oracle SSI BI&DW team
Creation Date: November 8, 2002
Lat !"#ate#: Se"tember 20, 20$%
erion: $'0
-
8/11/2019 OWB Best Practices
2/13
Document Control
Change Record
Date Author Version Change Reference
$2(Nov(02 Dilee" au $'0 No )reviou Document
Reviewers
Name Position
Distribution
Copy No. Name Location
$ Librar* +ater )roect Librar*
2 )roect +ana-er
.
%
/L echni1ue, int an# i"
OWB Bet )ractice
i
-
8/11/2019 OWB Best Practices
3/13
Content
Document Control''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''ii
Intro#uction''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' %
/L echni1ue, int an# i"''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''3
Im"lementin- Slo4l* Chan-in- Dimenion 5SCD6 uin- OWB'''''''''''''''''''''''''''''''''''''''3
/rror +ea-e an# 7eolution'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''$2
+a""in- #oent o"en, 9ava'lan-'Null)ointer/ce"tion; error #i"la*e#'''''''''''''''''''''$2
9!nable to -enerate table et o< recor#; error occur in a +/7=/ loa#''''''''''''''''''''''$2O7A(0>00 error occur in a +/7=/ loa#'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''$2
A""en#i A'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''$.
he 7/SO7/ "roce#ure'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''$.
/L echni1ue, int an# i"
OWB Bet )ractice
ii
-
8/11/2019 OWB Best Practices
4/13
ntroduction
Oracle?iWarehoue Buil#er 5OWB6 i a tool to enable the #ei-n an# #e"lo*ment o< enter"rie#ata 4arehoue, #ata mart an# e(Buine Intelli-ence a""lication' he tool i a com"onent o
hi error commonl* occur in an abnormal ituation 4here the re"oitor* ha #u"licate name
hi con#ition occur 4hen more than one ro4 bein- loa#e# ati
-
8/11/2019 OWB Best Practices
13/13
Appendi3 A
"he R!&")R! procedure
CREATE OR REPLACE
PROCEDURE RESTORE IS
CONT NUMBER :=
CURSOR C1 IS
SELECT "IRSTCLASSOB#ECT,
PARAMETERGROUP,
NAME
"ROM CMPMAPPINGPARAMETER_V
GROUP B$ "IRSTCLASSOB#ECT,PARAMETERGROUP,NAME
%AVING COUNT(&) > 1
CURSOR C'(P_"IRSTCLASSOB#ECT NUMBER,P_PARAMETERGROUP NUMBER,P_NAME VARC%AR')
IS
SELECT "IRSTCLASSOB#ECT,
PARAMETERGROUP,
ELEMENTID "ROM CMPMAPPINGPARAMETER_V
%ERE "IRSTCLASSOB#ECT=P_"IRSTCLASSOB#ECT
AND PARAMETERGROUP=P_PARAMETERGROUP
AND NAME = P_NAME
BEGIN
"OR REC IN C1 LOOP
DBMS_OUTPUT.PUT_LINE(REC."IRSTCLASSOB#ECT**_**REC.PARAMETERGROUP**_**REC.NAME)
CONT :=
"OR REC1 IN C'(REC."IRSTCLASSOB#ECT ,REC.PARAMETERGROUP,REC.NAME)LOOP
DBMS_OUTPUT.PUT_LINE(REC1."IRSTCLASSOB#ECT**_**REC1.PARAMETERGROUP**_**
REC1.ELEMENTID)
UPDATE CMPMAPPINGPARAMETER_V
SET NAME = NAME**CONT,
LOGICALNAME = LOGICALNAME**CONT
%ERE "IRSTCLASSOB#ECT = REC1."IRSTCLASSOB#ECT AND
PARAMETERGROUP = REC1.PARAMETERGROUP AND
ELEMENTID = REC1.ELEMENTID
DBMS_OUTPUT.PUT_LINE(1)
CONT := CONT +1
END LOOP
END LOOP
END
/L echni1ue, int an# i" $.