Hi,
I changed the condition to use CREATED_ON col which is the partition key rather than DOC_DT and the query didn't do a scan on all partitions.
AND CREATED_ON BETWEEN ADD_MONTHS(TO_DATE(:P_YEAR,'YYYY'), -11) AND ADD_MONTHS(TO_DATE(:P_YEAR,'YYYY'), 1)-1
Hi,
I have written this query for a partitioned table and what I get is that it scans all the partitions, why is this so?
SELECT COUNT(trn_no)
FROM TRANSACTIONS
WHERE ORG_CODE = :P_ORG_CODE
AND DOC_DT BETWEEN ADD_MONTHS(TO_DATE(:P_YEAR,'YYYY'), -11) AND ADD_MONTHS(TO_DATE(:P_YEAR,'YYYY'), 1)-1...
hi,
I get this error ora-000936, missing expression, when I run this insert statement:
INSERT INTO MENU_USER
( MENU_ID, GROUP_ID, PI, PU, PD, CR_DTE, CR_USER_ID, UPD_DTE, UPD_USER_ID)
VALUES
(
SELECT MENU_ID, 'CODE2', 'Y', 'Y', 'Y', SYSDATE, 'ALEX', NULL, NULL
FROM MENUS B
WHERE B.MENU_ID =...
Have simulated my steps on a test system but the case where no data is returned by the statement doesnt recurr. Have appended the spool:
SQL> select count(A.TAB_TD_SYS_ID)
2 from TAB_OS B,
3 TAB_os A, TAB_CUR_TRANS_DETAIL G
4 where G.TD_FLEX_02 = 'value1'
5 AND G.TD_FLEX_05 = 'B'...
the sequence is
a) ran a select on some data n it returned some data
b) created the index
c) ran the same select as a) and it returned no data
d) dropped the index
e) ran the same select as a) and it returned data
Dagon,
There's no error message. I noticed there was something wrong when a Select statement I ran before adding the index didnt return any value. The Statement return values later after removing the index.
Hi,
I added an extra index to a table however data inserted into the table can't be retrieved. There was already an unique index present. The index created is nonunique, could this be the reason?
I reformated a report with the result that its now faster and the message box for report's progress doesn't show the "Page break at next page" button anymore. Is there anyway it can be brought back.
I have been requested by a user so that they can generate delimited files on a page by page...
Hi,
I'm using reports 6i. I have a query with a formula column that I use to get values. The formula column has atleast 4 cursors and is used to update a place holder within the same group.
[ main query ]
|
[ Column 1 ]
[ Column 2 ]
[ Placeholder1]
[ formula column]
[ ...
Had the same problem: thread259-1074710
I reported that it was as a result of using an older version of rpt2xls. Check ur version of rpt2xls. Got mine from http://www.geocities.com/oranails/reports/rpt2xls.htm
Another thing to check is where u place ur formatting code. Avoid placing the code...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.