Case in SQL condition does not return the values as expected
Hello gurus of PL/SQL,.SELECT amd.brkr_nm, amd.brkr_sym, AMD.MINORITY_FLG, atdf.comm_brkr_dim_key, atdf.exec_brkr_dim_key,
WHEN atdf.COMM_BRKR_DIM_KEY = AMD.ACCESS_METHOD_DIM_KEY - CASE THEN
WHEN AMD BOX. MINORITY_FLG = 'Y' THEN
CASE WHEN atdf.EXEC_BRKR_DIM_KEY = atdf.COMM_BRKR_DIM_KEY THEN 'Done' ELSE 'InDirected.
END
ANOTHER "NA".
END
ELSE ' 0'
END
AS Direction_Method
Of
alloc_tran_det_fact atdf,
ACCESS_METHOD_DIM AMD
But it returns me the 0 value in the Direction_Method field. But when I checked the values in DB then my first condition (atdf.COMM_BRKR_DIM_KEY = AMD.ACCESS_METHOD_DIM_KEY)
second condition (AMD. MINORITY_FLG = 'Y') and third (atdf.EXEC_BRKR_DIM_KEY = atdf.COMM_BRKR_DIM_KEY) condition of all them have passed, then it should show the value as indicated, but it is shwoing the '0' value only in the Direction_Method column.
Kindly help me.. .am I missing something?
I use Oracle Database 11 g Enterprise Edition Release 11.2.0.2.0 - 64 bit Production. I can't create the test data in the database, I did not have the required privileges to make :(
Kindly help me, thnanks in advance for your time and your comments
Published by: user555994 on May 24, 2012 02:00
could be a space or case (upper or lower case). Try:
/* Formatted on 2012/05/24 16:00 (Formatter Plus v4.8.8) */
SELECT amd.brkr_nm, amd.brkr_sym, amd.minority_flg, atdf.comm_brkr_dim_key, atdf.exec_brkr_dim_key,
CASE
WHEN trim(upper(atdf.comm_brkr_dim_key)) = trim(upper(amd.access_method_dim_key))
THEN CASE
WHEN trim(upper(amd.minority_flg)) = 'Y'
THEN CASE
WHEN trim(upper(atdf.exec_brkr_dim_key)) = trim(upper(atdf.comm_brkr_dim_key))
THEN 'Directed'
ELSE 'InDirected'
END
ELSE 'NA'
END
ELSE '0'
END AS direction_method
FROM alloc_tran_det_fact atdf, access_method_dim amd
Tags: Database
Similar Questions
-
PC Windows 7 does not return the document or the printed page
I had a setting for this in XP control but can't find the page, that I got it.
This occurs in AN application, or a browser. I print from a workbook Excel specific, for example, when I have a number of them opens. The system does not return the workbook that I printed. It's maddening and causes all sorts of questions. Searching the Web for this instant product nothing and I know I can't be the only person who saw this.
It is a platform of Windows 7 in a commercial network environment. I use the snap Menu Addintools classic because I can't stand the Ribbon and never loved. In Windows 7, I run a couple of other supplements that restore the XP the taskbar properly use, so you can work efficiently.
None of the supplements are causing this problem because I was running the same classic Menu Add-in in the XP box and he had the same problem until I found workaround that I don't remember now.
Everyone knows about this problem?
Jeff Lynch
Hello Jeff,.
Please contact the Microsoft community.
As the Windows 7 computer is under the corporate network environment, the issue that you are facing is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public.
Please post your question in the TechNet Forum.
Hope the information above has been a useful answer, Mercia back to us if you respect them more.
-
APEX_ITEMS does not store the value in the SESSION after the validation error
Hello
I'm build dynamically using APEX_ITEMS, but it does not keep the value when the page is submitted and the validation error occurs. Here are the following steps that I am following.
When I enter SUE (more than 8 characters), SUBMIT, validation fails and the error is displayed on the page (which is fine)
BUT it does not keep SUE value (which I got) and filled with the old value which is ABC.
WHY it does not keep the value that the user entered (even as the normal Page items)
Region PL\SQL
Validation (function returning the error text)declare v_value varchar2(20); begin v_value := 'ABC'; htp.p(apex_item.text(7,v_value)); end;
DECLARE v_count number; v_value varchar2(50); v_value1 number; BEGIN v_value := apex_application.g_f07(1); select length(v_value) into v_value1 from dual; if v_value1 > 8 then return 'Field must have less than 9 character'; ELSE return null; END IF; END;
You use collections if you want the State to show if, after a validation error. Unfortunately, this is the case if you do not use the normal tabular forms.
Denes Kubicek
-------------------------------------------------------------------
http://deneskubicek.blogspot.com/
http://www.Apress.com/9781430235125
https://Apex.Oracle.com/pls/Apex/f?p=31517:1
http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
------------------------------------------------------------------- -
Hi there... How can I sort this problem as this message looks back constantly on google Account... ERROR POSSIBLE WITH GWT. The value of time compilation agent MODULE XML FILE user (ie6) does not match the value of user.agent (ie8) run time
Hello nEve Adam,.
Thanks for the return of the response. Below, I've added some links Google support on this issue. I hope this helps.
ERROR: Problem Possible with your *. GWT.XML file module. The value of compile time user.agent (opera) does not match
http://www.Google.com/support/forum/p/blogger/thread?TID=2d6d9bd1326a07c4&hl=en
In addition,
Message from Web page
-
The value entered does not match the value in the field
I have a simple form on the page, a field callculates a percentage based on the values entered in 2 other fields, works very well, but then all the entries on the form generates this message "the entered value does not match the value in the field".
Also, you can remove a tab stop of the fields?
Just happened again.
-
% ROWCOUNT SQL does not return the expected result
I have the following function within a package:
--Update APPERY_JTI_deleted_USERS table: FUNCTION fn_updt_app_jti_dlt_usr( p_update_co IN VARCHAR2, p_appery_user_id IN APPERY_JTI_deleted_USERS.appery_user_id%TYPE, p_outlet_code IN APPERY_JTI_deleted_USERS.outlet_code%TYPE) RETURN NUMBER AS lv_sql VARCHAR2(4000); lv_rowcount NUMBER := 0; BEGIN lv_sql := 'UPDATE APPERY_JTI_deleted_USERS SET '||p_update_co||' = 1 WHERE '||p_update_co||' = 0 AND OUTLET_CODE = '''||p_outlet_code||''' AND APPERY_USER_ID = '''||p_appery_user_id||''''; --EXECUTE IMMEDIATE lv_sql; EXECUTE IMMEDIATE 'BEGIN ' || lv_sql || '; :z := sql%rowcount; END; ' USING OUT lv_rowcount ; RETURN lv_rowcount; EXCEPTION WHEN OTHERS THEN RETURN -1; END fn_updt_app_jti_dlt_usr;
The function called several times as part of a job. Basically, the main function (Say M), call a few functions (for example A1... A9). Each of these functions is to do something and updated the application using the above function. Therefore, each of the nine functions will call the above function with different parameters.
The problem that I am facing is:
First run, invoke only first of all for the above function will return the positive result ($sql rowcount > 0). When I run M the second time, only first and second calls for the above function will be to return positive results and so on.
How odd, it's that if I change the values again and run a function M, it will start from the beginning. And what strange more, the dynamic update statement is executed correctly and data are updated successfully. It's just sql rowcount % do not return is not the expected results.
I tried to run execute immediately without (begin, end). I also tried to run it without HELP ON. It's always the same. I'm really confused, what Miss me here.
I don't know if this is relevant. But for what it's worth, invoking the function above updates the SAME lines in the table appery_jti_deleted_users that the columns are different. So for all the work, the same lines need to be updated. Each function (A1... A9) will call the above function to update a different column of these lines.
If you REALLY want to help you having US SHOW, not tell us:
1. WHAT you do
2. HOW to
3. WHAT results you get
4. WHAT results you expect to get
First run, invoke only first of all for the above function will return the positive result ($sql rowcount > 0). When I run M the second time, only first and second calls for the above function will be to return positive results and so on.
How odd, it's that if I change the values again and run a function M, it will start from the beginning. And what strange more, the dynamic update statement is executed correctly and data are updated successfully. It's just sql rowcount % do not return is not the expected results.
Perhaps that the foregoing is true and maybe he's not. We have NO WAY of knowing because you don't SHOW US anything.
I tried to run execute immediately without (begin, end). I also tried to run it without HELP ON. It's always the same.
Yet once you showed us NOTHING >
You do NOT FOLLOW best practices when you use dynamic sql statements: the sql statement real so that you can print:
1 SEE what's running - make sure there are no syntax errors, and it seems to be what you wanted
2 EXECUTE/TEST manually - to see if he really runs without error and see what results it really give.
3. FIX any syntax or other problems and retest it
Instrument properly your code and you won't have the problems you are having.
You should know by now what are the parameters are transmitted when you run the function. So, there are at least three sets of these parameters.
So you should be able to:
1 run the instrumented manually function three times
2. see that all three SQL statements are
3 manually run these instructions
4. see that the number of lines is after each execution
We have no idea of what the output of the function is every time you call it. Apparently, you have, if you save the results of the function somewhere, but you didn't post any of this info.
We need real details to help you - just listen to your story is not enough.
-
Edit event managed by this case in LabVIEW 2013 shows not specifiers of the event, Event Sources and events on screen resolution 800 x 600.
As far as I know, the list of supported resolutions is determined solely by the graphics card. It is possible that one used by the PC supports only 800 x 600 as maximum resolution, even if you plug an external monitor.
Like Dennis suggested, the recommended option would probably be to develop on another PC and only deploy an executable for the industrial PC. That's what we do with our systems (although not because of this problem, but because it makes sense. There absolutely no need to have the IDE installed in most of our systems).
Other options:
- See if you can get an update of the driver from the manufacturer to solve this problem.
- Plug a USB Monitor with its own driver.
- Try to hide the taskbar and make the smaller title bar in the hope that the bug manifests.
- Try remote access in the PC. I think that some remote access programs allow you to specify custom resolutions that are not affected by the original drivers. Remote Desktop seems to be a likely this option even if it has been awhile since I've used it.
- Check the BIOS. I saw at least one industrial PC where there was some settings in the BIOS to control the resolution, but I don't remember the details, and it was quite limited. I think that in this case, you can change the resolution, but then the image does not fill the entire screen.
-
My pl/sql codes does not in the express edition, which can do?
pls help me my pl/sql codes does not work in oracle 10g express edition, which can do? pls help me.You must open a window for cmd.exe with Windows Start menu, then run, and type: cmd.exe. The rest is in my previous message.
-
Oracle query of relay and access function call does not return the list
Thanks to aid in a previous post, I received, I created an oracle 10 g feature that returns the list after you run the sql code it contains. It works in oracle, using sql developer.
I need to have the list that he returned to see the place in MS Access via a relay request. It does not work so far. The string for connection etc is ok, I'm able to use passthrough queries to run sql strings correctly. But when I try to call the function through the request of relay and access initially nothing seems to happen (IE no list) and if I try to run again, there is an "ongoing call odbc error. Current operation cancelled "." There are only three records in the table. I'm missing something, someone can he spot?
The application of relay and looks like this
Select * from fn_testvalues of the double
Once that is running in oracle.
To create the test table and 2 functions below.
CREATE TABLE t_values (MyValue varchar2 (10));
Table created
INSERT INTO t_values)
SELECT 'Merced' c1 FROM dual UNION ALL
SELECT "Pixie" dual UNION ALL
SELECT "452" DOUBLE);
3 lines inserted
FUNCTION to CREATE or REPLACE RETURN NUMBER IS fn_isnum(p_val VARCHAR2)
n_val NUMBER;
BEGIN
n_val: = to_number (p_val);
RETURN 1;
EXCEPTION
WHILE OTHERS THEN
RETURN 0;
END;
/
Feature created
table test:
SELECT val, isnum fn_isnum (MyValue)
OF t_values;
VAL ISNUM
---------- ----------
Merced 0
Pixie 0
1 452
Now the function that is called in the application of relay:
create or replace function fn_testvalues
sys_refcursor is back
RC sys_refcursor;
Start
Open rc for
Select t_values.*, fn_isnum (MyValue) t_values IsNum;
Return (RC);
end fn_testvalues;Why not?
satyaki> satyaki>select * from v$version; BANNER ---------------------------------------------------------------- Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod PL/SQL Release 10.2.0.1.0 - Production CORE 10.2.0.1.0 Production TNS for Linux: Version 10.2.0.1.0 - Production NLSRTL Version 10.2.0.1.0 - Production Elapsed: 00:00:00.00 satyaki> satyaki> satyaki>create or replace view bb 2 as 3 select * 4 from emp; View created. Elapsed: 00:00:00.00 satyaki> satyaki> satyaki>select * from bb; EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO JOB1 DOB ---------- ---------- --------- ---------- --------- ---------- ---------- ---------- --------- ---- 7521 WARD SALESMAN 7698 22-FEB-81 226.88 500 30 SALESMAN 7654 MARTIN SALESMAN 7698 28-SEP-81 1815 1400 30 SALESMAN 7788 SCOTT ANALYST 7566 19-APR-87 598.95 20 ANALYST 7839 KING PRESIDENT 17-NOV-81 7260 10 PRESIDENT 7844 TURNER SALESMAN 7698 08-SEP-81 2178 0 30 SALESMAN 7876 ADAMS CLERK 7788 23-MAY-87 159.72 20 CLERK 7900 JAMES CLERK 7698 03-DEC-81 1379.4 30 CLERK 7902 FORD ANALYST 7566 03-DEC-81 5270.76 20 ANALYST 7934 MILLER CLERK 7782 23-JAN-82 1887.6 10 CLERK 7566 Smith Manager 7839 23-JAN-82 1848 0 10 Manager 23-JAN-89 7698 Glen Manager 7839 23-JAN-82 1848 0 10 Manager 23-JAN-89 EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO JOB1 DOB ---------- ---------- --------- ---------- --------- ---------- ---------- ---------- --------- ---- 1 boock 12 rows selected. Elapsed: 00:00:00.00 satyaki> satyaki> satyaki>select * 2 from bb 3 where empno = &eno; Enter value for eno: 7521 old 3: where empno = &eno new 3: where empno = 7521 EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO JOB1 DOB ---------- ---------- --------- ---------- --------- ---------- ---------- ---------- --------- ---- 7521 WARD SALESMAN 7698 22-FEB-81 226.88 500 30 SALESMAN Elapsed: 00:00:00.00 satyaki> satyaki>
Kind regards.
LOULOU.
-
HypGetMemberInformation in VBA. Does not return the property values.
I tried to use HypGetMemberInformation in VBA to find the level of a member of the grid.
I continued to get zeros even for members who are not level 0 ones.
I went to test HypGetMemberInformation a test connected grid that has members in the first column (column A).
I packed a test routine I ran after you connect the grid manually:
Void TestMemberLevelFind()
Dim line As Integer
Dim MemberProperties Collection As
Dim vtMemberName As String
' Dim vtPropertyName As String
Dim vtPropertyValue As Long
Dim vtPropertyValueString As String
Dim ErrorCode as long
Dim ErrorMessage As String
Define MemberProperties = new Collection
MemberProperties.Add HYP_MI_NAME
MemberProperties.Add HYP_MI_DIM
MemberProperties.Add HYP_MI_LEVEL
MemberProperties.Add HYP_MI_GENERATION
MemberProperties.Add HYP_MI_PARENT_MEMBER_NAME
MemberProperties.Add HYP_MI_CHILD_MEMBER_NAME
MemberProperties.Add HYP_MI_PREVIOUS_MEMBER_NAME
MemberProperties.Add HYP_MI_NEXT_MEMBER_NAME
MemberProperties.Add HYP_MI_CONSOLIDATION
MemberProperties.Add HYP_MI_IS_TWO_PASS_CAL_MEMBER
MemberProperties.Add HYP_MI_IS_EXPENSE_MEMBER
MemberProperties.Add HYP_MI_CURRENCY_CONVERSION_TYPE
MemberProperties.Add HYP_MI_CURRENCY_CATEGORY
MemberProperties.Add HYP_MI_TIME_BALANCE_OPTION
MemberProperties.Add HYP_MI_TIME_BALANCE_SKIP_OPTION
MemberProperties.Add HYP_MI_SHARE_OPTION
MemberProperties.Add HYP_MI_STORAGE_CATEGORY
MemberProperties.Add HYP_MI_CHILD_COUNT
MemberProperties.Add HYP_MI_ATTRIBUTED
MemberProperties.Add HYP_MI_RELATIONAL_DESCENDANT_PRESENT
MemberProperties.Add HYP_MI_RELATIONAL_PARTITION_ENABLED
MemberProperties.Add HYP_MI_DEFAULT_ALIAS
MemberProperties.Add HYP_MI_HIERARCHY_TYPE
MemberProperties.Add HYP_MI_DIM_SOLVE_ORDER
MemberProperties.Add HYP_MI_IS_DUPLICATE_NAME
MemberProperties.Add HYP_MI_UNIQUE_NAME
MemberProperties.Add HYP_MI_ORIGINAL_MEMBER
MemberProperties.Add HYP_MI_IS_FLOW_TYPE
MemberProperties.Add HYP_MI_AGGREGATE_LEVEL
MemberProperties.Add HYP_MI_FORMAT_STRING
MemberProperties.Add HYP_MI_ATTRIBUTE_DIMENSIONS
MemberProperties.Add HYP_MI_ATTRIBUTE_MEMBERS
MemberProperties.Add HYP_MI_ATTRIBUTE_TYPES
MemberProperties.Add HYP_MI_ALIAS_NAMES
MemberProperties.Add HYP_MI_ALIAS_TABLES
MemberProperties.Add HYP_MI_FORMULA
MemberProperties.Add HYP_MI_COMMENT
MemberProperties.Add HYP_MI_LAST_FORMULA
MemberProperties.Add HYP_MI_UDAS
' For line 8 to 83 =
For row = 8-10
vtMemberName = ThisWorkbook.ActiveSheet.Cells (rank 1). Value
For each vtPropertyName in MemberProperties
Code of error = HypGetMemberInformation(ThisWorkbook.ActiveSheet.Name, vtMemberName, vtPropertyName, vtPropertyValue, vtPropertyValueString)
If ErrorCode = 0 Then
MsgBox _
"The worksheet name:" & ThisWorkbook.ActiveSheet.Name & Chr (13) & _ "."
"Member name:" & vtMemberName & Chr (13) & _ "."
"Property type:" & vtPropertyName & Chr (13) & _ "."
"Property value:" & vtPropertyValue & Chr (13) & _ "."
"The property string:" & vtPropertyValueString ".
On the other
ErrorMessage = GetReturnCodeMessage (ErrorCode)
MsgBox "SmartView API function HypGetMemberInformation returned an error message:" & Chr (13) & ErrorMessage, vbOKOnly, PrivateConnectionDescription
End If
Next
On the next row
End Sub
The routine produces no result expected.
Only of zeros.
For all properties and all members.
There must be something fundamentally wrong with my code.
The function arguments are correct with regard to the name of journal, the member name and property name.
Value of the property is always 0 and the property value string is always empty.
Two property value arguments are expected to be passed by reference, so I should get some useful information.
No error is generated so that the return error code is always 0.
I guess that some prerequisite so that this function is not satisfied, but what is?
Concerning
Problem solved.
The cause of all evil, as ususal, type mismatch...
Arguments by reference:
vtPropertyValue, vtPropertyValueString
must be declared as variants but returned it to the values are ARRAYS...
After the function call, to loop through these berries extract the real info returned!
In the case of unique value of parameters such as the level of Member just use index 0, for example:
vtPropertyValue (0)
The corrected code is less with parts modified trhe parked in Green:
Void TestMemberLevelFind()
Dim line As Integer
Dim index As Integer
Dim MemberProperties Collection As
Dim vtMemberName As String
Dim vtPropertyName As Variant
Dim vtPropertyValue As Variant
Dim vtPropertyValueString As Variant
Dim ErrorCode as long
Dim ErrorMessage As String
Define MemberProperties = new Collection
MemberProperties.Add HYP_MI_NAME
MemberProperties.Add HYP_MI_DIM
MemberProperties.Add HYP_MI_LEVEL
MemberProperties.Add HYP_MI_GENERATION
MemberProperties.Add HYP_MI_PARENT_MEMBER_NAME
MemberProperties.Add HYP_MI_CHILD_MEMBER_NAME
MemberProperties.Add HYP_MI_PREVIOUS_MEMBER_NAME
MemberProperties.Add HYP_MI_NEXT_MEMBER_NAME
MemberProperties.Add HYP_MI_CONSOLIDATION
MemberProperties.Add HYP_MI_IS_TWO_PASS_CAL_MEMBER
MemberProperties.Add HYP_MI_IS_EXPENSE_MEMBER
MemberProperties.Add HYP_MI_CURRENCY_CONVERSION_TYPE
MemberProperties.Add HYP_MI_CURRENCY_CATEGORY
MemberProperties.Add HYP_MI_TIME_BALANCE_OPTION
MemberProperties.Add HYP_MI_TIME_BALANCE_SKIP_OPTION
MemberProperties.Add HYP_MI_SHARE_OPTION
MemberProperties.Add HYP_MI_STORAGE_CATEGORY
MemberProperties.Add HYP_MI_CHILD_COUNT
MemberProperties.Add HYP_MI_ATTRIBUTED
MemberProperties.Add HYP_MI_RELATIONAL_DESCENDANT_PRESENT
MemberProperties.Add HYP_MI_RELATIONAL_PARTITION_ENABLED
MemberProperties.Add HYP_MI_DEFAULT_ALIAS
MemberProperties.Add HYP_MI_HIERARCHY_TYPE
MemberProperties.Add HYP_MI_DIM_SOLVE_ORDER
MemberProperties.Add HYP_MI_IS_DUPLICATE_NAME
MemberProperties.Add HYP_MI_UNIQUE_NAME
MemberProperties.Add HYP_MI_ORIGINAL_MEMBER
MemberProperties.Add HYP_MI_IS_FLOW_TYPE
MemberProperties.Add HYP_MI_AGGREGATE_LEVEL
MemberProperties.Add HYP_MI_FORMAT_STRING
MemberProperties.Add HYP_MI_ATTRIBUTE_DIMENSIONS
MemberProperties.Add HYP_MI_ATTRIBUTE_MEMBERS
MemberProperties.Add HYP_MI_ATTRIBUTE_TYPES
MemberProperties.Add HYP_MI_ALIAS_NAMES
MemberProperties.Add HYP_MI_ALIAS_TABLES
MemberProperties.Add HYP_MI_FORMULA
MemberProperties.Add HYP_MI_COMMENT
MemberProperties.Add HYP_MI_LAST_FORMULA
MemberProperties.Add HYP_MI_UDAS
' For line 8 to 83 =
For row = 8-10
vtMemberName = ThisWorkbook.ActiveSheet.Cells (rank 1). Value
For each vtPropertyName in MemberProperties
Code of error = HypGetMemberInformation (ThisWorkbook.ActiveSheet.Name, vtMemberName, vtPropertyName, vtPropertyValue, vtPropertyValueString)
If ErrorCode = 0 Then
If IsArray (vtPropertyValue) then
For index = LBound (vtPropertyValue) to UBound (vtPropertyValue)
MsgBox _
"The sheet name:" & ThisWorkbook.ActiveSheet.Name & Chr (13) & _ "."
"Member name:" & vtMemberName & Chr (13) & _ "."
"Property type:" & vtPropertyName & Chr (13) & _ "."
"Property" & index & "value table:" & vtPropertyValue (index) & Chr (13) & _
"Property" & index & "string array:" & vtPropertyValueString (index)
Next
On the other
MsgBox _
"The sheet name:" & ThisWorkbook.ActiveSheet.Name & Chr (13) & _ "."
"Member name:" & vtMemberName & Chr (13) & _ "."
"Property type:" & vtPropertyName & Chr (13) & _ "."
"Property value:" & vtPropertyValue & Chr (13) & _ "
"The property string:"& vtPropertyValueString"
End If
On the other
ErrorMessage = GetReturnCodeMessage (ErrorCode)
MsgBox "SmartView API function HypGetMemberInformation returned an error message:" & Chr (13) & ErrorMessage, vbOKOnly, PrivateConnectionDescription
End If
Next
On the next row
End Sub
Fortunately we can someone find this useful.
I wish documentation Oracle was a little clearer with more extensive code examples.
Gustaw
-
AWR SQL Report does not report the stats
AWR report only stats beyond a certain level? I have a statement select simple I know is running (executions of v$ sql increases), but when I run a report AWR SQL (awrsqrpt), it says "no data exists for this section of the report.
Snap Id Snap time Sessions Curs/Sess
--------- ------------------- -------- ---------
BEGIN Snap: 370936 10 June 15 07:00:24 856 36.1
End Snap: 370937 10 June 15 07:20:26 881 38.9
Elapsed time: 20.02 (mins)
DB time: 754.82 (min.)
Summary of SQL DB/Inst: CAMPRD/camprd snaps: 370936-370937
There is no data for this section of the report.
-------------------------------------------------------------
SQL ID: 84kfv4p500pgh DB/Inst: CAMPRD/camprd Snaps: 370936-370937
There is no data for this section of the report.
-------------------------------------------------------------
Full text of SQL
There is no data for this section of the report.
I ran the report on the last 4 days and reports
ORA-20025: SQL 84kfv4p500pgh ID does not exist for this database instance.
and yet, the executions of V$ SQL continues to increase
Thank you
Ian
CWA only captures statements considered to be Top N (DBA_HIST_WR_CONTROL. TOPNSQL)
You can use DBMS_WORKLOAD_REPOSITORY. ADD_COLORED_SQL sort AWR it will include
-
1.5.4 - SQL-spreadsheet SQL-Developer does not use the owner of the Table
In older versions of the sql developer, you can remove a table in the spreadsheet and was built a select query. With the new version 1.5.4 - owner of the table is ' % s ' and you must inform the owner of the table or the query does not work with tables of other users.
Is this a bug or is there the possibility to change the settings to delete tables in the SQL-worksheet with the owners of the table.You're DND from the node of the Table under the node of the other user? If so, I'm able to reproduce the problem you're talking about. Otherwise I still not got you problem clearly.
-
When I close the tab it does not return the last active tab
My English is not very good, so I'm sorry about that. I want to return last active tab when I close a tab.
Example; I use 2. tab, then I spend 4. tab, then close it. Firefox goes to 5. tab, not 2. I did a google search, but I can't find anything useful.OK, I tried the ' tab mix more ', it has the option "return selected the last tab" when closing tab, it works, but he also broke something. When I open a link in a new tab by currently tab, it opens right into the stack tab. I checked if "browser.tabs.selectOwnerOnClose" is changed to about: config, but it is not changed, its value is true (the default). The addon made it's ineffective, I think.
So I'll try to find another addon. (open to suggestions) -
Key to the left of the URL does not return the Save password.
I read a lot of discussions and pages on Firefox recording not passwords. I do not have 'private browsing '. I have cookies and history recorded "until they expire". I checked "save passwords". I don't have any exceptions.
When I go to enter a password, no small window opens asking me to save it. However, a little _does_ keys appear. But the key is grayed out and clicking on it does nothing. This isn't 'show' password saver.
I disabled all add-ons, restarted and tried again. It was always the same. The sites are those that work perfectly on my desktop computer, but not on my laptop. The laptop is one that won't save passwords.
It's a Samsung running Windows 7.
If this does not work in mode without failure, then disable all extensions and then try to find out who is the cause by allowing both the problem reappears.
- Choose "Disable all add-ons" on issues to troubleshoot Firefox in Safe Mode to set window to disable all extensions.
- Close and restart Firefox after each change through "file > exit ' (Mac: ' Firefox > leave";) Linux: "file > exit ')
-
Call.phoneNumber () does not return the phone number
I try to use the new method Call.phoneNumber () which was introduced in 10.3:
Even if I added the permission of read_phonecall_details according to the documentation, I'm still not received the phone number of outgoing calls placed on the device. The call to Call.phoneNumber () returns an empty string.
I use the Simulator to 10.3 (10.3.0.698) with Momentics 2.1 and placing me calls using the controller.
Someone managed to get the phone number? Any ideas on how to make this work would be appreciated.
It is a known problem in the Simulator, but works fine on a real device. The bug appeared in Issue Tracker here: Call.phoneNumber () always returns a null in the Simulator
Maybe you are looking for
-
Hello I have a problem when I want to update BIOS. Download new version of BIOS update app but when I install not start the application. I try run as admin and still does not work. Thank you
-
HP8620 - or show me how to log-in to EWS or how to reset
Well, after several years of this machine works well, all sorts of weird things now. It may have started when a machine of the NW wireless went to 10 Windows... it's the only thing I can think of. In any case, scanning is no longer works, it shows
-
To always have permission issues
After spending 2 hours searching the Internet for solutions to my permissions problems, I think I can have solved (for now). After restarting my pc, there is "random" desktop shortcuts icons have changed to a few white block with what looks like an o
-
Aero does not work! Need help!
I recently installed windows 7 on my Sony Vaio Model # SVE14112FXW who had 7 Windows installed Home Basic Edition!I downloaded and installed all the drivers need for this! Its a graphics card Intel HD based computer laptop, it allows to view the prop
-
Secure Socket policy file problems
OK, it's a little odd. History: the site is internal - so rather than a second IP address to manage the socket connections, we use port 8088. We also both a connection secured and unsecured.I wrote two simple java socket servers to meet the demands