Documentation on SDD_% views
Is there any documentation on these views. I can't find anything in API and Model Reference Guide.
The reason I think I need this is that we are about to go through a process of table and column renaming and I want to produce queries which show the old and new names in each of the different configurations so any suggestions as to how this might done would also be welcome.
Thank you
Richard
Shikha,
Please avoid duplicate posts
Thanks
Bala Duvvuri
Similar Messages
-
How can i create the blue "I"-Button for the Documentation in a view
How can i create the blue "I"-Button for the documentation in a view?
I want to prepare the button with user specified Information...
and where must be create the documentation?
thanks
Edited by: DDC-TD on Apr 24, 2008 10:22 PMyou have not mentioned where do u want the " I " information button ,
1. If u want for a report , u can get the information button on selection-screen only .
if u goto se38 on the mail screen u will find a radio button for documentaion ,
when u select it and click 'create' or 'change' , an editor will open and u can document anything there ....
2. Or specify where u want info button .
thanks ,
reward points if usefull. -
Hi All ,
i have created a idoc view from basic type DELVRY03 . But i am not able to get the Documentation for this . I have tried we63 but it does not provide documentation for Idoc views .
Regards
Saurabhresolved the problem/question ourselves
-
Documentation on table, view and procedures of the user portal
Where can I find documentation on table, view and procedures of the portal user?
Thanks.PL/SQL API doc here :
http://www.oracle.com/technology/products/ias/portal/html/plsqldoc/pldoc1014/summary.html
VIEWS doc here :
http://download-uk.oracle.com/docs/cd/B14099_19/portal.1014/b14135/pdg_cm_api.htm#CHDIFAGE -
Documentation about Content Area APIs and Views
Can somebody point me to the documentation about Content Area APIs and also the documentation about the views of the Content Areas ?
I have not been able to find nothing else that what is available in the package specs.
Thank you for your help.Hi,
Please Refer to this thread.
Re: eclipse designer not found in Beta 3
--Sriram -
Creation of Materialized view and Materialized view log.
I wanted to create materialized view with 'REFRESH FAST ON COMMIT' option.
1) Table1 --it is partitioned range + list -- Added primary key
2) view1 -- having primary keys on view's base table
Steps:
1) create materialized view log on Table1 ; -- default primary key
2) create materialized view log on view1. --- It is giving below error.
ORA-00942: table or view does not exist
i wanted to create Materialized view like below
create materialized view
REFRESH fast ON commit
as
select ...
... from table1
where c1 in (select c1 from view1 where ... );
Question:
1) As i am getting above error while creating MV log on view. Can we create MV log on view or we have to create MV log on view base table?
2) To create MV with ''REFRESH FAST ON COMMIT' option , do we need to have primary key on master tables?
Any pointers on this will really helpful.
Thanks
PrasadAlso created MV LOG on 3 tables and tried with joins ..
create materialized view
REFRESH fast ON commit
as
select ...
... from table1 , tab2 t2,tab3 t3
where ....
and ...
Get same error ORA-12052: cannot fast refresh materialized view AVSYS.EVENT_LOG_MV
2052. 00000 - "cannot fast refresh materialized view %s.%s"
*Cause: Either ROWIDs of certain tables were missing in the definition or
the inner table of an outer join did not have UNIQUE constraints on
join columns.
*Action: Specify the FORCE or COMPLETE option. If this error is got
during creation, the materialized view definition may have be
changed. Refer to the documentation on materialized views. -
How to view JPEG in Aperture while shooting tethered?
I'm shooting tethered on a D3x into Aperture 2.1.4 with OS 10.6.1
Camera is set to RAW+JPEG with the in-camera JPEG set to Monochrome.
I'd like to be able to see the Monochrome image on the screen as I'm shooting, but as you know, the only documented way to view the JPEG is to make a "New Version from Master JPEG"…..
Suggestions?no, there was no "?" displayed, all looks normal... but in just the develop screen it was a big grey blank, and 'folder could not be found".... in frustration last night i closed everything down and today simply re-booted the entire computer and my mystery is this morning i can see the jpeg..... i may never know what caused the glitch... is it therefore a good idea to re-boot the HD after making changes like adding LR5??? Does LR5 need that to properly interface with other files/folders on a HD?? it would help to know before i add LR to my ultrabook!! thanks so much for being available to all of us 'beginners'!!
-
Read only view which has an ORDER BY clause
Aim to create a read only view which has an ORDER BY clause
Sample script
CREATE TABLE tab1 (
col1 VARCHAR2(3),
col2 NUMBER
INSERT INTO tab1(col1, col2) VALUES ('ccc', 30);
INSERT INTO tab1(col1, col2) VALUES ('bbb', 20);
INSERT INTO tab1(col1, col2) VALUES ('ddd', 40);
INSERT INTO tab1(col1, col2) VALUES ('aaa', 10);
COMMIT;
-- To creat View
CREATE OR REPLACE VIEW v_tab1
AS
SELECT
col1,
col2
FROM
tab1
ORDER BY
col1
WITH READ ONLY;
I get the following error
WITH READ ONLY
ERROR at line 10:
ORA-00933: SQL command not properly ended
When I comment out the ORDER BY clause, the view is created
Pls let me know how I can create a read only view with ORDER BY clauseHi,
take a look at the documentation for CREATE VIEW, there is a restriction:
"You cannot specify the ORDER BY clause in the subquery if you also specify the subquery_restriction_clause."
Wolfgang -
How to view HTML page source in CR2011 CrystalViewer
We are migrating from CR2008 SP3--> CR2011 (Unmanaged RAS SP5, OEM Edition 14.0.5.882)
We have JSP page which wraps the CrystalViewer output between a ReportMenu page
viewer.setOwnPage> FALSE Ensure that it is not generated with tags
response.setBufferSize(4096);
response.setContentType("text/html; charset=UTF-8");
Writer out = response.getWriter();
request.getRequestDispatcher("/webrpts/header.jsp").include(request,response);
viewer.processHttpRequest(request, response, servletContext,response.getWriter());
When we upgrade to CR2011, the viewer is showing the report in a BOX
if we right click view Source, the report content are not shown.
Is there any parameter to view the report source?
I tried to print the output using viewer.getHtmlContent(request, response, servletContext);
It does not output the Report Content....
I am attaching a document to show how it is output in CR2008 and CR2011
What is the difference between CR2008 and CR2011 Viewer?
Please help.We are using JAVA SDK and already we are hiding the ToolBar by setting
viewer.setDisplayToolbar(false);
viewer.setToolPanelViewType(crToolPanelViewTypeEnum.none);
The documentation says if
viewer.setOwnPage(false); then the <HTML></HTML> will not be generated by the
viewer.processHttpRequest(....)
But if I output the data generated by this method it does not have the report output....
We are expecting that and process further using javascript
What is the difference in behaviour of 2008 and 2011 Crystal Viewer?
Previous flow explained below
Ex
<html>
<head>.......
<javascript...............>
</head>
<body onload=callCustom()>
viewer.processHttpRequest(......)
</body>
</html> -
Materialized View creation with REFRESH FAST
Hello ,
Please see below case,
TABLE A1(partitioned range+list)
COLUMN C1 -- Primary key
COLUMN C2 -- NUMBER
TABLE D1
COLUMN C1 -- PRIMARY KEY
created MV log as below
CREATE MATERIALIzED VIEW LOG ON A1 WITH ROWID,PRIMARY KEY INCLUDING NEW VALUES;
CREATE MATERIALIzED VIEW LOG ON D1 WITH ROWID,PRIMARY KEY INCLUDING NEW VALUES;
Trying to create MV like below:
CREATE MATERILIZED VIEW mv1test
REFRESH FAST ON COMMIT
AS
Select
FROM A1,
D1
WHERE A1.C1 = D1.CI
AND A1.C2 IS NOT NULL;
It gives below error message:
ORA-12052: cannot fast refresh materialized view schema.mv1test
12052. 00000 - "cannot fast refresh materialized view %s.%s"
*Cause: Either ROWIDs of certain tables were missing in the definition or
the inner table of an outer join did not have UNIQUE constraints on
join columns.
*Action: Specify the FORCE or COMPLETE option. If this error is got
during creation, the materialized view definition may have be
changed. Refer to the documentation on materialized views.
However ,as discussed in earlier thread i checked all general restrictions of the 'Refresh fast' approach for join.
Restrictions on Fast Refresh on Materialized Views with Joins Only
Defining queries for materialized views with joins only and no aggregates have the following restrictions on fast refresh:
1) They cannot have GROUPBY clauses or aggregates.
2) Rowids of all the tables in the FROM list must appear in the SELECT list of the query.
3)Materialized view logs must exist with rowids for all the base tables in the FROM list of the query.
4)You cannot create a fast refreshable materialized view from multiple tables with simple joins that include an object type column in the SELECTstatement.
As per above restrictions ,
1) Group by clause is not present
2)i do not understand 2nd point , i have added a1.rowid and d1.rowid in select statement of MV, but got same error.
3) observed same as 2nd point.
4)we have CLOB column in select list. Tried removing this column but got same error.
Please do let me know any workaround on this.
Thanks in advanced ..
PMBasic Materialized Views show how to analyse MVs using dbms_mview. I'm not sure about creating MVs on partitioned tables, that partition maintenance might cause problems
-
M$view need to create with Fast Refersh?
Hi All,
I have to create m$veiw with Fast Refresh for only two table join.
CREATE MATERIALIZED VIEW pup_sub_poc_mv
REFRESH FAST
START WITH SYSDATE
NEXT SYSDATE+(1/48)
select a,b,c
from x, y
where x.id=y.id
and x.a in (select a from z)
i am getting below error below error.
ORA-12015: cannot create a fast refresh materialized view from a complex query
Is there any way to create Fast refresh view for above query.?Try this, I think EXISTS is suported for fast refersh, IN is not - It is Documented
CREATE MATERIALIZED VIEW pup_sub_poc_mv
REFRESH FAST
START WITH SYSDATE
NEXT SYSDATE+(1/48)
select a,b,c
from x, y
where x.id=y.id
and exists (select null from z where x.a = z.a)Just got it tested:
SQL> create materialized view log on emp;
Materialized view log created.
SQL> create materialized view log on dept;
Materialized view log created.
--"Trying with IN. Error"
SQL> create materialized view mv2
2 REFRESH FAST
3 START WITH SYSDATE
4 NEXT SYSDATE+(1/48)
5 as select * from emp where deptno in (select deptno from dept);
as select * from emp where deptno in (select deptno from dept)
ERROR at line 5:
ORA-12015: cannot create a fast refresh materialized view from a complex query
--"Trying with EXISTS."
SQL> create materialized view mv2
2 REFRESH FAST
3 START WITH SYSDATE
4 NEXT SYSDATE+(1/48)
5 as select * from emp where exists (select null from dept where dept.deptno = emp.deptno);
Materialized view created.Edited by: jeneesh on Oct 12, 2012 4:47 PM -
ORA-12052 when create materialized view
I following the sample in Oracle document to create materialized viewCREATE MATERIALIZED VIEW LOG ON sales
WITH ROWID, SEQUENCE(amount_sold, time_id, prod_id) INCLUDING NEW VALUES;
CREATE MATERIALIZED VIEW LOG ON times
WITH ROWID, SEQUENCE (time_id, calendar_year) INCLUDING NEW VALUES;
CREATE MATERIALIZED VIEW LOG ON products
WITH ROWID, SEQUENCE (prod_id,prod_name) INCLUDING NEW VALUES;
CREATE MATERIALIZED VIEW sales_mv
BUILD IMMEDIATE REFRESH FAST ON COMMIT
AS SELECT t.calendar_year, p.prod_id, p.prod_name,
SUM(s.amount_sold) AS sum_sales
FROM times t, products p, sales s
WHERE t.time_id = s.time_id AND p.prod_id = s.prod_id
GROUP BY t.calendar_year, p.prod_id, p.prod_name; This works. BUt I actually does not want do aggregation. Thus I changed the MV creation statement toCREATE MATERIALIZED VIEW sales_mv
BUILD IMMEDIATE REFRESH FAST ON COMMIT
AS SELECT t.calendar_year, p.prod_id, p.prod_name,s.amount_sold
FROM times t, products p, sales s
WHERE t.time_id = s.time_id AND p.prod_id = s.prod_id;I got errorSQL Error: ORA-12052: cannot fast refresh materialized view GLU.SALES_MV
*Cause: Either ROWIDs of certain tables were missing in the definition or
the inner table of an outer join did not have UNIQUE constraints on
join columns.
*Action: Specify the FORCE or COMPLETE option. If this error is got
during creation, the materialized view definition may have be
changed. Refer to the documentation on materialized views.Please help or point me to the relevant document.
Thanksdamorgan, Thank you for you reply.
the inner table of an outer join did not have UNIQUE constraints on join columns.
I am not sure how much clearer and explanation can be written.If you look at the query, you will find that there is no outer join in the query.
sales table does not have unique constraints on prod_id and time_id. If this is the cause of the problem, I cannot change the data but is there a work around. That is way I ask for specific doc. In 11g documents, I only find some info on CREATE MV. That is mainly on syntax but not on requirement. -
Materialized view issue ORA-12052
Hi All,
I'm currently trying to create a MV using Fast refresh method.
and I'm getting the following error:
ORA-12052:
cannot fast refresh materialized view string.string
Cause: Either ROWIDs of certain tables were missing in the definition or the inner table of an outer join did not have UNIQUE constraints on join columns.
Action: Specify the FORCE or COMPLETE option. If this error is got during creation, the materialized view definition may have be changed. Refer to the documentation on materialized views.
I'm trying to create the Unique constraints required. Could anybody help me with this?. Which are the "inner tables of an outer join"?
I have also created the MVs logs with rowid, but also nothing happend.
I' ve created a Unique constraint that includes all the fields of the ourter joins. Nothing happend either.
Thi is the MV script:
'CREATE MATERIALIZED VIEW MVIEW1
USING INDEX
REFRESH ON DEMAND FAST
WITH rowid
DISABLE QUERY REWRITE AS
SELECT fp.FINAL_AMOUNTFIXED,
fp.FINAL_FPRATE,
fp.updated_rate,
fp.gsd_rate,
fp.nongsd_rate,
fp.AMT_CD,
fp.AMT_CD_ADJ1,
fp.AMT_CD_ADJ2,
fp.AMT_LC,
fp.AMT_LC_ADJ1,
fp.AMT_LC_ADJ2,
fp.ASSIGNMENT_STATUS,
fp.CURRENCY,
fp.DOLLARS,
fp.FORECAST_REVENUE_STATUS,
fp.GUID,
NVL(fp.HOURS,0) HOURS,
fp.ID,
fp.JOB_LEVEL,
fp.PJR_AMT_CD,
fp.PJR_HOURS_VALUE,
fp.PJR_LC,
fp.PJR_RATE,
fp.PJR_RATE_VALUE,
fp.PROJECT_COST_CENTER,
fp.PROJECT_COST_CENTERTXT,
NVL(cust.project_manager,fp.project_manager) project_manager,
NVL(cust.project_name,fp.project_name) project_name,
fp.PROJECT_NUMBER,
fp.PROJECT_ORGANIZATION,
NVL(cust.project_status,fp.project_status) project_status,
NVL(cust.project_type,fp.project_type) project_type,
NVL(fp.RATE,0) Rate,
fp.RATE_ADJ1,
fp.RATE_ADJ2,
fp.RATE_LEVEL,
fp.REPORT_DATE_ID,
fp.REPORT_DESCRIPTION,
fp.RESOURCE_COST_CENTER,
fp.RESOURCE_COST_CENTERTXT,
fp.RESOURCE_COUNTRY,
fp.RESOURCE_NAME,
fp.RESOURCE_ORGANIZATION,
fp.RESOURCE_TYPE,
fp.REVENUECOST_TYPE,
fp.ROLE_END_DATE,
fp.ROLE_NAME,
fp.ROLE_START_DATE,
fp.TAB,
fp.TASK_NUMBER,
fp.TPRATE_TP,
fp.WAR,
fp.WE_DATE_ID,
fp.WEEK,
fp.WORK_TYPE,
fp.PJR_FF_DIFF_MONTH,
fp.PJR_FF_DIFF_QTR,
NVL(fp.PJR_WOW,0) WOW,
fp.PJR_WOW_HRS,
fp.REMOVED_BY_ADJUSTMENT,
fp.PICK_FOR_WRITEBACK,
fp.DRAFT_REV_NUM,
fp.DRAFT_INV_NUM,
NVL(pca.country,fp.PROJECT_COUNTRY) Country,
NVL(cust.customer_id,NVL(fp.CUSTOMER_NUMBER,'TBD')) Customer_ID,
NVL(cust.CUSTOMER_NAME,NVL(fp.CUSTOMER_NAME,'TBD')) Customer_Name ,
fp.ITEM_DATE,
fp.REVENUE_CC,
fp.EXPLANATION,
fp.REPORT,
fp.REPORT_ADJUSTMENT,
fp.REPORT_ADJ1,
fp.REPORT_ADJ2,
fp.JE_DESCRIPTION,
pca.REGION_HQ_TIERLAST_CODE,
pca.MANAGER_FIELD_TIERLAST_CODE,
pca.SPECIALTY_HQ_TIERLAST_CODE,
pca.SECTOR_HQ_TIERLAST_CODE,
rca.REGION_HQ_TIERLAST_CODE,
rca.MANAGER_FIELD_TIERLAST_CODE,
rca.SPECIALTY_HQ_TIERLAST_CODE,
rca.SECTOR_HQ_TIERLAST_CODE,
pca.VERTICALS_SUB_LOB,
pca.MISC_GROUP ,
rca.VERTICALS_SUB_LOB,
rca.MISC_GROUP ,
fp.gl_date,
fp.pjr_wow_rate ,
fp.created_by,
fp.created_on,
NVL(fp.TOTAL_FUNDING,0) TOTAL_FUNDING,
NVL(fp.INCEPTION_TO_BURN,0) INCEPTION_TO_BURN,
NVL(fp.AVAILABLE_FUNDING,0) AVAILABLE_FUNDING,
NVL(fp.FORECAST_AMT,0) FORECAST_AMT,
cust.pop_date,
fp.COMMENTS_WOW_PROJ,
fp.COMMENTS_PAPER_CONFIRM,
rep.LOOKUP_CODE,
rep.NAC_SORTING1,
fp.ACTION_TO_CLOSE,
NVL(fp.NEGATIVE_BACKLOG,0) NEGATIVE_BACKLOG,
fp.SALES_REP,
fp.FORECAST_DATE,
pca.NAC_RES_TYPE_3,
rca.NAC_RES_TYPE_3
FROM FACT_PJR fp,
COSTCENTER_ATTRIBUTES pca ,
COSTCENTER_ATTRIBUTES rca,
wb_customer_lookups cust,
XXAPX_LOOKUPS rep
WHERE fp.revenue_cc = pca.LEAF_CC(+)
AND fp.RESOURCE_COST_CENTER = rca.LEAF_CC(+)
AND fp.project_number = cust.project_number(+)
AND fp.REPORT_ADJ2 = rep.VALUE(+)
AND rep.LOOKUP_TYPE = 'NAC_WB_PHASE2';'
Edited by: 859267 on May 3, 2012 11:51 AMPlease edit your post and surround the code with code tags. See 'Are there any useful formatting options not shown on the sidebar?' in the FAQ.
Also provide your 4 digit Oracle version (result of SELECT * FROM V$VERSION). -
Refreshing Materialized view from APEX process is causing errors
Hi,
I have created a materialized view, and am attempting to create a process in APEX to refresh the mview on a button click.
I have been reading the documentation on Materialized Views and think I am more confused now than when I started.
Do I need to add my mview to a refresh group to enable me to use the DBMS_REFRESH.REFRESH command from an APEX process?
I have had a few attempts at getting it working, but to no avail yet.
Any help would be appreciated.
Cheers, GregSnowman wrote:
Hi,
I have created a materialized view, and am attempting to create a process in APEX to refresh the mview on a button click.
I have been reading the documentation on Materialized Views and think I am more confused now than when I started.
Do I need to add my mview to a refresh group to enable me to use the DBMS_REFRESH.REFRESH command from an APEX process?What error are you getting? -
What are CREATOR and REGISTRAR in the V$ARCHIVED_LOG view?
Environment: Oracle 11.2.0.3 EE on Solaris 10.5
I'm not sure exactly where this question belongs since it deals with database processes, RMAN and Data Guard all in one so I'll start here and see where it takes me.
I have a Data Guard environment set up with 1 primary and 1 standby. I am running some queries against the V$ARCHIVED_LOG view to understand the view so I can better monitor the archive log activity between the databases.
I have read the documentation but am still confused over a couple of things:
1- What is the FGRD process and how can it write archive logs as seen in the CREATOR column of the view looking from the primary side? I thought only the ARCn process could do that.
2- On the standby side all the logs have LGWR as the CREATOR which makes sense since, as I understand it, the LGWR process on the primary is sending the log files to the standby via SQL*Net. I realize this is not a question. :-)
3- The documentation for the view shows RMAN as a possible value for the CREATOR column. How and where does RMAN create an archive log file?
4- Finally, for now, what is the meaning of the REGISTRAR column? What exactly is it registering since we already know the source (CREATOR), status and whether the log has been archived, applied and deleted.
Thanks very much for any light you can shed in my darkness.
-garygarywicke wrote:
Environment: Oracle 11.2.0.3 EE on Solaris 10.5
I'm not sure exactly where this question belongs since it deals with database processes, RMAN and Data Guard all in one so I'll start here and see where it takes me.
I have a Data Guard environment set up with 1 primary and 1 standby. I am running some queries against the V$ARCHIVED_LOG view to understand the view so I can better monitor the archive log activity between the databases.
I have read the documentation but am still confused over a couple of things:
1- What is the FGRD process and how can it write archive logs as seen in the CREATOR column of the view looking from the primary side? I thought only the ARCn process could do that.I thinks its the RFS process, when its writes directly to archivelog files when standby redolog are not available and LGWR on standby wait for its confirmation. Thats why acting as forground process.
>
2- On the standby side all the logs have LGWR as the CREATOR which makes sense since, as I understand it, the LGWR process on the primary is sending the log files to the standby via SQL*Net. I realize this is not a question. :-)
3- The documentation for the view shows RMAN as a possible value for the CREATOR column. How and where does RMAN create an archive log file?It might be when you explicitly register archivelog with "REGISTER" command.
>
4- Finally, for now, what is the meaning of the REGISTRAR column? What exactly is it registering since we already know the source (CREATOR), status and whether the log has been archived, applied and deleted.
This might be because archivelog file can be generated from other resource i.e either from RFS or by registering with RMAN command REGISTER.
>
Thanks very much for any light you can shed in my darkness.
-gary
Maybe you are looking for
-
hello! i went to the Genius Bar and they told me my logic board needed to be replaced on my old white macbook 13". however, i need to get my data and information from my old macbook but my old macbook won't turn on. i was told by Genius Bar that the
-
How to move phones from one CUCM server to another?
How easy is it to migrate IP phones from one CUCM server to another? The situation is this: A vessel currently sitting in dry dock has 14 IP phones onboard which currently register with a CUCM server half way round the world (literally). As you can i
-
I started seeing this kind of errors in sql logs after i moved databases to this server The activated proc '[SQLDependency].[SqlQueryNotificationStoredProcedure-9c377656-a13c-4732-a5a2-177bbc45c565]' running on queue 'EmailValidator.SQLDependency.Sq
-
How to connect to wifi with ios6?
Neither my iPhone or iPad will work after the software install. Any ideas?
-
How do I get rid of this stupid Yahoo toolbar that just appeared on my browser?
Downloaded new Firefox browser and was delighted to see such a treamline header without all the tool bar stuff. When I opened Firefox this morning, lo and behold, this stupid Yahoo tool bar appears. How do I get rid of this junky add-on?